dragchute.xml 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. <?xml version='1.0' encoding='UTF-8' ?>
  2. <system name="dragchute">
  3. <property>sim/model/dragchute/target-speed-fps</property>
  4. <channel name="Dragchute">
  5. <switch name="systems/dragchute/linked">
  6. <default value="-1"/>
  7. <test value="0">
  8. sim/model/dragchute/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/dragchute/speed-error">
  14. <input>sim/model/dragchute/target-speed-fps</input>
  15. <input>-gear/unit[0]/wheel-speed-fps</input>
  16. </summer>
  17. <pid name="systems/dragchute/force">
  18. <input>systems/dragchute/speed-error</input>
  19. <kp>sim/model/dragchute/kp</kp>
  20. <ki>sim/model/dragchute/ki</ki>
  21. <kd>sim/model/dragchute/kd</kd>
  22. <trigger>systems/dragchute/linked</trigger>
  23. <output>sim/model/dragchute/force</output>
  24. </pid>
  25. <switch name="systems/dragchute/force-output">
  26. <default value="0"/>
  27. <test value="systems/dragchute/force">
  28. systems/dragchute/linked == 0
  29. </test>
  30. <output>external_reactions/dragchute/magnitude</output>
  31. </switch>
  32. </channel>
  33. </system>