Board index FlightGear Development Aircraft

Sukhoi's SU-27 Flanker B (JSBSim FDM) developpement

Questions and discussion about creating aircraft. Flight dynamics, 3d models, cockpits, systems, animation, textures.

Re: Sukhoi's SU-27 Flanker B (JSBSim FDM) developpement

Postby yanes » Sat Oct 06, 2018 12:13 am

Hi, Josh , thanks for passing by ,
The remaining config in the Aeromatic FDM is just the definitions for control surfaces , the FCS is still basic but it's entirely coded by me , and yeah, there's a lot of work to be done there (in the SDU-10.xml in "systems" dir which is a Jsb defined system file for the FCS,
BTW ,can you recommend a data plotter for Linux that supports csv files logged from FG?
This'll be a huge help .
Thanks again,
Best regards
Yanes Bechir
User avatar
yanes
 
Posts: 117
Joined: Tue Sep 02, 2014 1:14 pm
Location: Tunisia
Callsign: YANES
Version: 2018.2.2
OS: Linux

Re: Sukhoi's SU-27 Flanker B (JSBSim FDM) developpement

Postby it0uchpods » Sat Oct 06, 2018 4:09 am

Hi Yanes,
I know, but you should remove this and replace this with one specific to your aircraft. The default aeromatic one is generic, and not specific to any craft. Swamp and I did this to the Jaguar, you make the controls proper into JSB, then you can just make the aerodynamics listen to this. This is the most realistic way to do this. If you have any questions, I can happy to answer them further.

Sorry, that I know not any one, I am using Windows. Maybe someone else knows the answer.

Kind Regards,
Josh
it0uchpods/WTF411

FGFS Aircraft Developer
Lead Programmer at it0uchpods Design Group
Download High Quality Aircraft from it0uchpods Hangar
User avatar
it0uchpods
 
Posts: 3567
Joined: Tue Oct 06, 2015 12:51 pm
Version: 2018.2.1
OS: Windows 10 x64

Re: Sukhoi's SU-27 Flanker B (JSBSim FDM) developpement

Postby Richard » Sat Oct 06, 2018 4:11 am

yanes wrote in Sat Oct 06, 2018 12:13 am:BTW ,can you recommend a data plotter for Linux that supports csv files logged from FG?


http://live-graph.sourceforge.net/ is what I use; its in Java
Richard
 
Posts: 616
Joined: Sun Nov 02, 2014 10:17 pm
Version: Git
OS: Win10

Re: Sukhoi's SU-27 Flanker B (JSBSim FDM) developpement

Postby wkitty42 » Sat Oct 06, 2018 4:14 pm

yanes wrote in Sat Oct 06, 2018 12:13 am:BTW ,can you recommend a data plotter for Linux that supports csv files logged from FG?

i don't know what you mean by "data plotter" but i simply use a spreadsheet tool to read the CSV file and make a chart of the data...
"You get more air close to the ground," said Angalo. "I read that in a book. You get lots of air low down, and not much when you go up."
"Why not?" said Gurder.
"Dunno. It's frightened of heights, I guess."
User avatar
wkitty42
 
Posts: 4745
Joined: Fri Feb 20, 2015 3:46 pm
Location: central NC, USA
Callsign: wk42
Version: git next
OS: Kubuntu 14.04.5

Re: Sukhoi's SU-27 Flanker B (JSBSim FDM) developpement

Postby yanes » Sun Oct 07, 2018 4:38 pm

Thanks , for your feedback & help guys , it's a such great motivation ,

it0uchpods wrote in Sat Oct 06, 2018 4:09 am:Hi Yanes,
I know, but you should remove this and replace this with one specific to your aircraft. The default aeromatic one is generic, and not specific to any craft.
Josh

90% of data are entered by me and customized to to su-27 aerodynamics , and measurements , the FDM is more "Aeromatish" in style than in data :lol: .
but , you are right , in anyways this FDM should be considered as "production ready " , it still a work in progress and will be altered in several ways ,
I will consider to entirely re-write it in a more stylish and organized way , thank you for pointing this out .

Richard wrote in Sat Oct 06, 2018 4:11 am:http://live-graph.sourceforge.net/ is what I use; its in Java

Thanks , it's a nice tool , this will help me tuning systems and reduce time and effort ,two thumbs up ! :)

wkitty42 wrote in Sat Oct 06, 2018 4:14 pm:i don't know what you mean by "data plotter" but i simply use a spreadsheet tool to read the CSV file and make a chart of the data...

Thanks for replying ,
spreadsheet tools allows to darw graphs that are a component of the table , so they are small in size (even if resizable within the window ) , and
doesnt seems to be a reliable tool ,

Best regards, Yanes
User avatar
yanes
 
Posts: 117
Joined: Tue Sep 02, 2014 1:14 pm
Location: Tunisia
Callsign: YANES
Version: 2018.2.2
OS: Linux

Re: Sukhoi's SU-27 Flanker B (JSBSim FDM) developpement

Postby it0uchpods » Sun Oct 07, 2018 9:57 pm

Hi Yanes. You don't understood what I said.

I do not mean aerodynamics. I am talking the FCS system. Lines 471 to 630 of Su-27K.xml

If you want, I can give you example.

Josh
it0uchpods/WTF411

FGFS Aircraft Developer
Lead Programmer at it0uchpods Design Group
Download High Quality Aircraft from it0uchpods Hangar
User avatar
it0uchpods
 
Posts: 3567
Joined: Tue Oct 06, 2015 12:51 pm
Version: 2018.2.1
OS: Windows 10 x64

Re: Sukhoi's SU-27 Flanker B (JSBSim FDM) developpement

Postby yanes » Sat Oct 13, 2018 3:55 pm

Hi , josh I really appreciate your interest , sorry for being late in my answers (I'm really busy these days , one of those few times in life we take big decisions affecting the rest of it ;) ).
Example ? Why not I will appreciate that and thanks in advance .
I will consider separating this part , and maybe rewriting it , thanks again .
Yanes
User avatar
yanes
 
Posts: 117
Joined: Tue Sep 02, 2014 1:14 pm
Location: Tunisia
Callsign: YANES
Version: 2018.2.2
OS: Linux

Re: Sukhoi's SU-27 Flanker B (JSBSim FDM) developpement

Postby legoboyvdlp » Sat Nov 10, 2018 12:27 pm

Nice plane:
one small bug:

z key in cockpit results in this:

Image
User avatar
legoboyvdlp
 
Posts: 5814
Joined: Sat Jul 26, 2014 1:28 am
Callsign: YV-LEGO
Version: 2018.3.1
OS: Windows 10 HP

Re: Sukhoi's SU-27 Flanker B (JSBSim FDM) developpement

Postby sidi762 » Sun Nov 11, 2018 3:52 pm

Hi,

Just to ask, do you have any plans to make the colored smoke to be available across multiplayer?

Best regards,
Sidi
sidi762
 
Posts: 87
Joined: Sat Jun 18, 2016 8:15 am
Callsign: DAG0762
Version: 2017.1.3
OS: MacOS Sierra

Re: Sukhoi's SU-27 Flanker B (JSBSim FDM) developpement

Postby sidi762 » Sun Nov 11, 2018 3:54 pm

legoboyvdlp wrote in Sat Nov 10, 2018 12:27 pm:Nice plane:
one small bug:

z key in cockpit results in this:

Image


Hey, I've just realized that it is, actually, a very nice screenshot!
sidi762
 
Posts: 87
Joined: Sat Jun 18, 2016 8:15 am
Callsign: DAG0762
Version: 2017.1.3
OS: MacOS Sierra

Re: Sukhoi's SU-27 Flanker B (JSBSim FDM) developpement

Postby yanes » Sun Nov 11, 2018 4:49 pm

This is intended to act this way , and cited in the su-27keyboard.pdf in the docs directory ,
I did it to allow devs getting better intuition about the flight path (especially with smoke generator pods) and allow users to enjoy watching the aerobatic manoeuvres and tight turns ,and as Sidi said ,you nicely proved it's benefits for taking screenshots.
Best regards ,
Yanes
User avatar
yanes
 
Posts: 117
Joined: Tue Sep 02, 2014 1:14 pm
Location: Tunisia
Callsign: YANES
Version: 2018.2.2
OS: Linux

Re: Sukhoi's SU-27 Flanker B (JSBSim FDM) developpement

Postby Alant » Sun Nov 11, 2018 5:32 pm

Regarding plotting of graphs, Gnuplot gives better results than spreadsheet.

A few years ago I revived a utilty named Jiff which was originally written by G Agostino and distributed with JSBSim. I hacked it so that it would find and plot all tables in my JSBSim fdm. The original only handled files which are close to the Aeromatic format and did not cope with some more JSBSim constructions.

Jiff takes as its input the xml FDM file, and produces data files which it sends to Gnuplot. (Gnuplot needs to be installed. ) I use Windows, but there is no reason why it should not work on any platform (e.g. Linux, Mac) that can run Gnuplot .

Please feel free to hack it further if it does not handle your own FDM, or you wish to improve it. I have left plenty of scope for this ;)

The git repo is at https://github.com/alanjt/Jiff.

It should be failrly self explanatory if you read the code.

One important constraint is that each table needs to have a <table name= "abcdef> definition, as this name is used to form the Gnuplot filenames.

e.g.
<function name="aero/coefficient/FlapBlowCoeffLimit">
<description>Flap Blowing Coefficient Limits</description>
<table name = "TableFlapBlowCoeffLim">
<independentVar lookup = "row">fcs/flap-pos-deg</independentVar>
<tableData>
15 0.0
20 0.0034
35 0.0088
50 0.015
</tableData>
</table>
</function>

Alan
Last edited by Alant on Sun Nov 11, 2018 5:52 pm, edited 1 time in total.
Alant
 
Posts: 749
Joined: Wed Jun 23, 2010 5:58 am
Location: Portugal
Callsign: Tarnish99
Version: from Git
OS: Windows 10

Re: Sukhoi's SU-27 Flanker B (JSBSim FDM) developpement

Postby legoboyvdlp » Sun Nov 11, 2018 5:35 pm

yanes wrote in Sun Nov 11, 2018 4:49 pm:This is intended to act this way , and cited in the su-27keyboard.pdf in the docs directory


yes - but would it be possible to disable in in cockpit view?
I had to switch to "over the shoulder view" to continue the flight

other than that, its a very nice aircraft :)
User avatar
legoboyvdlp
 
Posts: 5814
Joined: Sat Jul 26, 2014 1:28 am
Callsign: YV-LEGO
Version: 2018.3.1
OS: Windows 10 HP

Re: Sukhoi's SU-27 Flanker B (JSBSim FDM) developpement

Postby Tridson » Sun Nov 18, 2018 10:13 am

How do you turn on master arm in the plane?
How do you lock on a target?
How do you change weapons?
How does the radar actually work?
Tridson
 
Posts: 4
Joined: Mon Sep 03, 2018 2:41 pm
Location: Macedonia
Callsign: TRI0004
Version: 2018 2.2

Re: Sukhoi's SU-27 Flanker B (JSBSim FDM) developpement

Postby yanes » Sun Nov 18, 2018 9:05 pm

legoboyvdlp wrote in Sun Nov 11, 2018 5:35 pm:
yes - but would it be possible to disable in in cockpit view?
I had to switch to "over the shoulder view" to continue the flight

other than that, its a very nice aircraft :)


Thanks for pointing this out ,
I pushed some commits this evening,
It's now possible to reset your view distance by pressing 'capital Z' after updating the package by pulling from the repo or just download the "Systems/su-27-keyboard.xml and overwrite the old file.
Thank you very much for your feedback :wink: .
User avatar
yanes
 
Posts: 117
Joined: Tue Sep 02, 2014 1:14 pm
Location: Tunisia
Callsign: YANES
Version: 2018.2.2
OS: Linux

PreviousNext

Return to Aircraft

Who is online

Users browsing this forum: No registered users and 12 guests