test.xml 1.5 KB

12345678910111213141516171819202122232425262728293031
  1. <?xml version="1.0"?>
  2. <mavlink>
  3. <version>3</version>
  4. <messages>
  5. <message id="0" name="TEST_TYPES">
  6. <description>Test all field types</description>
  7. <field type="char" name="c">char</field>
  8. <field type="char[10]" name="s">string</field>
  9. <field type="uint8_t" name="u8">uint8_t</field>
  10. <field type="uint16_t" name="u16">uint16_t</field>
  11. <field print_format="0x%08x" type="uint32_t" name="u32">uint32_t</field>
  12. <field type="uint64_t" name="u64">uint64_t</field>
  13. <field type="int8_t" name="s8">int8_t</field>
  14. <field type="int16_t" name="s16">int16_t</field>
  15. <field type="int32_t" name="s32">int32_t</field>
  16. <field type="int64_t" name="s64">int64_t</field>
  17. <field type="float" name="f">float</field>
  18. <field type="double" name="d">double</field>
  19. <field type="uint8_t[3]" name="u8_array">uint8_t_array</field>
  20. <field type="uint16_t[3]" name="u16_array">uint16_t_array</field>
  21. <field type="uint32_t[3]" name="u32_array">uint32_t_array</field>
  22. <field type="uint64_t[3]" name="u64_array">uint64_t_array</field>
  23. <field type="int8_t[3]" name="s8_array">int8_t_array</field>
  24. <field type="int16_t[3]" name="s16_array">int16_t_array</field>
  25. <field type="int32_t[3]" name="s32_array">int32_t_array</field>
  26. <field type="int64_t[3]" name="s64_array">int64_t_array</field>
  27. <field type="float[3]" name="f_array">float_array</field>
  28. <field type="double[3]" name="d_array">double_array</field>
  29. </message>
  30. </messages>
  31. </mavlink>