Howto:Implement a Fly-By-Wire System for Airliners: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
Line 1: Line 1:
{{Stub}}
{{Stub}}


Objective: Implement a [[Nasal]] based fly-by-wire system for Airliners with fly-by-wire and set configuration properties to get desired results.
Objective: Implement a [[Nasal]] and PID Controller based fly-by-wire system for Airliners with fly-by-wire and set configuration properties to get desired results.


== Background ==
== Background ==
Line 13: Line 13:
* FDM xml
* FDM xml


Note that as the new 787 uses JSBSim, this tutorial will focus on implementing the FBW to an aircraft running with JSBSim.
Note that as the new 787 uses JSBSim and the FBW has only been tested on JSBSim, but you can also use this on YASim FDMs.


== B787-8 Fly-By-Wire ==
== B787-8 Fly-By-Wire ==
Line 524: Line 524:
   </summer>
   </summer>
</syntaxhighlight>
</syntaxhighlight>
== YASim FDM ==
Replace '/controls/flight/aileron' with '/fdm/jsbsim/fcs/aileron-fbw-output', replace '/controls/flight/elevator' with '/fdm/jsbsim/fcs/elevator-fbw-output' and finally, replace '/controls/flight/rudder' with '/fdm/jsbsim/fcs/rudder-fbw-output'.
For Example, change
<syntaxhighlight lang="xml">
<control-input axis="/controls/flight/aileron" control="FLAP1" split="true"/>
</syntaxhighlight>
with this
<syntaxhighlight lang="xml">
<control-input axis="/fdm/jsbsim/fcs/aileron-fbw-output" control="FLAP1" split="true"/>
</syntaxhighlight>
You may be wondering why a /fdm/jsbsim/fcs property is called in a YASim FDM, so here's the answer. That is JUST THE PROPERTY, it has nothing to do with the FDM. As the FBW was built for a JSBSim aircraft, the properties were simply placed there.


== Configuration ==
== Configuration ==
449

edits

Navigation menu