paparazzi.xml 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. <?xml version="1.0"?>
  2. <mavlink>
  3. <include>common.xml</include>
  4. <version>3</version>
  5. <enums>
  6. </enums>
  7. <messages>
  8. <!-- Messages specifically designated for the Paparazzi autopilot -->
  9. <message id="180" name="SCRIPT_ITEM">
  10. <description>Message encoding a mission script item. This message is emitted upon a request for the next script item.</description>
  11. <field type="uint8_t" name="target_system">System ID</field>
  12. <field type="uint8_t" name="target_component">Component ID</field>
  13. <field type="uint16_t" name="seq">Sequence</field>
  14. <field type="char[50]" name="name">The name of the mission script, NULL terminated.</field>
  15. </message>
  16. <message id="181" name="SCRIPT_REQUEST">
  17. <description>Request script item with the sequence number seq. The response of the system to this message should be a SCRIPT_ITEM message.</description>
  18. <field type="uint8_t" name="target_system">System ID</field>
  19. <field type="uint8_t" name="target_component">Component ID</field>
  20. <field type="uint16_t" name="seq">Sequence</field>
  21. </message>
  22. <message id="182" name="SCRIPT_REQUEST_LIST">
  23. <description>Request the overall list of mission items from the system/component.</description>
  24. <field type="uint8_t" name="target_system">System ID</field>
  25. <field type="uint8_t" name="target_component">Component ID</field>
  26. </message>
  27. <message id="183" name="SCRIPT_COUNT">
  28. <description>This message is emitted as response to SCRIPT_REQUEST_LIST by the MAV to get the number of mission scripts.</description>
  29. <field type="uint8_t" name="target_system">System ID</field>
  30. <field type="uint8_t" name="target_component">Component ID</field>
  31. <field type="uint16_t" name="count">Number of script items in the sequence</field>
  32. </message>
  33. <message id="184" name="SCRIPT_CURRENT">
  34. <description>This message informs about the currently active SCRIPT.</description>
  35. <field type="uint16_t" name="seq">Active Sequence</field>
  36. </message>
  37. </messages>
  38. </mavlink>