pushback.xml 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. <?xml version='1.0' encoding='UTF-8' ?>
  2. <system name="pushback">
  3. <property>sim/model/pushback/target-speed-fps</property>
  4. <channel name="Pushback">
  5. <switch name="systems/pushback/linked">
  6. <default value="-1"/>
  7. <test value="0">
  8. sim/model/pushback/position-norm gt 0.95
  9. gear/gear/wow == 1
  10. gear/unit[0]/wheel-speed-fps lt 50
  11. </test>
  12. </switch>
  13. <summer name="systems/pushback/speed-error">
  14. <input>sim/model/pushback/target-speed-fps</input>
  15. <input>-gear/unit[0]/wheel-speed-fps</input>
  16. </summer>
  17. <pid name="systems/pushback/force">
  18. <input>systems/pushback/speed-error</input>
  19. <kp>sim/model/pushback/kp</kp>
  20. <ki>sim/model/pushback/ki</ki>
  21. <kd>sim/model/pushback/kd</kd>
  22. <trigger>systems/pushback/linked</trigger>
  23. <output>sim/model/pushback/force</output>
  24. </pid>
  25. <switch name="systems/pushback/force-output">
  26. <default value="0"/>
  27. <test value="systems/pushback/force">
  28. systems/pushback/linked == 0
  29. </test>
  30. <output>external_reactions/pushback/magnitude</output>
  31. </switch>
  32. </channel>
  33. </system>