python_array_test.xml 3.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. <?xml version="1.0"?>
  2. <!-- MESSAGE IDs 150 - 240: Space for custom messages in individual projectname_messages.xml files -->
  3. <mavlink>
  4. <include>common.xml</include>
  5. <messages>
  6. <message id="150" name="ARRAY_TEST_0">
  7. <description>Array test #0.</description>
  8. <field type="uint8_t" name="v1">Stub field</field>
  9. <field type="int8_t[4]" name="ar_i8">Value array</field>
  10. <field type="uint8_t[4]" name="ar_u8">Value array</field>
  11. <field type="uint16_t[4]" name="ar_u16">Value array</field>
  12. <field type="uint32_t[4]" name="ar_u32">Value array</field>
  13. </message>
  14. <message id="151" name="ARRAY_TEST_1">
  15. <description>Array test #1.</description>
  16. <field type="uint32_t[4]" name="ar_u32">Value array</field>
  17. </message>
  18. <message id="153" name="ARRAY_TEST_3">
  19. <description>Array test #3.</description>
  20. <field type="uint8_t" name="v">Stub field</field>
  21. <field type="uint32_t[4]" name="ar_u32">Value array</field>
  22. </message>
  23. <message id="154" name="ARRAY_TEST_4">
  24. <description>Array test #4.</description>
  25. <field type="uint32_t[4]" name="ar_u32">Value array</field>
  26. <field type="uint8_t" name="v">Stub field</field>
  27. </message>
  28. <message id="155" name="ARRAY_TEST_5">
  29. <description>Array test #5.</description>
  30. <field type="char[5]" name="c1">Value array</field>
  31. <field type="char[5]" name="c2">Value array</field>
  32. </message>
  33. <message id="156" name="ARRAY_TEST_6">
  34. <description>Array test #6.</description>
  35. <field type="uint8_t" name="v1">Stub field</field>
  36. <field type="uint16_t" name="v2">Stub field</field>
  37. <field type="uint32_t" name="v3">Stub field</field>
  38. <field type="uint32_t[2]" name="ar_u32">Value array</field>
  39. <field type="int32_t[2]" name="ar_i32">Value array</field>
  40. <field type="uint16_t[2]" name="ar_u16">Value array</field>
  41. <field type="int16_t[2]" name="ar_i16">Value array</field>
  42. <field type="uint8_t[2]" name="ar_u8">Value array</field>
  43. <field type="int8_t[2]" name="ar_i8">Value array</field>
  44. <field type="char[32]" name="ar_c">Value array</field>
  45. <field type="double[2]" name="ar_d">Value array</field>
  46. <field type="float[2]" name="ar_f">Value array</field>
  47. </message>
  48. <message id="157" name="ARRAY_TEST_7">
  49. <description>Array test #7.</description>
  50. <field type="double[2]" name="ar_d">Value array</field>
  51. <field type="float[2]" name="ar_f">Value array</field>
  52. <field type="uint32_t[2]" name="ar_u32">Value array</field>
  53. <field type="int32_t[2]" name="ar_i32">Value array</field>
  54. <field type="uint16_t[2]" name="ar_u16">Value array</field>
  55. <field type="int16_t[2]" name="ar_i16">Value array</field>
  56. <field type="uint8_t[2]" name="ar_u8">Value array</field>
  57. <field type="int8_t[2]" name="ar_i8">Value array</field>
  58. <field type="char[32]" name="ar_c">Value array</field>
  59. </message>
  60. <message id="158" name="ARRAY_TEST_8">
  61. <description>Array test #8.</description>
  62. <field type="uint32_t" name="v3">Stub field</field>
  63. <field type="double[2]" name="ar_d">Value array</field>
  64. <field type="uint16_t[2]" name="ar_u16">Value array</field>
  65. </message>
  66. </messages>
  67. </mavlink>