Directory transmitter renamed to radio
This commit is contained in:
@@ -0,0 +1,349 @@
|
||||
<?xml version='1.0'?>
|
||||
<mavlink>
|
||||
<include>common.xml</include>
|
||||
<!-- note that APM specific messages should use the command id
|
||||
range from 150 to 250, to leave plenty of room for growth
|
||||
of common.xml
|
||||
|
||||
If you prototype a message here, then you should consider if it
|
||||
is general enough to move into common.xml later
|
||||
-->
|
||||
|
||||
<enums>
|
||||
<!-- Camera Mount mode Enumeration -->
|
||||
<enum name="MAV_MOUNT_MODE">
|
||||
<description>Enumeration of possible mount operation modes</description>
|
||||
<entry name="MAV_MOUNT_MODE_RETRACT" value="0"><description>Load and keep safe position (Roll,Pitch,Yaw) from EEPROM and stop stabilization</description></entry>
|
||||
<entry name="MAV_MOUNT_MODE_NEUTRAL" value="1"><description>Load and keep neutral position (Roll,Pitch,Yaw) from EEPROM.</description></entry>
|
||||
<entry name="MAV_MOUNT_MODE_MAVLINK_TARGETING" value="2"><description>Load neutral position and start MAVLink Roll,Pitch,Yaw control with stabilization</description></entry>
|
||||
<entry name="MAV_MOUNT_MODE_RC_TARGETING" value="3"><description>Load neutral position and start RC Roll,Pitch,Yaw control with stabilization</description></entry>
|
||||
<entry name="MAV_MOUNT_MODE_GPS_POINT" value="4"><description>Load neutral position and start to point to Lat,Lon,Alt</description></entry>
|
||||
</enum>
|
||||
|
||||
<enum name="MAV_CMD" >
|
||||
<!-- Camera Controller Mission Commands Enumeration -->
|
||||
<entry name="MAV_CMD_DO_DIGICAM_CONFIGURE" value="202">
|
||||
<description>Mission command to configure an on-board camera controller system.</description>
|
||||
<param index="1">Modes: P, TV, AV, M, Etc</param>
|
||||
<param index="2">Shutter speed: Divisor number for one second</param>
|
||||
<param index="3">Aperture: F stop number</param>
|
||||
<param index="4">ISO number e.g. 80, 100, 200, Etc</param>
|
||||
<param index="5">Exposure type enumerator</param>
|
||||
<param index="6">Command Identity</param>
|
||||
<param index="7">Main engine cut-off time before camera trigger in seconds/10 (0 means no cut-off)</param>
|
||||
</entry>
|
||||
|
||||
<entry name="MAV_CMD_DO_DIGICAM_CONTROL" value="203">
|
||||
<description>Mission command to control an on-board camera controller system.</description>
|
||||
<param index="1">Session control e.g. show/hide lens</param>
|
||||
<param index="2">Zoom's absolute position</param>
|
||||
<param index="3">Zooming step value to offset zoom from the current position</param>
|
||||
<param index="4">Focus Locking, Unlocking or Re-locking</param>
|
||||
<param index="5">Shooting Command</param>
|
||||
<param index="6">Command Identity</param>
|
||||
<param index="7">Empty</param>
|
||||
</entry>
|
||||
|
||||
<!-- Camera Mount Mission Commands Enumeration -->
|
||||
<entry name="MAV_CMD_DO_MOUNT_CONFIGURE" value="204">
|
||||
<description>Mission command to configure a camera or antenna mount</description>
|
||||
<param index="1">Mount operation mode (see MAV_MOUNT_MODE enum)</param>
|
||||
<param index="2">stabilize roll? (1 = yes, 0 = no)</param>
|
||||
<param index="3">stabilize pitch? (1 = yes, 0 = no)</param>
|
||||
<param index="4">stabilize yaw? (1 = yes, 0 = no)</param>
|
||||
<param index="5">Empty</param>
|
||||
<param index="6">Empty</param>
|
||||
<param index="7">Empty</param>
|
||||
</entry>
|
||||
|
||||
<entry name="MAV_CMD_DO_MOUNT_CONTROL" value="205">
|
||||
<description>Mission command to control a camera or antenna mount</description>
|
||||
<param index="1">pitch(deg*100) or lat, depending on mount mode.</param>
|
||||
<param index="2">roll(deg*100) or lon depending on mount mode</param>
|
||||
<param index="3">yaw(deg*100) or alt (in cm) depending on mount mode</param>
|
||||
<param index="4">Empty</param>
|
||||
<param index="5">Empty</param>
|
||||
<param index="6">Empty</param>
|
||||
<param index="7">Empty</param>
|
||||
</entry>
|
||||
</enum>
|
||||
|
||||
<!-- fenced mode enums -->
|
||||
<enum name="FENCE_ACTION">
|
||||
<entry name="FENCE_ACTION_NONE" value="0">
|
||||
<description>Disable fenced mode</description>
|
||||
</entry>
|
||||
<entry name="FENCE_ACTION_GUIDED" value="1">
|
||||
<description>Switched to guided mode to return point (fence point 0)</description>
|
||||
</entry>
|
||||
<entry name="FENCE_ACTION_REPORT" value="2">
|
||||
<description>Report fence breach, but don't take action</description>
|
||||
</entry>
|
||||
</enum>
|
||||
|
||||
<enum name="FENCE_BREACH">
|
||||
<entry name="FENCE_BREACH_NONE" value="0">
|
||||
<description>No last fence breach</description>
|
||||
</entry>
|
||||
<entry name="FENCE_BREACH_MINALT" value="1">
|
||||
<description>Breached minimum altitude</description>
|
||||
</entry>
|
||||
<entry name="FENCE_BREACH_MAXALT" value="2">
|
||||
<description>Breached maximum altitude</description>
|
||||
</entry>
|
||||
<entry name="FENCE_BREACH_BOUNDARY" value="3">
|
||||
<description>Breached fence boundary</description>
|
||||
</entry>
|
||||
</enum>
|
||||
|
||||
<!-- AP_Limits Enums -->
|
||||
<enum name="LIMITS_STATE">
|
||||
<entry name="LIMITS_INIT" value="0"> <description> pre-initialization</description></entry>
|
||||
<entry name="LIMITS_DISABLED" value="1"> <description> disabled</description></entry>
|
||||
<entry name="LIMITS_ENABLED" value="2"> <description> checking limits</description></entry>
|
||||
<entry name="LIMITS_TRIGGERED" value="3"> <description> a limit has been breached</description></entry>
|
||||
<entry name="LIMITS_RECOVERING" value="4"> <description> taking action eg. RTL</description></entry>
|
||||
<entry name="LIMITS_RECOVERED" value="5"> <description> we're no longer in breach of a limit</description></entry>
|
||||
</enum>
|
||||
|
||||
<!-- AP_Limits Modules - power of 2 (1,2,4,8,16,32 etc) so we can send as bitfield -->
|
||||
<enum name="LIMIT_MODULE">
|
||||
<entry name="LIMIT_GPSLOCK" value="1"> <description> pre-initialization</description></entry>
|
||||
<entry name="LIMIT_GEOFENCE" value="2"> <description> disabled</description></entry>
|
||||
<entry name="LIMIT_ALTITUDE" value="4"> <description> checking limits</description></entry>
|
||||
</enum>
|
||||
</enums>
|
||||
|
||||
<messages>
|
||||
<message id="150" name="SENSOR_OFFSETS">
|
||||
<description>Offsets and calibrations values for hardware
|
||||
sensors. This makes it easier to debug the calibration process.</description>
|
||||
<field type="int16_t" name="mag_ofs_x">magnetometer X offset</field>
|
||||
<field type="int16_t" name="mag_ofs_y">magnetometer Y offset</field>
|
||||
<field type="int16_t" name="mag_ofs_z">magnetometer Z offset</field>
|
||||
<field type="float" name="mag_declination">magnetic declination (radians)</field>
|
||||
<field type="int32_t" name="raw_press">raw pressure from barometer</field>
|
||||
<field type="int32_t" name="raw_temp">raw temperature from barometer</field>
|
||||
<field type="float" name="gyro_cal_x">gyro X calibration</field>
|
||||
<field type="float" name="gyro_cal_y">gyro Y calibration</field>
|
||||
<field type="float" name="gyro_cal_z">gyro Z calibration</field>
|
||||
<field type="float" name="accel_cal_x">accel X calibration</field>
|
||||
<field type="float" name="accel_cal_y">accel Y calibration</field>
|
||||
<field type="float" name="accel_cal_z">accel Z calibration</field>
|
||||
</message>
|
||||
|
||||
<message id="151" name="SET_MAG_OFFSETS">
|
||||
<description>set the magnetometer offsets</description>
|
||||
<field type="uint8_t" name="target_system">System ID</field>
|
||||
<field type="uint8_t" name="target_component">Component ID</field>
|
||||
<field type="int16_t" name="mag_ofs_x">magnetometer X offset</field>
|
||||
<field type="int16_t" name="mag_ofs_y">magnetometer Y offset</field>
|
||||
<field type="int16_t" name="mag_ofs_z">magnetometer Z offset</field>
|
||||
</message>
|
||||
|
||||
<message id="152" name="MEMINFO">
|
||||
<description>state of APM memory</description>
|
||||
<field type="uint16_t" name="brkval">heap top</field>
|
||||
<field type="uint16_t" name="freemem">free memory</field>
|
||||
</message>
|
||||
|
||||
<message id="153" name="AP_ADC">
|
||||
<description>raw ADC output</description>
|
||||
<field type="uint16_t" name="adc1">ADC output 1</field>
|
||||
<field type="uint16_t" name="adc2">ADC output 2</field>
|
||||
<field type="uint16_t" name="adc3">ADC output 3</field>
|
||||
<field type="uint16_t" name="adc4">ADC output 4</field>
|
||||
<field type="uint16_t" name="adc5">ADC output 5</field>
|
||||
<field type="uint16_t" name="adc6">ADC output 6</field>
|
||||
</message>
|
||||
|
||||
<!-- Camera Controller Messages -->
|
||||
<message name="DIGICAM_CONFIGURE" id="154">
|
||||
<description>Configure on-board Camera Control System.</description>
|
||||
<field name="target_system" type="uint8_t">System ID</field>
|
||||
<field name="target_component" type="uint8_t">Component ID</field>
|
||||
<field name="mode" type="uint8_t">Mode enumeration from 1 to N //P, TV, AV, M, Etc (0 means ignore)</field>
|
||||
<field name="shutter_speed" type="uint16_t">Divisor number //e.g. 1000 means 1/1000 (0 means ignore)</field>
|
||||
<field name="aperture" type="uint8_t">F stop number x 10 //e.g. 28 means 2.8 (0 means ignore)</field>
|
||||
<field name="iso" type="uint8_t">ISO enumeration from 1 to N //e.g. 80, 100, 200, Etc (0 means ignore)</field>
|
||||
<field name="exposure_type" type="uint8_t">Exposure type enumeration from 1 to N (0 means ignore)</field>
|
||||
<field name="command_id" type="uint8_t">Command Identity (incremental loop: 0 to 255)//A command sent multiple times will be executed or pooled just once</field>
|
||||
<field name="engine_cut_off" type="uint8_t">Main engine cut-off time before camera trigger in seconds/10 (0 means no cut-off)</field>
|
||||
<field name="extra_param" type="uint8_t">Extra parameters enumeration (0 means ignore)</field>
|
||||
<field name="extra_value" type="float">Correspondent value to given extra_param</field>
|
||||
</message>
|
||||
|
||||
<message name="DIGICAM_CONTROL" id="155">
|
||||
<description>Control on-board Camera Control System to take shots.</description>
|
||||
<field name="target_system" type="uint8_t">System ID</field>
|
||||
<field name="target_component" type="uint8_t">Component ID</field>
|
||||
<field name="session" type="uint8_t">0: stop, 1: start or keep it up //Session control e.g. show/hide lens</field>
|
||||
<field name="zoom_pos" type="uint8_t">1 to N //Zoom's absolute position (0 means ignore)</field>
|
||||
<field name="zoom_step" type="int8_t">-100 to 100 //Zooming step value to offset zoom from the current position</field>
|
||||
<field name="focus_lock" type="uint8_t">0: unlock focus or keep unlocked, 1: lock focus or keep locked, 3: re-lock focus</field>
|
||||
<field name="shot" type="uint8_t">0: ignore, 1: shot or start filming</field>
|
||||
<field name="command_id" type="uint8_t">Command Identity (incremental loop: 0 to 255)//A command sent multiple times will be executed or pooled just once</field>
|
||||
<field name="extra_param" type="uint8_t">Extra parameters enumeration (0 means ignore)</field>
|
||||
<field name="extra_value" type="float">Correspondent value to given extra_param</field>
|
||||
</message>
|
||||
|
||||
<!-- Camera Mount Messages -->
|
||||
<message name="MOUNT_CONFIGURE" id="156">
|
||||
<description>Message to configure a camera mount, directional antenna, etc.</description>
|
||||
<field name="target_system" type="uint8_t">System ID</field>
|
||||
<field name="target_component" type="uint8_t">Component ID</field>
|
||||
<field name="mount_mode" type="uint8_t">mount operating mode (see MAV_MOUNT_MODE enum)</field>
|
||||
<field name="stab_roll" type="uint8_t">(1 = yes, 0 = no)</field>
|
||||
<field name="stab_pitch" type="uint8_t">(1 = yes, 0 = no)</field>
|
||||
<field name="stab_yaw" type="uint8_t">(1 = yes, 0 = no)</field>
|
||||
</message>
|
||||
|
||||
<message name="MOUNT_CONTROL" id="157">
|
||||
<description>Message to control a camera mount, directional antenna, etc.</description>
|
||||
<field name="target_system" type="uint8_t">System ID</field>
|
||||
<field name="target_component" type="uint8_t">Component ID</field>
|
||||
<field name="input_a" type="int32_t">pitch(deg*100) or lat, depending on mount mode</field>
|
||||
<field name="input_b" type="int32_t">roll(deg*100) or lon depending on mount mode</field>
|
||||
<field name="input_c" type="int32_t">yaw(deg*100) or alt (in cm) depending on mount mode</field>
|
||||
<field name="save_position" type="uint8_t">if "1" it will save current trimmed position on EEPROM (just valid for NEUTRAL and LANDING)</field>
|
||||
</message>
|
||||
|
||||
<message name="MOUNT_STATUS" id="158">
|
||||
<description>Message with some status from APM to GCS about camera or antenna mount</description>
|
||||
<field name="target_system" type="uint8_t">System ID</field>
|
||||
<field name="target_component" type="uint8_t">Component ID</field>
|
||||
<field name="pointing_a" type="int32_t">pitch(deg*100) or lat, depending on mount mode</field>
|
||||
<field name="pointing_b" type="int32_t">roll(deg*100) or lon depending on mount mode</field>
|
||||
<field name="pointing_c" type="int32_t">yaw(deg*100) or alt (in cm) depending on mount mode</field>
|
||||
</message>
|
||||
|
||||
<!-- geo-fence messages -->
|
||||
<message name="FENCE_POINT" id="160">
|
||||
<description>A fence point. Used to set a point when from
|
||||
GCS -> MAV. Also used to return a point from MAV -> GCS</description>
|
||||
<field name="target_system" type="uint8_t">System ID</field>
|
||||
<field name="target_component" type="uint8_t">Component ID</field>
|
||||
<field name="idx" type="uint8_t">point index (first point is 1, 0 is for return point)</field>
|
||||
<field name="count" type="uint8_t">total number of points (for sanity checking)</field>
|
||||
<field name="lat" type="float">Latitude of point</field>
|
||||
<field name="lng" type="float">Longitude of point</field>
|
||||
</message>
|
||||
|
||||
<message name="FENCE_FETCH_POINT" id="161">
|
||||
<description>Request a current fence point from MAV</description>
|
||||
<field name="target_system" type="uint8_t">System ID</field>
|
||||
<field name="target_component" type="uint8_t">Component ID</field>
|
||||
<field name="idx" type="uint8_t">point index (first point is 1, 0 is for return point)</field>
|
||||
</message>
|
||||
|
||||
<message name="FENCE_STATUS" id="162">
|
||||
<description>Status of geo-fencing. Sent in extended
|
||||
status stream when fencing enabled</description>
|
||||
<field name="breach_status" type="uint8_t">0 if currently inside fence, 1 if outside</field>
|
||||
<field name="breach_count" type="uint16_t">number of fence breaches</field>
|
||||
<field name="breach_type" type="uint8_t">last breach type (see FENCE_BREACH_* enum)</field>
|
||||
<field name="breach_time" type="uint32_t">time of last breach in milliseconds since boot</field>
|
||||
</message>
|
||||
|
||||
<message name="AHRS" id="163">
|
||||
<description>Status of DCM attitude estimator</description>
|
||||
<field type="float" name="omegaIx">X gyro drift estimate rad/s</field>
|
||||
<field type="float" name="omegaIy">Y gyro drift estimate rad/s</field>
|
||||
<field type="float" name="omegaIz">Z gyro drift estimate rad/s</field>
|
||||
<field type="float" name="accel_weight">average accel_weight</field>
|
||||
<field type="float" name="renorm_val">average renormalisation value</field>
|
||||
<field type="float" name="error_rp">average error_roll_pitch value</field>
|
||||
<field type="float" name="error_yaw">average error_yaw value</field>
|
||||
</message>
|
||||
|
||||
<message name="SIMSTATE" id="164">
|
||||
<description>Status of simulation environment, if used</description>
|
||||
<field type="float" name="roll">Roll angle (rad)</field>
|
||||
<field type="float" name="pitch">Pitch angle (rad)</field>
|
||||
<field type="float" name="yaw">Yaw angle (rad)</field>
|
||||
<field type="float" name="xacc">X acceleration m/s/s</field>
|
||||
<field type="float" name="yacc">Y acceleration m/s/s</field>
|
||||
<field type="float" name="zacc">Z acceleration m/s/s</field>
|
||||
<field type="float" name="xgyro">Angular speed around X axis rad/s</field>
|
||||
<field type="float" name="ygyro">Angular speed around Y axis rad/s</field>
|
||||
<field type="float" name="zgyro">Angular speed around Z axis rad/s</field>
|
||||
<field type="int32_t" name="lat">Latitude in degrees * 1E7</field>
|
||||
<field type="int32_t" name="lng">Longitude in degrees * 1E7</field>
|
||||
</message>
|
||||
|
||||
<message name="HWSTATUS" id="165">
|
||||
<description>Status of key hardware</description>
|
||||
<field type="uint16_t" name="Vcc">board voltage (mV)</field>
|
||||
<field type="uint8_t" name="I2Cerr">I2C error count</field>
|
||||
</message>
|
||||
|
||||
<message name="RADIO" id="166">
|
||||
<description>Status generated by radio</description>
|
||||
<field type="uint8_t" name="rssi">local signal strength</field>
|
||||
<field type="uint8_t" name="remrssi">remote signal strength</field>
|
||||
<field type="uint8_t" name="txbuf">how full the tx buffer is as a percentage</field>
|
||||
<field type="uint8_t" name="noise">background noise level</field>
|
||||
<field type="uint8_t" name="remnoise">remote background noise level</field>
|
||||
<field type="uint16_t" name="rxerrors">receive errors</field>
|
||||
<field type="uint16_t" name="fixed">count of error corrected packets</field>
|
||||
</message>
|
||||
|
||||
<!-- AP_Limits status -->
|
||||
|
||||
<message name="LIMITS_STATUS" id="167">
|
||||
<description>Status of AP_Limits. Sent in extended
|
||||
status stream when AP_Limits is enabled</description>
|
||||
<field name="limits_state" type="uint8_t">state of AP_Limits, (see enum LimitState, LIMITS_STATE)</field>
|
||||
<field name="last_trigger" type="uint32_t">time of last breach in milliseconds since boot</field>
|
||||
<field name="last_action" type="uint32_t">time of last recovery action in milliseconds since boot</field>
|
||||
<field name="last_recovery" type="uint32_t">time of last successful recovery in milliseconds since boot</field>
|
||||
<field name="last_clear" type="uint32_t">time of last all-clear in milliseconds since boot</field>
|
||||
<field name="breach_count" type="uint16_t">number of fence breaches</field>
|
||||
<field name="mods_enabled" type="uint8_t">AP_Limit_Module bitfield of enabled modules, (see enum moduleid or LIMIT_MODULE)</field>
|
||||
<field name="mods_required" type="uint8_t">AP_Limit_Module bitfield of required modules, (see enum moduleid or LIMIT_MODULE)</field>
|
||||
<field name="mods_triggered" type="uint8_t">AP_Limit_Module bitfield of triggered modules, (see enum moduleid or LIMIT_MODULE)</field>
|
||||
</message>
|
||||
|
||||
<message name="WIND" id="168">
|
||||
<description>Wind estimation</description>
|
||||
<field type="float" name="direction">wind direction that wind is coming from (degrees)</field>
|
||||
<field type="float" name="speed">wind speed in ground plane (m/s)</field>
|
||||
<field type="float" name="speed_z">vertical wind speed (m/s)</field>
|
||||
</message>
|
||||
|
||||
<message name="DATA16" id="169">
|
||||
<description>Data packet, size 16</description>
|
||||
<field type="uint8_t" name="type">data type</field>
|
||||
<field type="uint8_t" name="len">data length</field>
|
||||
<field type="uint8_t[16]" name="data">raw data</field>
|
||||
</message>
|
||||
|
||||
<message name="DATA32" id="170">
|
||||
<description>Data packet, size 32</description>
|
||||
<field type="uint8_t" name="type">data type</field>
|
||||
<field type="uint8_t" name="len">data length</field>
|
||||
<field type="uint8_t[32]" name="data">raw data</field>
|
||||
</message>
|
||||
|
||||
<message name="DATA64" id="171">
|
||||
<description>Data packet, size 64</description>
|
||||
<field type="uint8_t" name="type">data type</field>
|
||||
<field type="uint8_t" name="len">data length</field>
|
||||
<field type="uint8_t[64]" name="data">raw data</field>
|
||||
</message>
|
||||
|
||||
<message name="DATA96" id="172">
|
||||
<description>Data packet, size 96</description>
|
||||
<field type="uint8_t" name="type">data type</field>
|
||||
<field type="uint8_t" name="len">data length</field>
|
||||
<field type="uint8_t[96]" name="data">raw data</field>
|
||||
</message>
|
||||
|
||||
<message name="RANGEFINDER" id="173">
|
||||
<description>Rangefinder reporting</description>
|
||||
<field type="float" name="distance">distance in meters</field>
|
||||
<field type="float" name="voltage">raw voltage if available, zero otherwise</field>
|
||||
</message>
|
||||
|
||||
</messages>
|
||||
</mavlink>
|
||||
@@ -0,0 +1,113 @@
|
||||
<?xml version='1.0'?>
|
||||
<mavlink>
|
||||
<include>common.xml</include>
|
||||
<version>3</version>
|
||||
<enums>
|
||||
<enum name="AUTOQUAD_NAV_STATUS">
|
||||
<description>Available operating modes/statuses for AutoQuad flight controller.
|
||||
Bitmask up to 32 bits. Low side bits for base modes, high side for
|
||||
additional active features/modifiers/constraints.</description>
|
||||
<entry value="0" name="AQ_NAV_STATUS_INIT">
|
||||
<description>System is initializing</description>
|
||||
</entry>
|
||||
<!-- low side basic mode bits -->
|
||||
<entry value="0x1" name="AQ_NAV_STATUS_STANDBY">
|
||||
<description>System is standing by, not active</description>
|
||||
</entry>
|
||||
<entry value="0x2" name="AQ_NAV_STATUS_MANUAL">
|
||||
<description>Stabilized, under full manual control</description>
|
||||
</entry>
|
||||
<entry value="0x4" name="AQ_NAV_STATUS_ALTHOLD">
|
||||
<description>Altitude hold engaged</description>
|
||||
</entry>
|
||||
<entry value="0x8" name="AQ_NAV_STATUS_POSHOLD">
|
||||
<description>Position hold engaged</description>
|
||||
</entry>
|
||||
<entry value="0x10" name="AQ_NAV_STATUS_DVH">
|
||||
<description>Dynamic Velocity Hold is active</description>
|
||||
</entry>
|
||||
<entry value="0x20" name="AQ_NAV_STATUS_MISSION">
|
||||
<description>Autonomous mission execution mode</description>
|
||||
</entry>
|
||||
|
||||
<!-- high side feature/modifier/constraint bits (0x8000 0000 = bit 32) -->
|
||||
<entry value="0x80000000" name="AQ_NAV_STATUS_FAILSAFE">
|
||||
<description>System is in failsafe recovery mode</description>
|
||||
</entry>
|
||||
<entry value="0x40000000" name="AQ_NAV_STATUS_RTH">
|
||||
<description>Automatic Return to Home is active</description>
|
||||
</entry>
|
||||
<entry value="0x20000000" name="AQ_NAV_STATUS_HF_LOCKED">
|
||||
<description>Heading-Free locked mode active</description>
|
||||
</entry>
|
||||
<entry value="0x10000000" name="AQ_NAV_STATUS_HF_DYNAMIC">
|
||||
<description>Heading-Free dynamic mode active</description>
|
||||
</entry>
|
||||
<entry value="0x8000000" name="AQ_NAV_STATUS_CEILING">
|
||||
<description>Ceiling altitude is set</description>
|
||||
</entry>
|
||||
<entry value="0x4000000" name="AQ_NAV_STATUS_CEILING_REACHED">
|
||||
<description>Craft is at ceiling altitude</description>
|
||||
</entry>
|
||||
</enum>
|
||||
<enum name="MAV_CMD">
|
||||
<!-- TODO: value 1 reserved for now due to legacy code -->
|
||||
<entry value="2" name="MAV_CMD_AQ_TELEMETRY">
|
||||
<description>Start/stop AutoQuad telemetry values stream.</description>
|
||||
<param index="1">Start or stop (1 or 0)</param>
|
||||
<param index="2">Stream frequency in us</param>
|
||||
<param index="3">Empty</param>
|
||||
<param index="4">Empty</param>
|
||||
<param index="5">Empty</param>
|
||||
<param index="6">Empty</param>
|
||||
<param index="7">Empty</param>
|
||||
</entry>
|
||||
<entry value="3" name="MAV_CMD_AQ_FOLLOW">
|
||||
<description>Command AutoQuad to go to a particular place at a set speed.</description>
|
||||
<param index="1">Latitude</param>
|
||||
<param index="2">Lontitude</param>
|
||||
<param index="3">Altitude</param>
|
||||
<param index="4">Speed</param>
|
||||
<param index="5">Empty</param>
|
||||
<param index="6">Empty</param>
|
||||
<param index="7">Empty</param>
|
||||
</entry>
|
||||
<entry value="4" name="MAV_CMD_AQ_REQUEST_VERSION">
|
||||
<description>Request AutoQuad firmware version number.</description>
|
||||
<param index="1">Empty</param>
|
||||
<param index="2">Empty</param>
|
||||
<param index="3">Empty</param>
|
||||
<param index="4">Empty</param>
|
||||
<param index="5">Empty</param>
|
||||
<param index="6">Empty</param>
|
||||
<param index="7">Empty</param>
|
||||
</entry>
|
||||
</enum>
|
||||
</enums>
|
||||
<messages>
|
||||
<message id="150" name="AQ_TELEMETRY_F">
|
||||
<description>Sends up to 20 raw float values.</description>
|
||||
<field type="uint16_t" name="Index">Index of message</field>
|
||||
<field type="float" name="value1">value1</field>
|
||||
<field type="float" name="value2">value2</field>
|
||||
<field type="float" name="value3">value3</field>
|
||||
<field type="float" name="value4">value4</field>
|
||||
<field type="float" name="value5">value5</field>
|
||||
<field type="float" name="value6">value6</field>
|
||||
<field type="float" name="value7">value7</field>
|
||||
<field type="float" name="value8">value8</field>
|
||||
<field type="float" name="value9">value9</field>
|
||||
<field type="float" name="value10">value10</field>
|
||||
<field type="float" name="value11">value11</field>
|
||||
<field type="float" name="value12">value12</field>
|
||||
<field type="float" name="value13">value13</field>
|
||||
<field type="float" name="value14">value14</field>
|
||||
<field type="float" name="value15">value15</field>
|
||||
<field type="float" name="value16">value16</field>
|
||||
<field type="float" name="value17">value17</field>
|
||||
<field type="float" name="value18">value18</field>
|
||||
<field type="float" name="value19">value19</field>
|
||||
<field type="float" name="value20">value20</field>
|
||||
</message>
|
||||
</messages>
|
||||
</mavlink>
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,284 @@
|
||||
<?xml version="1.0"?>
|
||||
<mavlink>
|
||||
<include>common.xml</include>
|
||||
<!-- note that UDB specific messages should use the command id
|
||||
range from 150 to 250, to leave plenty of room for growth
|
||||
of common.xml
|
||||
|
||||
If you prototype a message here, then you should consider if it
|
||||
is general enough to move into common.xml later
|
||||
-->
|
||||
|
||||
|
||||
|
||||
|
||||
<enums>
|
||||
<enum name="MAV_PREFLIGHT_STORAGE_ACTION">
|
||||
<description>Action required when performing CMD_PREFLIGHT_STORAGE</description>
|
||||
<entry value="0" name="MAV_PFS_CMD_READ_ALL">
|
||||
<description>Read all parameters from storage</description>
|
||||
</entry>
|
||||
<entry value="1" name="MAV_PFS_CMD_WRITE_ALL">
|
||||
<description>Write all parameters to storage</description>
|
||||
</entry>
|
||||
<entry value="2" name="MAV_PFS_CMD_CLEAR_ALL">
|
||||
<description>Clear all parameters in storage</description>
|
||||
</entry>
|
||||
<entry value="3" name="MAV_PFS_CMD_READ_SPECIFIC">
|
||||
<description>Read specific parameters from storage</description>
|
||||
</entry>
|
||||
<entry value="4" name="MAV_PFS_CMD_WRITE_SPECIFIC">
|
||||
<description>Write specific parameters to storage</description>
|
||||
</entry>
|
||||
<entry value="5" name="MAV_PFS_CMD_CLEAR_SPECIFIC">
|
||||
<description>Clear specific parameters in storage</description>
|
||||
</entry>
|
||||
<entry value="6" name="MAV_PFS_CMD_DO_NOTHING">
|
||||
<description>do nothing</description>
|
||||
</entry>
|
||||
</enum>
|
||||
|
||||
<enum name="MAV_CMD" >
|
||||
<entry value="0" name="MAV_CMD_PREFLIGHT_STORAGE_ADVANCED">
|
||||
<description>Request storage of different parameter values and logs. This command will be only accepted if in pre-flight mode.</description>
|
||||
<param index="1">Storage action: Action defined by MAV_PREFLIGHT_STORAGE_ACTION_ADVANCED</param>
|
||||
<param index="2">Storage area as defined by parameter database</param>
|
||||
<param index="3">Storage flags as defined by parameter database</param>
|
||||
<param index="4">Empty</param>
|
||||
<param index="5">Empty</param>
|
||||
<param index="6">Empty</param>
|
||||
<param index="7">Empty</param>
|
||||
</entry>
|
||||
</enum>
|
||||
|
||||
</enums>
|
||||
|
||||
|
||||
<messages>
|
||||
<message id="150" name="FLEXIFUNCTION_SET">
|
||||
<description>Depreciated but used as a compiler flag. Do not remove</description>
|
||||
<field type="uint8_t" name="target_system">System ID</field>
|
||||
<field type="uint8_t" name="target_component">Component ID</field>
|
||||
</message>
|
||||
<message id="151" name="FLEXIFUNCTION_READ_REQ">
|
||||
<description>Reqest reading of flexifunction data</description>
|
||||
<field type="uint8_t" name="target_system">System ID</field>
|
||||
<field type="uint8_t" name="target_component">Component ID</field>
|
||||
<field type="int16_t" name="read_req_type">Type of flexifunction data requested</field>
|
||||
<field type="int16_t" name="data_index">index into data where needed</field>
|
||||
</message>
|
||||
<message id="152" name="FLEXIFUNCTION_BUFFER_FUNCTION">
|
||||
<description>Flexifunction type and parameters for component at function index from buffer</description>
|
||||
<field type="uint8_t" name="target_system">System ID</field>
|
||||
<field type="uint8_t" name="target_component">Component ID</field>
|
||||
<field type="uint16_t" name="func_index">Function index</field>
|
||||
<field type="uint16_t" name="func_count">Total count of functions</field>
|
||||
<field type="uint16_t" name="data_address">Address in the flexifunction data, Set to 0xFFFF to use address in target memory</field>
|
||||
<field type="uint16_t" name="data_size">Size of the </field>
|
||||
<field type="int8_t[48]" name="data">Settings data</field>
|
||||
</message>
|
||||
<message id="153" name="FLEXIFUNCTION_BUFFER_FUNCTION_ACK">
|
||||
<description>Flexifunction type and parameters for component at function index from buffer</description>
|
||||
<field type="uint8_t" name="target_system">System ID</field>
|
||||
<field type="uint8_t" name="target_component">Component ID</field>
|
||||
<field type="uint16_t" name="func_index">Function index</field>
|
||||
<field type="uint16_t" name="result">result of acknowledge, 0=fail, 1=good</field>
|
||||
</message>
|
||||
<message id="155" name="FLEXIFUNCTION_DIRECTORY">
|
||||
<description>Acknowldge sucess or failure of a flexifunction command</description>
|
||||
<field type="uint8_t" name="target_system">System ID</field>
|
||||
<field type="uint8_t" name="target_component">Component ID</field>
|
||||
<field type="uint8_t" name="directory_type">0=inputs, 1=outputs</field>
|
||||
<field type="uint8_t" name="start_index">index of first directory entry to write</field>
|
||||
<field type="uint8_t" name="count">count of directory entries to write</field>
|
||||
<field type="int8_t[48]" name="directory_data">Settings data</field>
|
||||
</message>
|
||||
<message id="156" name="FLEXIFUNCTION_DIRECTORY_ACK">
|
||||
<description>Acknowldge sucess or failure of a flexifunction command</description>
|
||||
<field type="uint8_t" name="target_system">System ID</field>
|
||||
<field type="uint8_t" name="target_component">Component ID</field>
|
||||
<field type="uint8_t" name="directory_type">0=inputs, 1=outputs</field>
|
||||
<field type="uint8_t" name="start_index">index of first directory entry to write</field>
|
||||
<field type="uint8_t" name="count">count of directory entries to write</field>
|
||||
<field type="uint16_t" name="result">result of acknowledge, 0=fail, 1=good</field>
|
||||
</message>
|
||||
<message id="157" name="FLEXIFUNCTION_COMMAND">
|
||||
<description>Acknowldge sucess or failure of a flexifunction command</description>
|
||||
<field type="uint8_t" name="target_system">System ID</field>
|
||||
<field type="uint8_t" name="target_component">Component ID</field>
|
||||
<field type="uint8_t" name="command_type">Flexifunction command type</field>
|
||||
</message>
|
||||
<message id="158" name="FLEXIFUNCTION_COMMAND_ACK">
|
||||
<description>Acknowldge sucess or failure of a flexifunction command</description>
|
||||
<field type="uint16_t" name="command_type">Command acknowledged</field>
|
||||
<field type="uint16_t" name="result">result of acknowledge</field>
|
||||
</message>
|
||||
<message id="170" name="SERIAL_UDB_EXTRA_F2_A">
|
||||
<description>Backwards compatible MAVLink version of SERIAL_UDB_EXTRA - F2: Format Part A</description>
|
||||
<field type="uint32_t" name="sue_time">Serial UDB Extra Time</field>
|
||||
<field type="uint8_t" name="sue_status">Serial UDB Extra Status</field>
|
||||
<field type="int32_t" name="sue_latitude">Serial UDB Extra Latitude</field>
|
||||
<field type="int32_t" name="sue_longitude">Serial UDB Extra Longitude</field>
|
||||
<field type="int32_t" name="sue_altitude">Serial UDB Extra Altitude</field>
|
||||
<field type="uint16_t" name="sue_waypoint_index">Serial UDB Extra Waypoint Index</field>
|
||||
<field type="int16_t" name="sue_rmat0">Serial UDB Extra Rmat 0</field>
|
||||
<field type="int16_t" name="sue_rmat1">Serial UDB Extra Rmat 1</field>
|
||||
<field type="int16_t" name="sue_rmat2">Serial UDB Extra Rmat 2</field>
|
||||
<field type="int16_t" name="sue_rmat3">Serial UDB Extra Rmat 3</field>
|
||||
<field type="int16_t" name="sue_rmat4">Serial UDB Extra Rmat 4</field>
|
||||
<field type="int16_t" name="sue_rmat5">Serial UDB Extra Rmat 5</field>
|
||||
<field type="int16_t" name="sue_rmat6">Serial UDB Extra Rmat 6</field>
|
||||
<field type="int16_t" name="sue_rmat7">Serial UDB Extra Rmat 7</field>
|
||||
<field type="int16_t" name="sue_rmat8">Serial UDB Extra Rmat 8</field>
|
||||
<field type="uint16_t" name="sue_cog">Serial UDB Extra GPS Course Over Ground</field>
|
||||
<field type="int16_t" name="sue_sog">Serial UDB Extra Speed Over Ground</field>
|
||||
<field type="uint16_t" name="sue_cpu_load">Serial UDB Extra CPU Load</field>
|
||||
<field type="int16_t" name="sue_voltage_milis">Serial UDB Extra Voltage in MilliVolts</field>
|
||||
<field type="uint16_t" name="sue_air_speed_3DIMU">Serial UDB Extra 3D IMU Air Speed</field>
|
||||
<field type="int16_t" name="sue_estimated_wind_0">Serial UDB Extra Estimated Wind 0</field>
|
||||
<field type="int16_t" name="sue_estimated_wind_1">Serial UDB Extra Estimated Wind 1</field>
|
||||
<field type="int16_t" name="sue_estimated_wind_2">Serial UDB Extra Estimated Wind 2</field>
|
||||
<field type="int16_t" name="sue_magFieldEarth0">Serial UDB Extra Magnetic Field Earth 0 </field>
|
||||
<field type="int16_t" name="sue_magFieldEarth1">Serial UDB Extra Magnetic Field Earth 1 </field>
|
||||
<field type="int16_t" name="sue_magFieldEarth2">Serial UDB Extra Magnetic Field Earth 2 </field>
|
||||
<field type="int16_t" name="sue_svs">Serial UDB Extra Number of Sattelites in View</field>
|
||||
<field type="int16_t" name="sue_hdop">Serial UDB Extra GPS Horizontal Dilution of Precision</field>
|
||||
</message>
|
||||
<message id="171" name="SERIAL_UDB_EXTRA_F2_B">
|
||||
<description>Backwards compatible version of SERIAL_UDB_EXTRA - F2: Part B</description>
|
||||
<field type="uint32_t" name="sue_time">Serial UDB Extra Time</field>
|
||||
<field type="int16_t" name="sue_pwm_input_1">Serial UDB Extra PWM Input Channel 1</field>
|
||||
<field type="int16_t" name="sue_pwm_input_2">Serial UDB Extra PWM Input Channel 2</field>
|
||||
<field type="int16_t" name="sue_pwm_input_3">Serial UDB Extra PWM Input Channel 3</field>
|
||||
<field type="int16_t" name="sue_pwm_input_4">Serial UDB Extra PWM Input Channel 4</field>
|
||||
<field type="int16_t" name="sue_pwm_input_5">Serial UDB Extra PWM Input Channel 5</field>
|
||||
<field type="int16_t" name="sue_pwm_input_6">Serial UDB Extra PWM Input Channel 6</field>
|
||||
<field type="int16_t" name="sue_pwm_input_7">Serial UDB Extra PWM Input Channel 7</field>
|
||||
<field type="int16_t" name="sue_pwm_input_8">Serial UDB Extra PWM Input Channel 8</field>
|
||||
<field type="int16_t" name="sue_pwm_input_9">Serial UDB Extra PWM Input Channel 9</field>
|
||||
<field type="int16_t" name="sue_pwm_input_10">Serial UDB Extra PWM Input Channel 10</field>
|
||||
<field type="int16_t" name="sue_pwm_output_1">Serial UDB Extra PWM Output Channel 1</field>
|
||||
<field type="int16_t" name="sue_pwm_output_2">Serial UDB Extra PWM Output Channel 2</field>
|
||||
<field type="int16_t" name="sue_pwm_output_3">Serial UDB Extra PWM Output Channel 3</field>
|
||||
<field type="int16_t" name="sue_pwm_output_4">Serial UDB Extra PWM Output Channel 4</field>
|
||||
<field type="int16_t" name="sue_pwm_output_5">Serial UDB Extra PWM Output Channel 5</field>
|
||||
<field type="int16_t" name="sue_pwm_output_6">Serial UDB Extra PWM Output Channel 6</field>
|
||||
<field type="int16_t" name="sue_pwm_output_7">Serial UDB Extra PWM Output Channel 7</field>
|
||||
<field type="int16_t" name="sue_pwm_output_8">Serial UDB Extra PWM Output Channel 8</field>
|
||||
<field type="int16_t" name="sue_pwm_output_9">Serial UDB Extra PWM Output Channel 9</field>
|
||||
<field type="int16_t" name="sue_pwm_output_10">Serial UDB Extra PWM Output Channel 10</field>
|
||||
<field type="int16_t" name="sue_imu_location_x">Serial UDB Extra IMU Location X</field>
|
||||
<field type="int16_t" name="sue_imu_location_y">Serial UDB Extra IMU Location Y</field>
|
||||
<field type="int16_t" name="sue_imu_location_z">Serial UDB Extra IMU Location Z</field>
|
||||
<field type="uint32_t" name="sue_flags">Serial UDB Extra Status Flags</field>
|
||||
<field type="int16_t" name="sue_osc_fails">Serial UDB Extra Oscillator Failure Count</field>
|
||||
<field type="int16_t" name="sue_imu_velocity_x">Serial UDB Extra IMU Velocity X</field>
|
||||
<field type="int16_t" name="sue_imu_velocity_y">Serial UDB Extra IMU Velocity Y</field>
|
||||
<field type="int16_t" name="sue_imu_velocity_z">Serial UDB Extra IMU Velocity Z</field>
|
||||
<field type="int16_t" name="sue_waypoint_goal_x">Serial UDB Extra Current Waypoint Goal X</field>
|
||||
<field type="int16_t" name="sue_waypoint_goal_y">Serial UDB Extra Current Waypoint Goal Y</field>
|
||||
<field type="int16_t" name="sue_waypoint_goal_z">Serial UDB Extra Current Waypoint Goal Z</field>
|
||||
<field type="int16_t" name="sue_memory_stack_free">Serial UDB Extra Stack Memory Free</field>
|
||||
</message>
|
||||
<message id="172" name="SERIAL_UDB_EXTRA_F4">
|
||||
<description>Backwards compatible version of SERIAL_UDB_EXTRA F4: format</description>
|
||||
<field type="uint8_t" name="sue_ROLL_STABILIZATION_AILERONS">Serial UDB Extra Roll Stabilization with Ailerons Enabled</field>
|
||||
<field type="uint8_t" name="sue_ROLL_STABILIZATION_RUDDER">Serial UDB Extra Roll Stabilization with Rudder Enabled</field>
|
||||
<field type="uint8_t" name="sue_PITCH_STABILIZATION">Serial UDB Extra Pitch Stabilization Enabled</field>
|
||||
<field type="uint8_t" name="sue_YAW_STABILIZATION_RUDDER">Serial UDB Extra Yaw Stabilization using Rudder Enabled</field>
|
||||
<field type="uint8_t" name="sue_YAW_STABILIZATION_AILERON">Serial UDB Extra Yaw Stabilization using Ailerons Enabled</field>
|
||||
<field type="uint8_t" name="sue_AILERON_NAVIGATION">Serial UDB Extra Navigation with Ailerons Enabled</field>
|
||||
<field type="uint8_t" name="sue_RUDDER_NAVIGATION">Serial UDB Extra Navigation with Rudder Enabled</field>
|
||||
<field type="uint8_t" name="sue_ALTITUDEHOLD_STABILIZED">Serial UDB Extra Type of Alitude Hold when in Stabilized Mode</field>
|
||||
<field type="uint8_t" name="sue_ALTITUDEHOLD_WAYPOINT">Serial UDB Extra Type of Alitude Hold when in Waypoint Mode</field>
|
||||
<field type="uint8_t" name="sue_RACING_MODE">Serial UDB Extra Firmware racing mode enabled</field>
|
||||
</message>
|
||||
<message id="173" name="SERIAL_UDB_EXTRA_F5">
|
||||
<description>Backwards compatible version of SERIAL_UDB_EXTRA F5: format</description>
|
||||
<field type="float" name="sue_YAWKP_AILERON">Serial UDB YAWKP_AILERON Gain for Proporional control of navigation</field>
|
||||
<field type="float" name="sue_YAWKD_AILERON">Serial UDB YAWKD_AILERON Gain for Rate control of navigation</field>
|
||||
<field type="float" name="sue_ROLLKP">Serial UDB Extra ROLLKP Gain for Proportional control of roll stabilization</field>
|
||||
<field type="float" name="sue_ROLLKD">Serial UDB Extra ROLLKD Gain for Rate control of roll stabilization</field>
|
||||
<field type="float" name="sue_YAW_STABILIZATION_AILERON">YAW_STABILIZATION_AILERON Proportional control</field>
|
||||
<field type="float" name="sue_AILERON_BOOST">Gain For Boosting Manual Aileron control When Plane Stabilized</field>
|
||||
</message>
|
||||
<message id="174" name="SERIAL_UDB_EXTRA_F6">
|
||||
<description>Backwards compatible version of SERIAL_UDB_EXTRA F6: format</description>
|
||||
<field type="float" name="sue_PITCHGAIN">Serial UDB Extra PITCHGAIN Proportional Control</field>
|
||||
<field type="float" name="sue_PITCHKD">Serial UDB Extra Pitch Rate Control</field>
|
||||
<field type="float" name="sue_RUDDER_ELEV_MIX">Serial UDB Extra Rudder to Elevator Mix</field>
|
||||
<field type="float" name="sue_ROLL_ELEV_MIX">Serial UDB Extra Roll to Elevator Mix</field>
|
||||
<field type="float" name="sue_ELEVATOR_BOOST">Gain For Boosting Manual Elevator control When Plane Stabilized</field>
|
||||
</message>
|
||||
<message id="175" name="SERIAL_UDB_EXTRA_F7">
|
||||
<description>Backwards compatible version of SERIAL_UDB_EXTRA F7: format</description>
|
||||
<field type="float" name="sue_YAWKP_RUDDER">Serial UDB YAWKP_RUDDER Gain for Proporional control of navigation</field>
|
||||
<field type="float" name="sue_YAWKD_RUDDER">Serial UDB YAWKD_RUDDER Gain for Rate control of navigation</field>
|
||||
<field type="float" name="sue_ROLLKP_RUDDER">Serial UDB Extra ROLLKP_RUDDER Gain for Proportional control of roll stabilization</field>
|
||||
<field type="float" name="sue_ROLLKD_RUDDER">Serial UDB Extra ROLLKD_RUDDER Gain for Rate control of roll stabilization</field>
|
||||
<field type="float" name="sue_RUDDER_BOOST">SERIAL UDB EXTRA Rudder Boost Gain to Manual Control when stabilized</field>
|
||||
<field type="float" name="sue_RTL_PITCH_DOWN">Serial UDB Extra Return To Landing - Angle to Pitch Plane Down</field>
|
||||
</message>
|
||||
<message id="176" name="SERIAL_UDB_EXTRA_F8">
|
||||
<description>Backwards compatible version of SERIAL_UDB_EXTRA F8: format</description>
|
||||
<field type="float" name="sue_HEIGHT_TARGET_MAX">Serial UDB Extra HEIGHT_TARGET_MAX</field>
|
||||
<field type="float" name="sue_HEIGHT_TARGET_MIN">Serial UDB Extra HEIGHT_TARGET_MIN</field>
|
||||
<field type="float" name="sue_ALT_HOLD_THROTTLE_MIN">Serial UDB Extra ALT_HOLD_THROTTLE_MIN</field>
|
||||
<field type="float" name="sue_ALT_HOLD_THROTTLE_MAX">Serial UDB Extra ALT_HOLD_THROTTLE_MAX</field>
|
||||
<field type="float" name="sue_ALT_HOLD_PITCH_MIN">Serial UDB Extra ALT_HOLD_PITCH_MIN</field>
|
||||
<field type="float" name="sue_ALT_HOLD_PITCH_MAX">Serial UDB Extra ALT_HOLD_PITCH_MAX</field>
|
||||
<field type="float" name="sue_ALT_HOLD_PITCH_HIGH">Serial UDB Extra ALT_HOLD_PITCH_HIGH</field>
|
||||
</message>
|
||||
<message id="177" name="SERIAL_UDB_EXTRA_F13">
|
||||
<description>Backwards compatible version of SERIAL_UDB_EXTRA F13: format</description>
|
||||
<field type="int16_t" name="sue_week_no">Serial UDB Extra GPS Week Number</field>
|
||||
<field type="int32_t" name="sue_lat_origin">Serial UDB Extra MP Origin Latitude</field>
|
||||
<field type="int32_t" name="sue_lon_origin">Serial UDB Extra MP Origin Longitude</field>
|
||||
<field type="int32_t" name="sue_alt_origin">Serial UDB Extra MP Origin Altitude Above Sea Level</field>
|
||||
</message>
|
||||
<message id="178" name="SERIAL_UDB_EXTRA_F14">
|
||||
<description>Backwards compatible version of SERIAL_UDB_EXTRA F14: format</description>
|
||||
<field type="uint8_t" name="sue_WIND_ESTIMATION">Serial UDB Extra Wind Estimation Enabled</field>
|
||||
<field type="uint8_t" name="sue_GPS_TYPE">Serial UDB Extra Type of GPS Unit</field>
|
||||
<field type="uint8_t" name="sue_DR">Serial UDB Extra Dead Reckoning Enabled</field>
|
||||
<field type="uint8_t" name="sue_BOARD_TYPE">Serial UDB Extra Type of UDB Hardware</field>
|
||||
<field type="uint8_t" name="sue_AIRFRAME">Serial UDB Extra Type of Airframe</field>
|
||||
<field type="int16_t" name="sue_RCON">Serial UDB Extra Reboot Regitster of DSPIC</field>
|
||||
<field type="int16_t" name="sue_TRAP_FLAGS">Serial UDB Extra Last dspic Trap Flags</field>
|
||||
<field type="uint32_t" name="sue_TRAP_SOURCE">Serial UDB Extra Type Program Address of Last Trap</field>
|
||||
<field type="int16_t" name="sue_osc_fail_count">Serial UDB Extra Number of Ocillator Failures</field>
|
||||
<field type="uint8_t" name="sue_CLOCK_CONFIG">Serial UDB Extra UDB Internal Clock Configuration</field>
|
||||
<field type="uint8_t" name="sue_FLIGHT_PLAN_TYPE">Serial UDB Extra Type of Flight Plan</field>
|
||||
</message>
|
||||
<message id="179" name="SERIAL_UDB_EXTRA_F15">
|
||||
<description>Backwards compatible version of SERIAL_UDB_EXTRA F15 and F16: format</description>
|
||||
<field type="uint8_t[40]" name="sue_ID_VEHICLE_MODEL_NAME">Serial UDB Extra Model Name Of Vehicle</field>
|
||||
<field type="uint8_t[20]" name="sue_ID_VEHICLE_REGISTRATION">Serial UDB Extra Registraton Number of Vehicle</field>
|
||||
</message>
|
||||
<message id="180" name="SERIAL_UDB_EXTRA_F16">
|
||||
<field type="uint8_t[40]" name="sue_ID_LEAD_PILOT">Serial UDB Extra Name of Expected Lead Pilot</field>
|
||||
<field type="uint8_t[70]" name="sue_ID_DIY_DRONES_URL">Serial UDB Extra URL of Lead Pilot or Team</field>
|
||||
</message>
|
||||
<message id="181" name="ALTITUDES">
|
||||
<description>The altitude measured by sensors and IMU</description>
|
||||
<field type="uint32_t" name="time_boot_ms">Timestamp (milliseconds since system boot)</field>
|
||||
<field type="int32_t" name="alt_gps">GPS altitude in meters, expressed as * 1000 (millimeters), above MSL</field>
|
||||
<field type="int32_t" name="alt_imu">IMU altitude above ground in meters, expressed as * 1000 (millimeters)</field>
|
||||
<field type="int32_t" name="alt_barometric">barometeric altitude above ground in meters, expressed as * 1000 (millimeters)</field>
|
||||
<field type="int32_t" name="alt_optical_flow">Optical flow altitude above ground in meters, expressed as * 1000 (millimeters)</field>
|
||||
<field type="int32_t" name="alt_range_finder">Rangefinder Altitude above ground in meters, expressed as * 1000 (millimeters)</field>
|
||||
<field type="int32_t" name="alt_extra">Extra altitude above ground in meters, expressed as * 1000 (millimeters)</field>
|
||||
</message>
|
||||
<message id="182" name="AIRSPEEDS">
|
||||
<description>The airspeed measured by sensors and IMU</description>
|
||||
<field type="uint32_t" name="time_boot_ms">Timestamp (milliseconds since system boot)</field>
|
||||
<field type="int16_t" name="airspeed_imu">Airspeed estimate from IMU, cm/s</field>
|
||||
<field type="int16_t" name="airspeed_pitot">Pitot measured forward airpseed, cm/s</field>
|
||||
<field type="int16_t" name="airspeed_hot_wire">Hot wire anenometer measured airspeed, cm/s</field>
|
||||
<field type="int16_t" name="airspeed_ultrasonic">Ultrasonic measured airspeed, cm/s</field>
|
||||
<field type="int16_t" name="aoa">Angle of attack sensor, degrees * 10</field>
|
||||
<field type="int16_t" name="aoy">Yaw angle sensor, degrees * 10</field>
|
||||
</message>
|
||||
|
||||
</messages>
|
||||
</mavlink>
|
||||
@@ -0,0 +1,189 @@
|
||||
<?xml version='1.0'?>
|
||||
<mavlink>
|
||||
<version>2</version>
|
||||
<enums>
|
||||
<enum name="MAV_AUTOPILOT">
|
||||
<description>Micro air vehicle / autopilot classes. This identifies the individual model.</description>
|
||||
<entry value="0" name="MAV_AUTOPILOT_GENERIC">
|
||||
<description>Generic autopilot, full support for everything</description>
|
||||
</entry>
|
||||
<entry value="1" name="MAV_AUTOPILOT_PIXHAWK">
|
||||
<description>PIXHAWK autopilot, http://pixhawk.ethz.ch</description>
|
||||
</entry>
|
||||
<entry value="2" name="MAV_AUTOPILOT_SLUGS">
|
||||
<description>SLUGS autopilot, http://slugsuav.soe.ucsc.edu</description>
|
||||
</entry>
|
||||
<entry value="3" name="MAV_AUTOPILOT_ARDUPILOTMEGA">
|
||||
<description>ArduPilotMega / ArduCopter, http://diydrones.com</description>
|
||||
</entry>
|
||||
<entry value="4" name="MAV_AUTOPILOT_OPENPILOT">
|
||||
<description>OpenPilot, http://openpilot.org</description>
|
||||
</entry>
|
||||
<entry value="5" name="MAV_AUTOPILOT_GENERIC_WAYPOINTS_ONLY">
|
||||
<description>Generic autopilot only supporting simple waypoints</description>
|
||||
</entry>
|
||||
<entry value="6" name="MAV_AUTOPILOT_GENERIC_WAYPOINTS_AND_SIMPLE_NAVIGATION_ONLY">
|
||||
<description>Generic autopilot supporting waypoints and other simple navigation commands</description>
|
||||
</entry>
|
||||
<entry value="7" name="MAV_AUTOPILOT_GENERIC_MISSION_FULL">
|
||||
<description>Generic autopilot supporting the full mission command set</description>
|
||||
</entry>
|
||||
<entry value="8" name="MAV_AUTOPILOT_INVALID">
|
||||
<description>No valid autopilot, e.g. a GCS or other MAVLink component</description>
|
||||
</entry>
|
||||
<entry value="9" name="MAV_AUTOPILOT_PPZ">
|
||||
<description>PPZ UAV - http://nongnu.org/paparazzi</description>
|
||||
</entry>
|
||||
<entry value="10" name="MAV_AUTOPILOT_UDB">
|
||||
<description>UAV Dev Board</description>
|
||||
</entry>
|
||||
<entry value="11" name="MAV_AUTOPILOT_FP">
|
||||
<description>FlexiPilot</description>
|
||||
</entry>
|
||||
</enum>
|
||||
<enum name="MAV_TYPE">
|
||||
<entry value="0" name="MAV_TYPE_GENERIC">
|
||||
<description>Generic micro air vehicle.</description>
|
||||
</entry>
|
||||
<entry value="1" name="MAV_TYPE_FIXED_WING">
|
||||
<description>Fixed wing aircraft.</description>
|
||||
</entry>
|
||||
<entry value="2" name="MAV_TYPE_QUADROTOR">
|
||||
<description>Quadrotor</description>
|
||||
</entry>
|
||||
<entry value="3" name="MAV_TYPE_COAXIAL">
|
||||
<description>Coaxial helicopter</description>
|
||||
</entry>
|
||||
<entry value="4" name="MAV_TYPE_HELICOPTER">
|
||||
<description>Normal helicopter with tail rotor.</description>
|
||||
</entry>
|
||||
<entry value="5" name="MAV_TYPE_ANTENNA_TRACKER">
|
||||
<description>Ground installation</description>
|
||||
</entry>
|
||||
<entry value="6" name="MAV_TYPE_GCS">
|
||||
<description>Operator control unit / ground control station</description>
|
||||
</entry>
|
||||
<entry value="7" name="MAV_TYPE_AIRSHIP">
|
||||
<description>Airship, controlled</description>
|
||||
</entry>
|
||||
<entry value="8" name="MAV_TYPE_FREE_BALLOON">
|
||||
<description>Free balloon, uncontrolled</description>
|
||||
</entry>
|
||||
<entry value="9" name="MAV_TYPE_ROCKET">
|
||||
<description>Rocket</description>
|
||||
</entry>
|
||||
<entry value="10" name="MAV_TYPE_GROUND_ROVER">
|
||||
<description>Ground rover</description>
|
||||
</entry>
|
||||
<entry value="11" name="MAV_TYPE_SURFACE_BOAT">
|
||||
<description>Surface vessel, boat, ship</description>
|
||||
</entry>
|
||||
<entry value="12" name="MAV_TYPE_SUBMARINE">
|
||||
<description>Submarine</description>
|
||||
</entry>
|
||||
<entry value="13" name="MAV_TYPE_HEXAROTOR">
|
||||
<description>Hexarotor</description>
|
||||
</entry>
|
||||
<entry value="14" name="MAV_TYPE_OCTOROTOR">
|
||||
<description>Octorotor</description>
|
||||
</entry>
|
||||
<entry value="15" name="MAV_TYPE_TRICOPTER">
|
||||
<description>Octorotor</description>
|
||||
</entry>
|
||||
<entry value="16" name="MAV_TYPE_FLAPPING_WING">
|
||||
<description>Flapping wing</description>
|
||||
</entry>
|
||||
</enum>
|
||||
<enum name="MAV_MODE_FLAG">
|
||||
<description>These flags encode the MAV mode.</description>
|
||||
<entry value="128" name="MAV_MODE_FLAG_SAFETY_ARMED">
|
||||
<description>0b10000000 MAV safety set to armed. Motors are enabled / running / can start. Ready to fly.</description>
|
||||
</entry>
|
||||
<entry value="64" name="MAV_MODE_FLAG_MANUAL_INPUT_ENABLED">
|
||||
<description>0b01000000 remote control input is enabled.</description>
|
||||
</entry>
|
||||
<entry value="32" name="MAV_MODE_FLAG_HIL_ENABLED">
|
||||
<description>0b00100000 hardware in the loop simulation. All motors / actuators are blocked, but internal software is full operational.</description>
|
||||
</entry>
|
||||
<entry value="16" name="MAV_MODE_FLAG_STABILIZE_ENABLED">
|
||||
<description>0b00010000 system stabilizes electronically its attitude (and optionally position). It needs however further control inputs to move around.</description>
|
||||
</entry>
|
||||
<entry value="8" name="MAV_MODE_FLAG_GUIDED_ENABLED">
|
||||
<description>0b00001000 guided mode enabled, system flies MISSIONs / mission items.</description>
|
||||
</entry>
|
||||
<entry value="4" name="MAV_MODE_FLAG_AUTO_ENABLED">
|
||||
<description>0b00000100 autonomous mode enabled, system finds its own goal positions. Guided flag can be set or not, depends on the actual implementation.</description>
|
||||
</entry>
|
||||
<entry value="2" name="MAV_MODE_FLAG_TEST_ENABLED">
|
||||
<description>0b00000010 system has a test mode enabled. This flag is intended for temporary system tests and should not be used for stable implementations.</description>
|
||||
</entry>
|
||||
<entry value="1" name="MAV_MODE_FLAG_CUSTOM_MODE_ENABLED">
|
||||
<description>0b00000001 Reserved for future use.</description>
|
||||
</entry>
|
||||
</enum>
|
||||
<enum name="MAV_MODE_FLAG_DECODE_POSITION">
|
||||
<description>These values encode the bit positions of the decode position. These values can be used to read the value of a flag bit by combining the base_mode variable with AND with the flag position value. The result will be either 0 or 1, depending on if the flag is set or not.</description>
|
||||
<entry value="128" name="MAV_MODE_FLAG_DECODE_POSITION_SAFETY">
|
||||
<description>First bit: 10000000</description>
|
||||
</entry>
|
||||
<entry value="64" name="MAV_MODE_FLAG_DECODE_POSITION_MANUAL">
|
||||
<description>Second bit: 01000000</description>
|
||||
</entry>
|
||||
<entry value="32" name="MAV_MODE_FLAG_DECODE_POSITION_HIL">
|
||||
<description>Third bit: 00100000</description>
|
||||
</entry>
|
||||
<entry value="16" name="MAV_MODE_FLAG_DECODE_POSITION_STABILIZE">
|
||||
<description>Fourth bit: 00010000</description>
|
||||
</entry>
|
||||
<entry value="8" name="MAV_MODE_FLAG_DECODE_POSITION_GUIDED">
|
||||
<description>Fifth bit: 00001000</description>
|
||||
</entry>
|
||||
<entry value="4" name="MAV_MODE_FLAG_DECODE_POSITION_AUTO">
|
||||
<description>Sixt bit: 00000100</description>
|
||||
</entry>
|
||||
<entry value="2" name="MAV_MODE_FLAG_DECODE_POSITION_TEST">
|
||||
<description>Seventh bit: 00000010</description>
|
||||
</entry>
|
||||
<entry value="1" name="MAV_MODE_FLAG_DECODE_POSITION_CUSTOM_MODE">
|
||||
<description>Eighth bit: 00000001</description>
|
||||
</entry>
|
||||
</enum>
|
||||
<enum name="MAV_STATE">
|
||||
<entry value="0" name="MAV_STATE_UNINIT">
|
||||
<description>Uninitialized system, state is unknown.</description>
|
||||
</entry>
|
||||
<entry name="MAV_STATE_BOOT">
|
||||
<description>System is booting up.</description>
|
||||
</entry>
|
||||
<entry name="MAV_STATE_CALIBRATING">
|
||||
<description>System is calibrating and not flight-ready.</description>
|
||||
</entry>
|
||||
<entry name="MAV_STATE_STANDBY">
|
||||
<description>System is grounded and on standby. It can be launched any time.</description>
|
||||
</entry>
|
||||
<entry name="MAV_STATE_ACTIVE">
|
||||
<description>System is active and might be already airborne. Motors are engaged.</description>
|
||||
</entry>
|
||||
<entry name="MAV_STATE_CRITICAL">
|
||||
<description>System is in a non-normal flight mode. It can however still navigate.</description>
|
||||
</entry>
|
||||
<entry name="MAV_STATE_EMERGENCY">
|
||||
<description>System is in a non-normal flight mode. It lost control over parts or over the whole airframe. It is in mayday and going down.</description>
|
||||
</entry>
|
||||
<entry name="MAV_STATE_POWEROFF">
|
||||
<description>System just initialized its power-down sequence, will shut down now.</description>
|
||||
</entry>
|
||||
</enum>
|
||||
</enums>
|
||||
<messages>
|
||||
<message id="0" name="HEARTBEAT">
|
||||
<description>The heartbeat message shows that a system is present and responding. The type of the MAV and Autopilot hardware allow the receiving system to treat further messages from this system appropriate (e.g. by laying out the user interface based on the autopilot).</description>
|
||||
<field type="uint8_t" name="type">Type of the MAV (quadrotor, helicopter, etc., up to 15 types, defined in MAV_TYPE ENUM)</field>
|
||||
<field type="uint8_t" name="autopilot">Autopilot type / class. defined in MAV_AUTOPILOT ENUM</field>
|
||||
<field type="uint8_t" name="base_mode">System mode bitfield, see MAV_MODE_FLAGS ENUM in mavlink/include/mavlink_types.h</field>
|
||||
<field type="uint32_t" name="custom_mode">A bitfield for use for autopilot-specific flags.</field>
|
||||
<field type="uint8_t" name="system_status">System status flag, see MAV_STATE ENUM</field>
|
||||
<field type="uint8_t_mavlink_version" name="mavlink_version">MAVLink version</field>
|
||||
</message>
|
||||
</messages>
|
||||
</mavlink>
|
||||
@@ -0,0 +1,163 @@
|
||||
package px;
|
||||
|
||||
message HeaderInfo
|
||||
{
|
||||
required int32 source_sysid = 1;
|
||||
required int32 source_compid = 2;
|
||||
required double timestamp = 3; // in seconds
|
||||
}
|
||||
|
||||
message GLOverlay
|
||||
{
|
||||
required HeaderInfo header = 1;
|
||||
|
||||
optional string name = 2;
|
||||
|
||||
enum CoordinateFrameType
|
||||
{
|
||||
GLOBAL = 0;
|
||||
LOCAL = 1;
|
||||
}
|
||||
optional CoordinateFrameType coordinateFrameType = 3;
|
||||
|
||||
optional double origin_x = 4;
|
||||
optional double origin_y = 5;
|
||||
optional double origin_z = 6;
|
||||
|
||||
optional bytes data = 7;
|
||||
|
||||
enum Mode
|
||||
{
|
||||
POINTS = 0;
|
||||
LINES = 1;
|
||||
LINE_STRIP = 2;
|
||||
LINE_LOOP = 3;
|
||||
TRIANGLES = 4;
|
||||
TRIANGLE_STRIP = 5;
|
||||
TRIANGLE_FAN = 6;
|
||||
QUADS = 7;
|
||||
QUAD_STRIP = 8;
|
||||
POLYGON = 9;
|
||||
SOLID_CIRCLE = 10;
|
||||
WIRE_CIRCLE = 11;
|
||||
SOLID_CUBE = 12;
|
||||
WIRE_CUBE = 13;
|
||||
}
|
||||
|
||||
enum Identifier
|
||||
{
|
||||
END = 14;
|
||||
VERTEX2F = 15;
|
||||
VERTEX3F = 16;
|
||||
ROTATEF = 17;
|
||||
TRANSLATEF = 18;
|
||||
SCALEF = 19;
|
||||
PUSH_MATRIX = 20;
|
||||
POP_MATRIX = 21;
|
||||
COLOR3F = 22;
|
||||
COLOR4F = 23;
|
||||
POINTSIZE = 24;
|
||||
LINEWIDTH = 25;
|
||||
}
|
||||
}
|
||||
|
||||
message Obstacle
|
||||
{
|
||||
optional float x = 1;
|
||||
optional float y = 2;
|
||||
optional float z = 3;
|
||||
optional float length = 4;
|
||||
optional float width = 5;
|
||||
optional float height = 6;
|
||||
}
|
||||
|
||||
message ObstacleList
|
||||
{
|
||||
required HeaderInfo header = 1;
|
||||
|
||||
repeated Obstacle obstacles = 2;
|
||||
}
|
||||
|
||||
message ObstacleMap
|
||||
{
|
||||
required HeaderInfo header = 1;
|
||||
|
||||
required int32 type = 2;
|
||||
|
||||
optional float resolution = 3;
|
||||
optional int32 rows = 4;
|
||||
optional int32 cols = 5;
|
||||
optional int32 mapR0 = 6;
|
||||
optional int32 mapC0 = 7;
|
||||
optional int32 arrayR0 = 8;
|
||||
optional int32 arrayC0 = 9;
|
||||
|
||||
optional bytes data = 10;
|
||||
}
|
||||
|
||||
message Path
|
||||
{
|
||||
required HeaderInfo header = 1;
|
||||
|
||||
repeated Waypoint waypoints = 2;
|
||||
}
|
||||
|
||||
message PointCloudXYZI {
|
||||
message PointXYZI {
|
||||
required float x = 1;
|
||||
required float y = 2;
|
||||
required float z = 3;
|
||||
required float intensity = 4;
|
||||
}
|
||||
|
||||
required HeaderInfo header = 1;
|
||||
repeated PointXYZI points = 2;
|
||||
}
|
||||
|
||||
message PointCloudXYZRGB {
|
||||
message PointXYZRGB {
|
||||
required float x = 1;
|
||||
required float y = 2;
|
||||
required float z = 3;
|
||||
required float rgb = 4;
|
||||
}
|
||||
|
||||
required HeaderInfo header = 1;
|
||||
repeated PointXYZRGB points = 2;
|
||||
}
|
||||
|
||||
message RGBDImage
|
||||
{
|
||||
required HeaderInfo header = 1;
|
||||
|
||||
required uint32 cols = 2; ///< Number of columns in image(s)
|
||||
required uint32 rows = 3; ///< Number of rows in image(s)
|
||||
required uint32 step1 = 4; ///< Step (stride) of image 1
|
||||
required uint32 type1 = 5; ///< Type of image 1
|
||||
required bytes imageData1 = 6;
|
||||
required uint32 step2 = 7; ///< Step (stride) of image 2
|
||||
required uint32 type2 = 8; ///< Type of image 2
|
||||
required bytes imageData2 = 9;
|
||||
optional uint32 camera_config = 10; ///< PxSHM::Camera enumeration
|
||||
optional uint32 camera_type = 11; ///< PxSHM::CameraType enumeration
|
||||
optional float roll = 12;
|
||||
optional float pitch = 13;
|
||||
optional float yaw = 14;
|
||||
optional float lon = 15;
|
||||
optional float lat = 16;
|
||||
optional float alt = 17;
|
||||
optional float ground_x = 18;
|
||||
optional float ground_y = 19;
|
||||
optional float ground_z = 20;
|
||||
repeated float camera_matrix = 21;
|
||||
}
|
||||
|
||||
message Waypoint
|
||||
{
|
||||
required double x = 1;
|
||||
required double y = 2;
|
||||
optional double z = 3;
|
||||
optional double roll = 4;
|
||||
optional double pitch = 5;
|
||||
optional double yaw = 6;
|
||||
}
|
||||
@@ -0,0 +1,210 @@
|
||||
<?xml version='1.0'?>
|
||||
<mavlink>
|
||||
<include>common.xml</include>
|
||||
<enums>
|
||||
<enum name="DATA_TYPES">
|
||||
<description>Content Types for data transmission handshake</description>
|
||||
<entry value="1" name="DATA_TYPE_JPEG_IMAGE"/>
|
||||
<entry value="2" name="DATA_TYPE_RAW_IMAGE"/>
|
||||
<entry value="3" name="DATA_TYPE_KINECT"/>
|
||||
</enum>
|
||||
<enum name="MAV_CMD">
|
||||
<!-- 1-10000 reserved for common commands -->
|
||||
<entry value="10001" name="MAV_CMD_DO_START_SEARCH">
|
||||
<description>Starts a search</description>
|
||||
<param index="1">1 to arm, 0 to disarm</param>
|
||||
</entry>
|
||||
<entry value="10002" name="MAV_CMD_DO_FINISH_SEARCH">
|
||||
<description>Starts a search</description>
|
||||
<param index="1">1 to arm, 0 to disarm</param>
|
||||
</entry>
|
||||
<entry value="10003" name="MAV_CMD_NAV_SWEEP">
|
||||
<description>Starts a search</description>
|
||||
<param index="1">1 to arm, 0 to disarm</param>
|
||||
</entry>
|
||||
</enum>
|
||||
</enums>
|
||||
<messages>
|
||||
<message id="151" name="SET_CAM_SHUTTER">
|
||||
<field type="uint8_t" name="cam_no">Camera id</field>
|
||||
<field type="uint8_t" name="cam_mode">Camera mode: 0 = auto, 1 = manual</field>
|
||||
<field type="uint8_t" name="trigger_pin">Trigger pin, 0-3 for PtGrey FireFly</field>
|
||||
<field type="uint16_t" name="interval">Shutter interval, in microseconds</field>
|
||||
<field type="uint16_t" name="exposure">Exposure time, in microseconds</field>
|
||||
<field type="float" name="gain">Camera gain</field>
|
||||
</message>
|
||||
<message id="152" name="IMAGE_TRIGGERED">
|
||||
<field type="uint64_t" name="timestamp">Timestamp</field>
|
||||
<field type="uint32_t" name="seq">IMU seq</field>
|
||||
<field type="float" name="roll">Roll angle in rad</field>
|
||||
<field type="float" name="pitch">Pitch angle in rad</field>
|
||||
<field type="float" name="yaw">Yaw angle in rad</field>
|
||||
<field type="float" name="local_z">Local frame Z coordinate (height over ground)</field>
|
||||
<field type="float" name="lat">GPS X coordinate</field>
|
||||
<field type="float" name="lon">GPS Y coordinate</field>
|
||||
<field type="float" name="alt">Global frame altitude</field>
|
||||
<field type="float" name="ground_x">Ground truth X</field>
|
||||
<field type="float" name="ground_y">Ground truth Y</field>
|
||||
<field type="float" name="ground_z">Ground truth Z</field>
|
||||
</message>
|
||||
<message id="153" name="IMAGE_TRIGGER_CONTROL">
|
||||
<field type="uint8_t" name="enable">0 to disable, 1 to enable</field>
|
||||
</message>
|
||||
<message id="154" name="IMAGE_AVAILABLE">
|
||||
<field type="uint64_t" name="cam_id">Camera id</field>
|
||||
<field type="uint8_t" name="cam_no">Camera # (starts with 0)</field>
|
||||
<field type="uint64_t" name="timestamp">Timestamp</field>
|
||||
<field type="uint64_t" name="valid_until">Until which timestamp this buffer will stay valid</field>
|
||||
<field type="uint32_t" name="img_seq">The image sequence number</field>
|
||||
<field type="uint32_t" name="img_buf_index">Position of the image in the buffer, starts with 0</field>
|
||||
<field type="uint16_t" name="width">Image width</field>
|
||||
<field type="uint16_t" name="height">Image height</field>
|
||||
<field type="uint16_t" name="depth">Image depth</field>
|
||||
<field type="uint8_t" name="channels">Image channels</field>
|
||||
<field type="uint32_t" name="key">Shared memory area key</field>
|
||||
<field type="uint32_t" name="exposure">Exposure time, in microseconds</field>
|
||||
<field type="float" name="gain">Camera gain</field>
|
||||
<field type="float" name="roll">Roll angle in rad</field>
|
||||
<field type="float" name="pitch">Pitch angle in rad</field>
|
||||
<field type="float" name="yaw">Yaw angle in rad</field>
|
||||
<field type="float" name="local_z">Local frame Z coordinate (height over ground)</field>
|
||||
<field type="float" name="lat">GPS X coordinate</field>
|
||||
<field type="float" name="lon">GPS Y coordinate</field>
|
||||
<field type="float" name="alt">Global frame altitude</field>
|
||||
<field type="float" name="ground_x">Ground truth X</field>
|
||||
<field type="float" name="ground_y">Ground truth Y</field>
|
||||
<field type="float" name="ground_z">Ground truth Z</field>
|
||||
</message>
|
||||
<message id="160" name="SET_POSITION_CONTROL_OFFSET">
|
||||
<description>Message sent to the MAV to set a new offset from the currently controlled position</description>
|
||||
<field type="uint8_t" name="target_system">System ID</field>
|
||||
<field type="uint8_t" name="target_component">Component ID</field>
|
||||
<field type="float" name="x">x position offset</field>
|
||||
<field type="float" name="y">y position offset</field>
|
||||
<field type="float" name="z">z position offset</field>
|
||||
<field type="float" name="yaw">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 id="170" name="POSITION_CONTROL_SETPOINT">
|
||||
<field type="uint16_t" name="id">ID of waypoint, 0 for plain position</field>
|
||||
<field type="float" name="x">x position</field>
|
||||
<field type="float" name="y">y position</field>
|
||||
<field type="float" name="z">z position</field>
|
||||
<field type="float" name="yaw">yaw orientation in radians, 0 = NORTH</field>
|
||||
</message>
|
||||
<message id="171" name="MARKER">
|
||||
<field type="uint16_t" name="id">ID</field>
|
||||
<field type="float" name="x">x position</field>
|
||||
<field type="float" name="y">y position</field>
|
||||
<field type="float" name="z">z position</field>
|
||||
<field type="float" name="roll">roll orientation</field>
|
||||
<field type="float" name="pitch">pitch orientation</field>
|
||||
<field type="float" name="yaw">yaw orientation</field>
|
||||
</message>
|
||||
<message id="172" name="RAW_AUX">
|
||||
<field type="uint16_t" name="adc1">ADC1 (J405 ADC3, LPC2148 AD0.6)</field>
|
||||
<field type="uint16_t" name="adc2">ADC2 (J405 ADC5, LPC2148 AD0.2)</field>
|
||||
<field type="uint16_t" name="adc3">ADC3 (J405 ADC6, LPC2148 AD0.1)</field>
|
||||
<field type="uint16_t" name="adc4">ADC4 (J405 ADC7, LPC2148 AD1.3)</field>
|
||||
<field type="uint16_t" name="vbat">Battery voltage</field>
|
||||
<field type="int16_t" name="temp">Temperature (degrees celcius)</field>
|
||||
<field type="int32_t" name="baro">Barometric pressure (hecto Pascal)</field>
|
||||
</message>
|
||||
<message id="180" name="WATCHDOG_HEARTBEAT">
|
||||
<field type="uint16_t" name="watchdog_id">Watchdog ID</field>
|
||||
<field type="uint16_t" name="process_count">Number of processes</field>
|
||||
</message>
|
||||
<message id="181" name="WATCHDOG_PROCESS_INFO">
|
||||
<field type="uint16_t" name="watchdog_id">Watchdog ID</field>
|
||||
<field type="uint16_t" name="process_id">Process ID</field>
|
||||
<field type="char[100]" name="name">Process name</field>
|
||||
<field type="char[147]" name="arguments">Process arguments</field>
|
||||
<field type="int32_t" name="timeout">Timeout (seconds)</field>
|
||||
</message>
|
||||
<message id="182" name="WATCHDOG_PROCESS_STATUS">
|
||||
<field type="uint16_t" name="watchdog_id">Watchdog ID</field>
|
||||
<field type="uint16_t" name="process_id">Process ID</field>
|
||||
<field type="uint8_t" name="state">Is running / finished / suspended / crashed</field>
|
||||
<field type="uint8_t" name="muted">Is muted</field>
|
||||
<field type="int32_t" name="pid">PID</field>
|
||||
<field type="uint16_t" name="crashes">Number of crashes</field>
|
||||
</message>
|
||||
<message id="183" name="WATCHDOG_COMMAND">
|
||||
<field type="uint8_t" name="target_system_id">Target system ID</field>
|
||||
<field type="uint16_t" name="watchdog_id">Watchdog ID</field>
|
||||
<field type="uint16_t" name="process_id">Process ID</field>
|
||||
<field type="uint8_t" name="command_id">Command ID</field>
|
||||
</message>
|
||||
<message id="190" name="PATTERN_DETECTED">
|
||||
<field type="uint8_t" name="type">0: Pattern, 1: Letter</field>
|
||||
<field type="float" name="confidence">Confidence of detection</field>
|
||||
<field type="char[100]" name="file">Pattern file name</field>
|
||||
<field type="uint8_t" name="detected">Accepted as true detection, 0 no, 1 yes</field>
|
||||
</message>
|
||||
<message id="191" name="POINT_OF_INTEREST">
|
||||
<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 type="uint8_t" name="type">0: Notice, 1: Warning, 2: Critical, 3: Emergency, 4: Debug</field>
|
||||
<field type="uint8_t" name="color">0: blue, 1: yellow, 2: red, 3: orange, 4: green, 5: magenta</field>
|
||||
<field type="uint8_t" name="coordinate_system">0: global, 1:local</field>
|
||||
<field type="uint16_t" name="timeout">0: no timeout, >1: timeout in seconds</field>
|
||||
<field type="float" name="x">X Position</field>
|
||||
<field type="float" name="y">Y Position</field>
|
||||
<field type="float" name="z">Z Position</field>
|
||||
<field type="char[26]" name="name">POI name</field>
|
||||
</message>
|
||||
<message id="192" name="POINT_OF_INTEREST_CONNECTION">
|
||||
<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 type="uint8_t" name="type">0: Notice, 1: Warning, 2: Critical, 3: Emergency, 4: Debug</field>
|
||||
<field type="uint8_t" name="color">0: blue, 1: yellow, 2: red, 3: orange, 4: green, 5: magenta</field>
|
||||
<field type="uint8_t" name="coordinate_system">0: global, 1:local</field>
|
||||
<field type="uint16_t" name="timeout">0: no timeout, >1: timeout in seconds</field>
|
||||
<field type="float" name="xp1">X1 Position</field>
|
||||
<field type="float" name="yp1">Y1 Position</field>
|
||||
<field type="float" name="zp1">Z1 Position</field>
|
||||
<field type="float" name="xp2">X2 Position</field>
|
||||
<field type="float" name="yp2">Y2 Position</field>
|
||||
<field type="float" name="zp2">Z2 Position</field>
|
||||
<field type="char[26]" name="name">POI connection name</field>
|
||||
</message>
|
||||
<message id="193" name="DATA_TRANSMISSION_HANDSHAKE">
|
||||
<field type="uint8_t" name="type">type of requested/acknowledged data (as defined in ENUM DATA_TYPES in mavlink/include/mavlink_types.h)</field>
|
||||
<field type="uint32_t" name="size">total data size in bytes (set on ACK only)</field>
|
||||
<field type="uint16_t" name="width">Width of a matrix or image</field>
|
||||
<field type="uint16_t" name="height">Height of a matrix or image</field>
|
||||
<field type="uint8_t" name="packets">number of packets beeing sent (set on ACK only)</field>
|
||||
<field type="uint8_t" name="payload">payload size per packet (normally 253 byte, see DATA field size in message ENCAPSULATED_DATA) (set on ACK only)</field>
|
||||
<field type="uint8_t" name="jpg_quality">JPEG quality out of [1,100]</field>
|
||||
</message>
|
||||
<message id="194" name="ENCAPSULATED_DATA">
|
||||
<field type="uint16_t" name="seqnr">sequence number (starting with 0 on every transmission)</field>
|
||||
<field type="uint8_t[253]" name="data">image data bytes</field>
|
||||
</message>
|
||||
<message id="195" name="BRIEF_FEATURE">
|
||||
<field type="float" name="x">x position in m</field>
|
||||
<field type="float" name="y">y position in m</field>
|
||||
<field type="float" name="z">z position in m</field>
|
||||
<field type="uint8_t" name="orientation_assignment">Orientation assignment 0: false, 1:true</field>
|
||||
<field type="uint16_t" name="size">Size in pixels</field>
|
||||
<field type="uint16_t" name="orientation">Orientation</field>
|
||||
<field type="uint8_t[32]" name="descriptor">Descriptor</field>
|
||||
<field type="float" name="response">Harris operator response at this location</field>
|
||||
</message>
|
||||
<message id="200" name="ATTITUDE_CONTROL">
|
||||
<field type="uint8_t" name="target">The system to be controlled</field>
|
||||
<field type="float" name="roll">roll</field>
|
||||
<field type="float" name="pitch">pitch</field>
|
||||
<field type="float" name="yaw">yaw</field>
|
||||
<field type="float" name="thrust">thrust</field>
|
||||
<field type="uint8_t" name="roll_manual">roll control enabled auto:0, manual:1</field>
|
||||
<field type="uint8_t" name="pitch_manual">pitch auto:0, manual:1</field>
|
||||
<field type="uint8_t" name="yaw_manual">yaw auto:0, manual:1</field>
|
||||
<field type="uint8_t" name="thrust_manual">thrust auto:0, manual:1</field>
|
||||
</message>
|
||||
</messages>
|
||||
</mavlink>
|
||||
@@ -0,0 +1,143 @@
|
||||
<?xml version='1.0'?>
|
||||
<mavlink>
|
||||
<include>common.xml</include>
|
||||
<enums>
|
||||
<enum name="SENSESOAR_MODE">
|
||||
<description> Different flight modes </description>
|
||||
<entry name="SENSESOAR_MODE_GLIDING">
|
||||
<description>Gliding mode with motors off</description>
|
||||
</entry>
|
||||
<entry name="SENSESOAR_MODE_AUTONOMOUS">
|
||||
<description>Autonomous flight</description>
|
||||
</entry>
|
||||
<entry name="SENSESOAR_MODE_MANUAL">
|
||||
<description>RC controlled</description>
|
||||
</entry>
|
||||
</enum>
|
||||
</enums>
|
||||
<messages>
|
||||
<message id="170" name="OBS_POSITION">
|
||||
<description>Position estimate of the observer in global frame</description>
|
||||
<field type="int32_t" name="lon">
|
||||
<description>Longitude expressed in 1E7</description>
|
||||
</field>
|
||||
<field type="int32_t" name="lat">
|
||||
<description>Latitude expressed in 1E7</description>
|
||||
</field>
|
||||
<field type="int32_t" name="alt">
|
||||
<description>Altitude expressed in milimeters</description>
|
||||
</field>
|
||||
</message>
|
||||
<message id="172" name="OBS_VELOCITY">
|
||||
<description>velocity estimate of the observer in NED inertial frame</description>
|
||||
<field type="float[3]" name="vel">
|
||||
<description>Velocity</description>
|
||||
</field>
|
||||
</message>
|
||||
<message id="174" name="OBS_ATTITUDE">
|
||||
<description>attitude estimate of the observe</description>
|
||||
<field type="double[4]" name="quat">
|
||||
<description>Quaternion re;im</description>
|
||||
</field>
|
||||
</message>
|
||||
<message id="176" name="OBS_WIND">
|
||||
<description>Wind estimate in NED inertial frame</description>
|
||||
<field type="float[3]" name="wind">
|
||||
<description>Wind</description>
|
||||
</field>
|
||||
</message>
|
||||
<message id="178" name="OBS_AIR_VELOCITY">
|
||||
<description>Estimate of the air velocity</description>
|
||||
<field type="float" name="magnitude">
|
||||
<description>Air speed</description>
|
||||
</field>
|
||||
<field type="float" name="aoa">
|
||||
<description>angle of attack</description>
|
||||
</field>
|
||||
<field type="float" name="slip">
|
||||
<description>slip angle</description>
|
||||
</field>
|
||||
</message>
|
||||
<message id="180" name="OBS_BIAS">
|
||||
<description>IMU biases</description>
|
||||
<field type="float[3]" name="accBias">
|
||||
<description>accelerometer bias</description>
|
||||
</field>
|
||||
<field type="float[3]" name="gyroBias">
|
||||
<description>gyroscope bias</description>
|
||||
</field>
|
||||
</message>
|
||||
<message id="182" name="OBS_QFF">
|
||||
<description>estimate of the pressure at sea level</description>
|
||||
<field type="float" name="qff">
|
||||
<description>Wind</description>
|
||||
</field>
|
||||
</message>
|
||||
<message id="183" name="OBS_AIR_TEMP">
|
||||
<description>ambient air temperature</description>
|
||||
<field type="float" name="airT">
|
||||
<description>Air Temperatur</description>
|
||||
</field>
|
||||
</message>
|
||||
<message id="184" name="FILT_ROT_VEL">
|
||||
<description>filtered rotational velocity</description>
|
||||
<field type="float[3]" name="rotVel">
|
||||
<description>rotational velocity</description>
|
||||
</field>
|
||||
</message>
|
||||
<message id="186" name="LLC_OUT">
|
||||
<description>low level control output</description>
|
||||
<field type="int16_t[4]" name="servoOut">
|
||||
<description>Servo signal</description>
|
||||
</field>
|
||||
<field type="int16_t[2]" name="MotorOut">
|
||||
<description>motor signal</description>
|
||||
</field>
|
||||
</message>
|
||||
<message id="188" name="PM_ELEC">
|
||||
<description>Power managment</description>
|
||||
<field type="float" name="PwCons">
|
||||
<description>current power consumption</description>
|
||||
</field>
|
||||
<field type="float" name="BatStat">
|
||||
<description>battery status</description>
|
||||
</field>
|
||||
<field type="float[3]" name="PwGen">
|
||||
<description>Power generation from each module</description>
|
||||
</field>
|
||||
</message>
|
||||
<message id="190" name="SYS_Stat">
|
||||
<description>system status</description>
|
||||
<field type="uint8_t" name="gps">
|
||||
<description>gps status</description>
|
||||
</field>
|
||||
<field type="uint8_t" name="act">
|
||||
<description>actuator status</description>
|
||||
</field>
|
||||
<field type="uint8_t" name="mod">
|
||||
<description>module status</description>
|
||||
</field>
|
||||
<field type="uint8_t" name="commRssi">
|
||||
<description>module status</description>
|
||||
</field>
|
||||
</message>
|
||||
<message id="192" name="CMD_AIRSPEED_CHNG">
|
||||
<description>change commanded air speed</description>
|
||||
<field type="uint8_t" name="target">
|
||||
<description>Target ID</description>
|
||||
</field>
|
||||
<field type="float" name="spCmd">
|
||||
<description>commanded airspeed</description>
|
||||
</field>
|
||||
</message>
|
||||
<message id="194" name="CMD_AIRSPEED_ACK">
|
||||
<description>accept change of airspeed</description>
|
||||
<field type="float" name="spCmd">
|
||||
<description>commanded airspeed</description>
|
||||
</field>
|
||||
<field type="uint8_t" name="ack">
|
||||
<description>0:ack, 1:nack</description>
|
||||
</field>
|
||||
</message>
|
||||
</messages>
|
||||
</mavlink>
|
||||
@@ -0,0 +1,144 @@
|
||||
<?xml version="1.0"?>
|
||||
<mavlink>
|
||||
<include>common.xml</include>
|
||||
|
||||
<!-- <enums>
|
||||
<enum name="SLUGS_ACTION" >
|
||||
<description> Slugs Actions </description>
|
||||
<entry name = "SLUGS_ACTION_NONE">
|
||||
<entry name = "SLUGS_ACTION_SUCCESS">
|
||||
<entry name = "SLUGS_ACTION_FAIL">
|
||||
<entry name = "SLUGS_ACTION_EEPROM">
|
||||
<entry name = "SLUGS_ACTION_MODE_CHANGE">
|
||||
<entry name = "SLUGS_ACTION_MODE_REPORT">
|
||||
<entry name = "SLUGS_ACTION_PT_CHANGE">
|
||||
<entry name = "SLUGS_ACTION_PT_REPORT">
|
||||
<entry name = "SLUGS_ACTION_PID_CHANGE">
|
||||
<entry name = "SLUGS_ACTION_PID_REPORT">
|
||||
<entry name = "SLUGS_ACTION_WP_CHANGE">
|
||||
<entry name = "SLUGS_ACTION_WP_REPORT">
|
||||
<entry name = "SLUGS_ACTION_MLC_CHANGE">
|
||||
<entry name = "SLUGS_ACTION_MLC_REPORT">
|
||||
</enum>
|
||||
|
||||
<enum name="WP_PROTOCOL_STATE" >
|
||||
<description> Waypoint Protocol States </description>
|
||||
<entry name = "WP_PROT_IDLE">
|
||||
<entry name = "WP_PROT_LIST_REQUESTED">
|
||||
<entry name = "WP_PROT_NUM_SENT">
|
||||
<entry name = "WP_PROT_TX_WP">
|
||||
<entry name = "WP_PROT_RX_WP">
|
||||
<entry name = "WP_PROT_SENDING_WP_IDLE">
|
||||
<entry name = "WP_PROT_GETTING_WP_IDLE">
|
||||
</enum>
|
||||
|
||||
</enums> -->
|
||||
|
||||
<messages>
|
||||
|
||||
<message name="CPU_LOAD" id="170">
|
||||
<description>Sensor and DSC control loads.</description>
|
||||
<field name="sensLoad" type="uint8_t">Sensor DSC Load</field>
|
||||
<field name="ctrlLoad" type="uint8_t">Control DSC Load</field>
|
||||
<field name="batVolt" type="uint16_t">Battery Voltage in millivolts</field>
|
||||
</message>
|
||||
|
||||
<message name="AIR_DATA" id="171">
|
||||
<description>Air data for altitude and airspeed computation.</description>
|
||||
<field name="dynamicPressure" type="float">Dynamic pressure (Pa)</field>
|
||||
<field name="staticPressure" type="float">Static pressure (Pa)</field>
|
||||
<field name="temperature" type="uint16_t">Board temperature</field>
|
||||
</message>
|
||||
|
||||
<message name="SENSOR_BIAS" id="172">
|
||||
<description>Accelerometer and gyro biases.</description>
|
||||
<field name="axBias" type="float">Accelerometer X bias (m/s)</field>
|
||||
<field name="ayBias" type="float">Accelerometer Y bias (m/s)</field>
|
||||
<field name="azBias" type="float">Accelerometer Z bias (m/s)</field>
|
||||
<field name="gxBias" type="float">Gyro X bias (rad/s)</field>
|
||||
<field name="gyBias" type="float">Gyro Y bias (rad/s)</field>
|
||||
<field name="gzBias" type="float">Gyro Z bias (rad/s)</field>
|
||||
</message>
|
||||
|
||||
<message name="DIAGNOSTIC" id="173">
|
||||
<description>Configurable diagnostic messages.</description>
|
||||
<field name="diagFl1" type="float">Diagnostic float 1</field>
|
||||
<field name="diagFl2" type="float">Diagnostic float 2</field>
|
||||
<field name="diagFl3" type="float">Diagnostic float 3</field>
|
||||
<field name="diagSh1" type="int16_t">Diagnostic short 1</field>
|
||||
<field name="diagSh2" type="int16_t">Diagnostic short 2</field>
|
||||
<field name="diagSh3" type="int16_t">Diagnostic short 3</field>
|
||||
</message>
|
||||
|
||||
<message name="SLUGS_NAVIGATION" id="176">
|
||||
<description>Data used in the navigation algorithm.</description>
|
||||
<field name="u_m" type="float">Measured Airspeed prior to the Nav Filter</field>
|
||||
<field name="phi_c" type="float">Commanded Roll</field>
|
||||
<field name="theta_c" type="float">Commanded Pitch</field>
|
||||
<field name="psiDot_c" type="float">Commanded Turn rate</field>
|
||||
<field name="ay_body" type="float">Y component of the body acceleration</field>
|
||||
<field name="totalDist" type="float">Total Distance to Run on this leg of Navigation</field>
|
||||
<field name="dist2Go" type="float">Remaining distance to Run on this leg of Navigation</field>
|
||||
<field name="fromWP" type="uint8_t">Origin WP</field>
|
||||
<field name="toWP" type="uint8_t">Destination WP</field>
|
||||
</message>
|
||||
|
||||
<message name="DATA_LOG" id="177">
|
||||
<description>Configurable data log probes to be used inside Simulink.</description>
|
||||
<field name="fl_1" type="float">Log value 1 </field>
|
||||
<field name="fl_2" type="float">Log value 2 </field>
|
||||
<field name="fl_3" type="float">Log value 3 </field>
|
||||
<field name="fl_4" type="float">Log value 4 </field>
|
||||
<field name="fl_5" type="float">Log value 5 </field>
|
||||
<field name="fl_6" type="float">Log value 6 </field>
|
||||
</message>
|
||||
|
||||
<message name="GPS_DATE_TIME" id="179">
|
||||
<description>Pilot console PWM messges.</description>
|
||||
<field name="year" type="uint8_t">Year reported by Gps </field>
|
||||
<field name="month" type="uint8_t">Month reported by Gps </field>
|
||||
<field name="day" type="uint8_t">Day reported by Gps </field>
|
||||
<field name="hour" type="uint8_t">Hour reported by Gps </field>
|
||||
<field name="min" type="uint8_t">Min reported by Gps </field>
|
||||
<field name="sec" type="uint8_t">Sec reported by Gps </field>
|
||||
<field name="visSat" type="uint8_t">Visible sattelites reported by Gps </field>
|
||||
</message>
|
||||
|
||||
<message name="MID_LVL_CMDS" id="180">
|
||||
<description>Mid Level commands sent from the GS to the autopilot. These are only sent when being opperated in mid-level commands mode from the ground; for periodic report of these commands generated from the autopilot see message XXXX.</description>
|
||||
<field name="target" type="uint8_t">The system setting the commands</field>
|
||||
<field name="hCommand" type="float">Commanded Airspeed</field>
|
||||
<field name="uCommand" type="float">Log value 2 </field>
|
||||
<field name="rCommand" type="float">Log value 3 </field>
|
||||
</message>
|
||||
|
||||
|
||||
<message name="CTRL_SRFC_PT" id="181">
|
||||
<description>This message configures the Selective Passthrough mode. it allows to select which control surfaces the Pilot can control from his console. It is implemented as a bitfield as follows:
|
||||
Position Bit Code
|
||||
=================================
|
||||
15-8 Reserved
|
||||
7 dt_pass 128
|
||||
6 dla_pass 64
|
||||
5 dra_pass 32
|
||||
4 dr_pass 16
|
||||
3 dle_pass 8
|
||||
2 dre_pass 4
|
||||
1 dlf_pass 2
|
||||
0 drf_pass 1
|
||||
Where Bit 15 is the MSb. 0 = AP has control of the surface; 1 = Pilot Console has control of the surface.</description>
|
||||
<field name="target" type="uint8_t">The system setting the commands</field>
|
||||
<field name="bitfieldPt" type="uint16_t">Bitfield containing the PT configuration</field>
|
||||
</message>
|
||||
|
||||
|
||||
|
||||
<message name="SLUGS_ACTION" id="183">
|
||||
<description>Action messages focused on the SLUGS AP. </description>
|
||||
<field name="target" type="uint8_t">The system reporting the action</field>
|
||||
<field name="actionId" type="uint8_t">Action ID. See apDefinitions.h in the SLUGS /clib directory for the ID names</field>
|
||||
<field name="actionVal" type="uint16_t">Value associated with the action</field>
|
||||
</message>
|
||||
|
||||
</messages>
|
||||
</mavlink>
|
||||
@@ -0,0 +1,31 @@
|
||||
<?xml version='1.0'?>
|
||||
<mavlink>
|
||||
<version>3</version>
|
||||
<messages>
|
||||
<message id="0" name="TEST_TYPES">
|
||||
<description>Test all field types</description>
|
||||
<field type="char" name="c">char</field>
|
||||
<field type="char[10]" name="s">string</field>
|
||||
<field type="uint8_t" name="u8">uint8_t</field>
|
||||
<field type="uint16_t" name="u16">uint16_t</field>
|
||||
<field print_format="0x%08x" type="uint32_t" name="u32">uint32_t</field>
|
||||
<field type="uint64_t" name="u64">uint64_t</field>
|
||||
<field type="int8_t" name="s8">int8_t</field>
|
||||
<field type="int16_t" name="s16">int16_t</field>
|
||||
<field type="int32_t" name="s32">int32_t</field>
|
||||
<field type="int64_t" name="s64">int64_t</field>
|
||||
<field type="float" name="f">float</field>
|
||||
<field type="double" name="d">double</field>
|
||||
<field type="uint8_t[3]" name="u8_array">uint8_t_array</field>
|
||||
<field type="uint16_t[3]" name="u16_array">uint16_t_array</field>
|
||||
<field type="uint32_t[3]" name="u32_array">uint32_t_array</field>
|
||||
<field type="uint64_t[3]" name="u64_array">uint64_t_array</field>
|
||||
<field type="int8_t[3]" name="s8_array">int8_t_array</field>
|
||||
<field type="int16_t[3]" name="s16_array">int16_t_array</field>
|
||||
<field type="int32_t[3]" name="s32_array">int32_t_array</field>
|
||||
<field type="int64_t[3]" name="s64_array">int64_t_array</field>
|
||||
<field type="float[3]" name="f_array">float_array</field>
|
||||
<field type="double[3]" name="d_array">double_array</field>
|
||||
</message>
|
||||
</messages>
|
||||
</mavlink>
|
||||
@@ -0,0 +1,76 @@
|
||||
<?xml version='1.0'?>
|
||||
<mavlink>
|
||||
<include>common.xml</include>
|
||||
<enums>
|
||||
<enum name="UALBERTA_AUTOPILOT_MODE">
|
||||
<description>Available autopilot modes for ualberta uav</description>
|
||||
<entry name="MODE_MANUAL_DIRECT">
|
||||
<description>Raw input pulse widts sent to output</description>
|
||||
</entry>
|
||||
<entry name="MODE_MANUAL_SCALED">
|
||||
<description>Inputs are normalized using calibration, the converted back to raw pulse widths for output</description>
|
||||
</entry>
|
||||
<entry name="MODE_AUTO_PID_ATT">
|
||||
<description> dfsdfs</description>
|
||||
</entry>
|
||||
<entry name="MODE_AUTO_PID_VEL">
|
||||
<description> dfsfds</description>
|
||||
</entry>
|
||||
<entry name="MODE_AUTO_PID_POS">
|
||||
<description> dfsdfsdfs</description>
|
||||
</entry>
|
||||
</enum>
|
||||
<enum name="UALBERTA_NAV_MODE">
|
||||
<description>Navigation filter mode</description>
|
||||
<entry name="NAV_AHRS_INIT" />
|
||||
<entry name="NAV_AHRS">
|
||||
<description>AHRS mode</description>
|
||||
</entry>
|
||||
<entry name="NAV_INS_GPS_INIT">
|
||||
<description>INS/GPS initialization mode</description>
|
||||
</entry>
|
||||
<entry name="NAV_INS_GPS">
|
||||
<description>INS/GPS mode</description>
|
||||
</entry>
|
||||
</enum>
|
||||
<enum name="UALBERTA_PILOT_MODE">
|
||||
<description>Mode currently commanded by pilot</description>
|
||||
<entry name="PILOT_MANUAL">
|
||||
<description> sdf</description>
|
||||
</entry>
|
||||
<entry name="PILOT_AUTO">
|
||||
<description> dfs</description>
|
||||
</entry>
|
||||
<entry name="PILOT_ROTO">
|
||||
<description> Rotomotion mode </description>
|
||||
</entry>
|
||||
</enum>
|
||||
</enums>
|
||||
<messages>
|
||||
<message id="220" name="NAV_FILTER_BIAS">
|
||||
<description>Accelerometer and Gyro biases from the navigation filter</description>
|
||||
<field type="uint64_t" name="usec">Timestamp (microseconds)</field>
|
||||
<field type="float" name="accel_0">b_f[0]</field>
|
||||
<field type="float" name="accel_1">b_f[1]</field>
|
||||
<field type="float" name="accel_2">b_f[2]</field>
|
||||
<field type="float" name="gyro_0">b_f[0]</field>
|
||||
<field type="float" name="gyro_1">b_f[1]</field>
|
||||
<field type="float" name="gyro_2">b_f[2]</field>
|
||||
</message>
|
||||
<message id="221" name="RADIO_CALIBRATION">
|
||||
<description>Complete set of calibration parameters for the radio</description>
|
||||
<field type="uint16_t[3]" name="aileron">Aileron setpoints: left, center, right</field>
|
||||
<field type="uint16_t[3]" name="elevator">Elevator setpoints: nose down, center, nose up</field>
|
||||
<field type="uint16_t[3]" name="rudder">Rudder setpoints: nose left, center, nose right</field>
|
||||
<field type="uint16_t[2]" name="gyro">Tail gyro mode/gain setpoints: heading hold, rate mode</field>
|
||||
<field type="uint16_t[5]" name="pitch">Pitch curve setpoints (every 25%)</field>
|
||||
<field type="uint16_t[5]" name="throttle">Throttle curve setpoints (every 25%)</field>
|
||||
</message>
|
||||
<message id="222" name="UALBERTA_SYS_STATUS">
|
||||
<description>System status specific to ualberta uav</description>
|
||||
<field type="uint8_t" name="mode">System mode, see UALBERTA_AUTOPILOT_MODE ENUM</field>
|
||||
<field type="uint8_t" name="nav_mode">Navigation mode, see UALBERTA_NAV_MODE ENUM</field>
|
||||
<field type="uint8_t" name="pilot">Pilot mode, see UALBERTA_PILOT_MODE</field>
|
||||
</message>
|
||||
</messages>
|
||||
</mavlink>
|
||||
Reference in New Issue
Block a user