pushback.xml 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. <?xml version='1.0' encoding='UTF-8' ?>
  2. <!--###################################################################################
  3. Lake of Constance Hangar :: M.Kraus
  4. Boeing 707 for Flightgear Septemper 2013
  5. This file is licenced under the terms of the GNU General Public Licence V2 or later
  6. ###################################################################################
  7. -->
  8. <system name="pushback">
  9. <property>/sim/model/pushback/target-speed-fps</property>
  10. <channel name="Pushback">
  11. <switch name="systems/pushback/linked">
  12. <default value="-1"/>
  13. <test value="0">
  14. /sim/model/pushback/position-norm gt 0.95
  15. /gear/gear/wow == 1
  16. gear/unit[0]/wheel-speed-fps lt 50
  17. </test>
  18. </switch>
  19. <summer name="systems/pushback/speed-error">
  20. <input>/sim/model/pushback/target-speed-fps</input>
  21. <input>-gear/unit[0]/wheel-speed-fps</input>
  22. </summer>
  23. <pid name="systems/pushback/force">
  24. <input>systems/pushback/speed-error</input>
  25. <kp>/sim/model/pushback/kp</kp>
  26. <ki>/sim/model/pushback/ki</ki>
  27. <kd>/sim/model/pushback/kd</kd>
  28. <trigger>systems/pushback/linked</trigger>
  29. <output>/sim/model/pushback/force</output>
  30. </pid>
  31. <switch name="systems/pushback/force-output">
  32. <default value="0"/>
  33. <test value="systems/pushback/force">
  34. systems/pushback/linked == 0
  35. </test>
  36. <output>external_reactions/pushback/magnitude</output>
  37. </switch>
  38. </channel>
  39. </system>