Howto:Implement pushback

From FlightGear wiki
Revision as of 18:40, 22 April 2009 by Gijs (talk | contribs) (New page: ===Systems/pushback.xml=== {{WIP}} Create the following directory, if not present: * <tt>$FG_ROOT/Aircraft/.../Systems</tt> <system name="mule"> <channel name="Mule"> <switch nam...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Systems/pushback.xml

WIP.png Work in progress
This article or section will be worked on in the upcoming hours or days.
See history for the latest developments.

Create the following directory, if not present:

  • $FG_ROOT/Aircraft/.../Systems
<system name="mule">
 <channel name="Mule">

  <switch name="systems/mule/linked">
   <default value="0"/>
   <test  logic="AND" value="1">
      /sim/model/mule/linked == 1
      fcs/cutoff-switch == 0
      /gear/gear[1]/compression-norm gt 0.15
   </test>
  </switch>

  <switch name="systems/mule/force">
   <default value="0"/>
   <test  logic="AND" value="/sim/model/mule/magnitude">
      systems/mule/linked == 1
      gear/unit[1]/wheel-speed-fps lt 500
   </test>
   <output>external_reactions/mule/magnitude</output>
  </switch>
 </channel>
</system>