You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
222 lines
12 KiB
222 lines
12 KiB
<?xml version="1.0"?> |
|
<mavlink> |
|
<include>common.xml</include> |
|
|
|
<enums> |
|
<enum name="SLUGS_PID_INDX_IDS" > |
|
<description>Slugs parameter interface subsets</description> |
|
<entry name = "PID_YAW_DAMPER" value="2" /> |
|
<entry name = "PID_PITCH">With comment: PID Pitch parameter</entry> |
|
<entry name = "PID_ALT_HOLD" value="50" /> |
|
</enum> |
|
</enums> |
|
|
|
<messages> |
|
<message name="ATTITUDE_CONTROL" id="85"> |
|
<field name="target" type="uint8_t">The system to be controlled</field> |
|
<field name="roll" type="float">roll</field> |
|
<field name="pitch" type="float">pitch</field> |
|
<field name="yaw" type="float">yaw</field> |
|
<field name="thrust" type="float">thrust</field> |
|
<field name="roll_manual" type="uint8_t">roll control enabled auto:0, manual:1</field> |
|
<field name="pitch_manual" type="uint8_t">pitch auto:0, manual:1</field> |
|
<field name="yaw_manual" type="uint8_t">yaw auto:0, manual:1</field> |
|
<field name="thrust_manual" type="uint8_t">thrust auto:0, manual:1</field> |
|
</message> |
|
|
|
<message name="SET_CAM_SHUTTER" id="100"> |
|
<field name="cam_no" type="uint8_t">Camera id</field> |
|
<field name="cam_mode" type="uint8_t">Camera mode: 0 = auto, 1 = manual</field> |
|
<field name="trigger_pin" type="uint8_t">Trigger pin, 0-3 for PtGrey FireFly</field> |
|
<field name="interval" type="uint16_t">Shutter interval, in microseconds</field> |
|
<field name="exposure" type="uint16_t">Exposure time, in microseconds</field> |
|
<field name="gain" type="float">Camera gain</field> |
|
</message> |
|
|
|
<message name="IMAGE_TRIGGERED" id="101"> |
|
<field name="timestamp" type="uint64_t">Timestamp</field> |
|
<field name="seq" type="uint32_t">IMU seq</field> |
|
<field name="roll" type="float">Roll angle in rad</field> |
|
<field name="pitch" type="float">Pitch angle in rad</field> |
|
</message> |
|
|
|
<message name="IMAGE_TRIGGER_CONTROL" id="102"> |
|
<field name="enable" type="uint8_t">0 to disable, 1 to enable</field> |
|
</message> |
|
|
|
<message name="IMAGE_AVAILABLE" id="103"> |
|
<field name="cam_id" type="uint64_t">Camera id</field> |
|
<field name="cam_no" type="uint8_t">Camera # (starts with 0)</field> |
|
<field name="timestamp" type="uint64_t">Timestamp</field> |
|
<field name="valid_until" type="uint64_t">Until which timestamp this buffer will stay valid</field> |
|
<field name="img_seq" type="uint32_t">The image sequence number</field> |
|
<field name="img_buf_index" type="uint32_t">Position of the image in the buffer, starts with 0</field> |
|
<field name="width" type="uint16_t">Image width</field> |
|
<field name="height" type="uint16_t">Image height</field> |
|
<field name="depth" type="uint16_t">Image depth</field> |
|
<field name="channels" type="uint8_t">Image channels</field> |
|
<field name="key" type="uint32_t">Shared memory area key</field> |
|
<field name="exposure" type="uint32_t">Exposure time, in microseconds</field> |
|
<field name="gain" type="float">Camera gain</field> |
|
<field name="roll" type="float">Roll angle in rad</field> |
|
<field name="pitch" type="float">Pitch angle in rad</field> |
|
</message> |
|
|
|
<message name="VISION_POSITION_ESTIMATE" id="111"> |
|
<field name="usec" type="uint64_t">Timestamp (milliseconds)</field> |
|
<field name="x" type="float">Global X position</field> |
|
<field name="y" type="float">Global Y position</field> |
|
<field name="z" type="float">Global Z position</field> |
|
<field name="roll" type="float">Roll angle in rad</field> |
|
<field name="pitch" type="float">Pitch angle in rad</field> |
|
<field name="yaw" type="float">Yaw angle in rad</field> |
|
</message> |
|
|
|
<message name="VICON_POSITION_ESTIMATE" id="112"> |
|
<field name="usec" type="uint64_t">Timestamp (milliseconds)</field> |
|
<field name="x" type="float">Global X position</field> |
|
<field name="y" type="float">Global Y position</field> |
|
<field name="z" type="float">Global Z position</field> |
|
<field name="roll" type="float">Roll angle in rad</field> |
|
<field name="pitch" type="float">Pitch angle in rad</field> |
|
<field name="yaw" type="float">Yaw angle in rad</field> |
|
</message> |
|
|
|
<message name="POSITION_CONTROL_SETPOINT_SET" id="120"> |
|
<description>Message sent to the MAV to set a new position as reference for the controller</description> |
|
<field name="target_system" type="uint8_t">System ID</field> |
|
<field name="target_component" type="uint8_t">Component ID</field> |
|
<field name="id" type="uint16_t">ID of waypoint, 0 for plain position</field> |
|
<field name="x" type="float">x position</field> |
|
<field name="y" type="float">y position</field> |
|
<field name="z" type="float">z position</field> |
|
<field name="yaw" type="float">yaw orientation in radians, 0 = NORTH</field> |
|
</message> |
|
|
|
<message name="POSITION_CONTROL_OFFSET_SET" id="154"> |
|
<description>Message sent to the MAV to set a new offset from the currently controlled position</description> |
|
<field name="target_system" type="uint8_t">System ID</field> |
|
<field name="target_component" type="uint8_t">Component ID</field> |
|
<field name="x" type="float">x position offset</field> |
|
<field name="y" type="float">y position offset</field> |
|
<field name="z" type="float">z position offset</field> |
|
<field name="yaw" type="float">yaw orientation offset in radians, 0 = NORTH</field> |
|
</message> |
|
|
|
<!-- Message sent by the MAV once it sets a new position as reference in the controller --> |
|
<message name="POSITION_CONTROL_SETPOINT" id="121"> |
|
<field name="id" type="uint16_t">ID of waypoint, 0 for plain position</field> |
|
<field name="x" type="float">x position</field> |
|
<field name="y" type="float">y position</field> |
|
<field name="z" type="float">z position</field> |
|
<field name="yaw" type="float">yaw orientation in radians, 0 = NORTH</field> |
|
</message> |
|
|
|
<message name="MARKER" id="130"> |
|
<field name="id" type="uint16_t">ID</field> |
|
<field name="x" type="float">x position</field> |
|
<field name="y" type="float">y position</field> |
|
<field name="z" type="float">z position</field> |
|
<field name="roll" type="float">roll orientation</field> |
|
<field name="pitch" type="float">pitch orientation</field> |
|
<field name="yaw" type="float">yaw orientation</field> |
|
</message> |
|
|
|
<message name="RAW_AUX" id="141"> |
|
<field name="adc1" type="uint16_t">ADC1 (J405 ADC3, LPC2148 AD0.6)</field> |
|
<field name="adc2" type="uint16_t">ADC2 (J405 ADC5, LPC2148 AD0.2)</field> |
|
<field name="adc3" type="uint16_t">ADC3 (J405 ADC6, LPC2148 AD0.1)</field> |
|
<field name="adc4" type="uint16_t">ADC4 (J405 ADC7, LPC2148 AD1.3)</field> |
|
<field name="vbat" type="uint16_t">Battery voltage</field> |
|
<field name="temp" type="int16_t">Temperature (degrees celcius)</field> |
|
<field name="baro" type="int32_t">Barometric pressure (hecto Pascal)</field> |
|
</message> |
|
|
|
<message name="AUX_STATUS" id="142"> |
|
<field name="load" type="uint16_t">Maximum usage in percent of the mainloop time, (0%: 0, 100%: 1000) should be always below 1000</field> |
|
<field name="i2c0_err_count" type="uint16_t">Number of I2C errors since startup</field> |
|
<field name="i2c1_err_count" type="uint16_t">Number of I2C errors since startup</field> |
|
<field name="spi0_err_count" type="uint16_t">Number of I2C errors since startup</field> |
|
<field name="spi1_err_count" type="uint16_t">Number of I2C errors since startup</field> |
|
<field name="uart_total_err_count" type="uint16_t">Number of I2C errors since startup</field> |
|
</message> |
|
|
|
<message name="CONTROL_STATUS" id="143"> |
|
<field name="position_fix" type="uint8_t">Position fix: 0: lost, 2: 2D position fix, 3: 3D position fix </field> |
|
<field name="vision_fix" type="uint8_t">Vision position fix: 0: lost, 1: 2D local position hold, 2: 2D global position fix, 3: 3D global position fix </field> |
|
<field name="gps_fix" type="uint8_t">GPS position fix: 0: no reception, 1: Minimum 1 satellite, but no position fix, 2: 2D position fix, 3: 3D position fix </field> |
|
<field name="control_att" type="uint8_t">0: Attitude control disabled, 1: enabled</field> |
|
<field name="control_pos_xy" type="uint8_t">0: X, Y position control disabled, 1: enabled</field> |
|
<field name="control_pos_z" type="uint8_t">0: Z position control disabled, 1: enabled</field> |
|
<field name="control_pos_yaw" type="uint8_t">0: Yaw angle control disabled, 1: enabled</field> |
|
</message> |
|
|
|
<message name="WATCHDOG_HEARTBEAT" id="150"> |
|
<field name="watchdog_id" type="uint16_t">Watchdog ID</field> |
|
<field name="process_count" type="uint16_t">Number of processes</field> |
|
</message> |
|
|
|
<message name="WATCHDOG_PROCESS_INFO" id="151"> |
|
<field name="watchdog_id" type="uint16_t">Watchdog ID</field> |
|
<field name="process_id" type="uint16_t">Process ID</field> |
|
<field name="name" type="array[100]">Process name</field> |
|
<field name="arguments" type="array[147]">Process arguments</field> |
|
<field name="timeout" type="int32_t">Timeout (seconds)</field> |
|
</message> |
|
|
|
<message name="WATCHDOG_PROCESS_STATUS" id="152"> |
|
<field name="watchdog_id" type="uint16_t">Watchdog ID</field> |
|
<field name="process_id" type="uint16_t">Process ID</field> |
|
<field name="state" type="uint8_t">Is running / finished / suspended / crashed</field> |
|
<field name="muted" type="uint8_t">Is muted</field> |
|
<field name="pid" type="int32_t">PID</field> |
|
<field name="crashes" type="uint16_t">Number of crashes</field> |
|
</message> |
|
|
|
<message name="WATCHDOG_COMMAND" id="153"> |
|
<field name="target_system_id" type="uint8_t">Target system ID</field> |
|
<field name="watchdog_id" type="uint16_t">Watchdog ID</field> |
|
<field name="process_id" type="uint16_t">Process ID</field> |
|
<field name="command_id" type="uint8_t">Command ID</field> |
|
</message> |
|
|
|
<message name="PATTERN_DETECTED" id="160"> |
|
<field name="type" type="uint8_t">0: Pattern, 1: Letter</field> |
|
<field name="confidence" type="float">Confidence of detection</field> |
|
<field name="file" type="array[100]">Pattern file name</field> |
|
<field name="detected" type="uint8_t">Accepted as true detection, 0 no, 1 yes</field> |
|
</message> |
|
|
|
<message name="POINT_OF_INTEREST" id="161"> |
|
<description>Notifies the operator about a point of interest (POI). This can be anything detected by the |
|
system. This generic message is intented to help interfacing to generic visualizations and to display |
|
the POI on a map.</description> |
|
<field name="type" type="uint8_t">0: Notice, 1: Warning, 2: Critical, 3: Emergency, 4: Debug</field> |
|
<field name="color" type="uint8_t">0: blue, 1: yellow, 2: red, 3: orange, 4: green, 5: magenta</field> |
|
<field name="coordinate_system" type="uint8_t">0: global, 1:local</field> |
|
<field name="timeout" type="uint16_t">0: no timeout, >1: timeout in seconds</field> |
|
<field name="x" type="float">X Position</field> |
|
<field name="y" type="float">Y Position</field> |
|
<field name="z" type="float">Z Position</field> |
|
<field name="name" type="array[25]">POI name</field> |
|
</message> |
|
|
|
<message name="POINT_OF_INTEREST_CONNECTION" id="162"> |
|
<description>Notifies the operator about the connection of two point of interests (POI). This can be anything detected by the |
|
system. This generic message is intented to help interfacing to generic visualizations and to display |
|
the POI on a map.</description> |
|
<field name="type" type="uint8_t">0: Notice, 1: Warning, 2: Critical, 3: Emergency, 4: Debug</field> |
|
<field name="color" type="uint8_t">0: blue, 1: yellow, 2: red, 3: orange, 4: green, 5: magenta</field> |
|
<field name="coordinate_system" type="uint8_t">0: global, 1:local</field> |
|
<field name="timeout" type="uint16_t">0: no timeout, >1: timeout in seconds</field> |
|
<field name="xp1" type="float">X1 Position</field> |
|
<field name="yp1" type="float">Y1 Position</field> |
|
<field name="zp1" type="float">Z1 Position</field> |
|
<field name="xp2" type="float">X2 Position</field> |
|
<field name="yp2" type="float">Y2 Position</field> |
|
<field name="zp2" type="float">Z2 Position</field> |
|
<field name="name" type="array[25]">POI connection name</field> |
|
</message> |
|
|
|
</messages> |
|
</mavlink>
|
|
|