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 » Sun Jan 29, 2017 10:17 pm

Salam FGers,
I just updated the Su-27SK with new improvements including :
* Fixed main instruments panel (new texture , instruments placements according to the technical sheets , some shaders ....) .
--> Better looking and visuals .
* Fixed wrong positions of left and right consoles panels .
* Some new instruments .
** Re-implemented FBW-FCS stabilizers in pitch and roll (Now uses PID controllers from Autopilot module). ===> (Experiments) Need test !
* Some other minor fixes .

Scrshots :
Image
Image
Image
I hope you like it .

Regards ,
Yanes Bechir .
User avatar
yanes
 
Posts: 135
Joined: Tue Sep 02, 2014 2:14 pm
Location: Tunisia
Callsign: YANES
Version: 2018.2.2
OS: Linux

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

Postby adam_one » Mon Jan 30, 2017 1:26 am

The canopy looks much better!
adam_one
 
Posts: 64
Joined: Tue Jan 05, 2016 3:41 pm
Version: alpha
OS: pirated

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

Postby yanes » Wed Feb 01, 2017 11:13 pm

thank you for commenting Adam , yes it was improved with some new textures & 3d mesh fixes ,

Please guys , I need a small help in translation from russian :
(Indeed I learned a lot of Russian language during the development process , but not yet capable to understand every thing );
Image
I need this in English , French or Arabic ,
Even if the voltmeters and other electical system instruments not yet modeled , I found that proceeding without sophisticated electrical system , is not a good Idea ,
User avatar
yanes
 
Posts: 135
Joined: Tue Sep 02, 2014 2:14 pm
Location: Tunisia
Callsign: YANES
Version: 2018.2.2
OS: Linux

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

Postby yanes » Tue Dec 12, 2017 1:58 am

New tutorial about various navigation systems :
I hope it's understandable since English is not my native language :D :D




the version 0.4 is released see Screenshots and links in the First Post

Or see them as album HERE .
User avatar
yanes
 
Posts: 135
Joined: Tue Sep 02, 2014 2:14 pm
Location: Tunisia
Callsign: YANES
Version: 2018.2.2
OS: Linux

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

Postby hardba11 » Wed Dec 13, 2017 9:04 pm

good job Yanes !
contribs: mirage2000-5, statics models - WIP: new aircraft - hobby: world tour in flightgear
hardba11
 
Posts: 166
Joined: Tue May 27, 2014 6:56 pm
Location: Paris - FR
Callsign: F-HRDB
Version: 2018.3.2
OS: debian

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

Postby yanes » Thu Dec 14, 2017 1:52 pm

Merci , c'est gentille ,
Glad you liked it ! :)
User avatar
yanes
 
Posts: 135
Joined: Tue Sep 02, 2014 2:14 pm
Location: Tunisia
Callsign: YANES
Version: 2018.2.2
OS: Linux

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

Postby yanes » Thu Dec 14, 2017 9:39 pm

Hi all ,
may be I need some help with the jsb fcs :
The FCS component need to limit the alpha in respect to/with velocity and altitude .
the jsb scheduled_gain component looks good but I have a difficulty writing the code ,
which prop in which place which one to compare with the data table , the JSBsim reference book doesnt pride enough data or examples ,
currently I wrote a pure_gain component which works fine at medium altitudes/airspeeds
this is my test :
Code: Select all
<!-- This is a test -->
   <scheduled_gain name="/fcs/SDU-10/pitch-limiter-gain2">
   <input>/orientation/alpha-deg</input>
   <gain>1</gain>
   <table>
   <independentVar>/velocities/airspeed-kt</independentVar>
   <tableData>
   300      0.01
   800      0.06
   1200   0.09
   </tableData>
   </table>
   <clipto>
   <min>-1</min>
   <max>1</max>
   </clipto>
   </scheduled_gain>


forgive my ignorance :oops: but the gain is what the component will produce, so what the table stand for ? :oops:
please help ,
Thanks in advance .
User avatar
yanes
 
Posts: 135
Joined: Tue Sep 02, 2014 2:14 pm
Location: Tunisia
Callsign: YANES
Version: 2018.2.2
OS: Linux

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

Postby Necolatis » Thu Dec 14, 2017 10:14 pm

The table will be multiplied on the gain. Most uses of scheduled gain does not use the <gain> (its optional), just the table.
"Airplane travel is nature's way of making you look like your passport photo."
— Al Gore
User avatar
Necolatis
 
Posts: 2233
Joined: Mon Oct 29, 2012 1:40 am
Location: EKOD
Callsign: Leto
IRC name: Neco
Version: 2020.3.19
OS: Windows 10

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

Postby Thorsten » Thu Dec 14, 2017 10:29 pm

the jsb scheduled_gain component looks good


I think you only ever need four tags to deal with JSBSim

* <fcs_function> the standard workhorse, allowing you to use calculations and tables to write a property
* <pid> which provides integral and differential equation capability
* <switch> which provides conditionals and
* <kinematic> which provides timers

All else is a special case or a combination of these tags, but if you can write it as an equation, you can write it with these tags.
Thorsten
 
Posts: 12490
Joined: Mon Nov 02, 2009 9:33 am

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

Postby Richard » Fri Dec 15, 2017 1:36 am

I started of using a lot of the built in functions such as pure_gain (etc.); now I just tend to use fcs_function as it does everything you need. It is a bit strange at first converting equations into XML but it's easy once you get the hang of it.

I just redid (but haven't tested) your scheduled_gain as an fcs_function.
Code: Select all
      <fcs_function name="/fcs/SDU-10/pitch-limiter-gain2">
          <function>
              <product>
                  <property>/orientation/alpha-deg</property>
                  <table>
                      <independentVar>/velocities/airspeed-kt</independentVar>
                      <tableData>
                          300      0.01
                          800      0.06
                          1200   0.09
                      </tableData>
                  </table>
              </product>
          </function>
          <clipto>
              <min>-1</min>
              <max>1</max>
          </clipto>
      </fcs_function>
Richard
 
Posts: 810
Joined: Sun Nov 02, 2014 11:17 pm
Version: Git
OS: Win10

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

Postby yanes » Sun Dec 17, 2017 8:08 pm

It worked finally :) ,
Now it limits the G to 9 max even at M2 .
Will be merged soon to the git repo.
Now I have the roll section , Typically, I should begin with roll-rate-degps , but trials and some calculs may change the direction .
Any recommendations or hints are appreciated.
Thanks in advance .
User avatar
yanes
 
Posts: 135
Joined: Tue Sep 02, 2014 2:14 pm
Location: Tunisia
Callsign: YANES
Version: 2018.2.2
OS: Linux

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

Postby yanes » Tue Sep 11, 2018 11:50 pm

Hi all ,
The su27sk package has been updated .
  • simulation FDM is improved based on some public documents ,
  • FCS almost re-written according to plots describing it's behavior (Improved pitch and roll stabilizers) ,
  • It now supports States Overlays for "Runway ready" and "Cruise" startup status great feature that our simulator offers .
  • New visual improvements : New textures rendered from detailed models in "Blender Cycles render".
    Cockpit canopy , HUD model & Pylons loads indicators
Image
Image

GOOD FLIGHT FOR EVERY BODY

Regards ,
Yanes Bechir
User avatar
yanes
 
Posts: 135
Joined: Tue Sep 02, 2014 2:14 pm
Location: Tunisia
Callsign: YANES
Version: 2018.2.2
OS: Linux

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

Postby sidi762 » Wed Sep 12, 2018 2:43 pm

Very nice plane. I can't stop flying it. Thank you for your work!
sidi762
 
Posts: 223
Joined: Sat Jun 18, 2016 9:15 am
Location: Beijing, China
Callsign: DAG0762
Version: 2020.3.18
OS: macOS Catalina

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

Postby yanes » Tue Oct 02, 2018 12:08 am

Glad you liked it , :) and sorry for being a bit late :wink:
Now you can enjoy the aircraft ready for takeoff using the state system in FG .
The HUD has been updated as well ,
I pushed some commits this evening, the HUD will use radar altitude below 1500m,And it's visuals improved .
You can now adjust HUD brightness using the cockpit konbs .
Best regards.
Yanes
User avatar
yanes
 
Posts: 135
Joined: Tue Sep 02, 2014 2:14 pm
Location: Tunisia
Callsign: YANES
Version: 2018.2.2
OS: Linux

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

Postby Octal450 » Fri Oct 05, 2018 8:13 pm

HI Yanes,
This a great plane, and I really enjoy it. However I have a suggestion:

I'd really like if you did remove the generic FCS from Aeromatic and implement the elevons and ailerons correctly, for better realism?

Josh
Skillset: JSBsim Flight Dynamics, Systems, Canvas, Autoflight/Control, Instrumentation, Animations
Aircraft: A320-family, MD-11, MD-80, Contribs in a few others

Octal450's GitHub|Launcher Catalog
|Airbus Dev Discord|Octal450 Hangar Dev Discord
User avatar
Octal450
 
Posts: 5583
Joined: Tue Oct 06, 2015 1:51 pm
Location: Huntsville, AL
Callsign: WTF411
Version: next
OS: Windows 11

PreviousNext

Return to Aircraft

Who is online

Users browsing this forum: No registered users and 12 guests