mirror of https://github.com/ArduPilot/ardupilot
MAVLink: removed MAVLink 0.9 message definitions
we are now 1.0 only
This commit is contained in:
parent
d4599aa4f0
commit
b4fc025151
|
@ -1,270 +0,0 @@
|
|||
<?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>
|
||||
</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 minimum altitude</description>
|
||||
</entry>
|
||||
<entry name="FENCE_BREACH_BOUNDARY" value="3">
|
||||
<description>Breached fence boundary</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>
|
||||
</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>
|
||||
</messages>
|
||||
</mavlink>
|
|
@ -1,941 +0,0 @@
|
|||
<?xml version='1.0'?>
|
||||
<mavlink>
|
||||
<version>2</version>
|
||||
<enums>
|
||||
<enum name="MAV_CMD">
|
||||
<description>Commands to be executed by the MAV. They can be executed on user request,
|
||||
or as part of a mission script. If the action is used in a mission, the parameter mapping
|
||||
to the waypoint/mission message is as follows:
|
||||
Param 1, Param 2, Param 3, Param 4, X: Param 5, Y:Param 6, Z:Param 7. This command list is similar what
|
||||
ARINC 424 is for commercial aircraft: A data format how to interpret waypoint/mission data.</description>
|
||||
<entry value="16" name="MAV_CMD_NAV_WAYPOINT">
|
||||
<description>Navigate to waypoint.</description>
|
||||
<param index="1">Hold time in decimal seconds. (ignored by fixed wing, time to stay at waypoint for rotary wing)</param>
|
||||
<param index="2">Acceptance radius in meters (if the sphere with this radius is hit, the waypoint counts as reached)</param>
|
||||
<param index="3">0 to pass through the WP, if > 0 radius in meters to pass by WP. Positive value for clockwise orbit, negative value for counter-clockwise orbit. Allows trajectory control.</param>
|
||||
<param index="4">Desired yaw angle at waypoint (rotary wing)</param>
|
||||
<param index="5">Latitude</param>
|
||||
<param index="6">Longitude</param>
|
||||
<param index="7">Altitude</param>
|
||||
</entry>
|
||||
<entry value="17" name="MAV_CMD_NAV_LOITER_UNLIM">
|
||||
<description>Loiter around this waypoint an unlimited amount of time</description>
|
||||
<param index="1">Empty</param>
|
||||
<param index="2">Empty</param>
|
||||
<param index="3">Radius around waypoint, in meters. If positive loiter clockwise, else counter-clockwise</param>
|
||||
<param index="4">Desired yaw angle.</param>
|
||||
<param index="5">Latitude</param>
|
||||
<param index="6">Longitude</param>
|
||||
<param index="7">Altitude</param>
|
||||
</entry>
|
||||
<entry value="18" name="MAV_CMD_NAV_LOITER_TURNS">
|
||||
<description>Loiter around this waypoint for X turns</description>
|
||||
<param index="1">Turns</param>
|
||||
<param index="2">Empty</param>
|
||||
<param index="3">Radius around waypoint, in meters. If positive loiter clockwise, else counter-clockwise</param>
|
||||
<param index="4">Desired yaw angle.</param>
|
||||
<param index="5">Latitude</param>
|
||||
<param index="6">Longitude</param>
|
||||
<param index="7">Altitude</param>
|
||||
</entry>
|
||||
<entry value="19" name="MAV_CMD_NAV_LOITER_TIME">
|
||||
<description>Loiter around this waypoint for X seconds</description>
|
||||
<param index="1">Seconds (decimal)</param>
|
||||
<param index="2">Empty</param>
|
||||
<param index="3">Radius around waypoint, in meters. If positive loiter clockwise, else counter-clockwise</param>
|
||||
<param index="4">Desired yaw angle.</param>
|
||||
<param index="5">Latitude</param>
|
||||
<param index="6">Longitude</param>
|
||||
<param index="7">Altitude</param>
|
||||
</entry>
|
||||
<entry value="20" name="MAV_CMD_NAV_RETURN_TO_LAUNCH">
|
||||
<description>Return to launch location</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>
|
||||
<entry value="21" name="MAV_CMD_NAV_LAND">
|
||||
<description>Land at location</description>
|
||||
<param index="1">Empty</param>
|
||||
<param index="2">Empty</param>
|
||||
<param index="3">Empty</param>
|
||||
<param index="4">Desired yaw angle.</param>
|
||||
<param index="5">Latitude</param>
|
||||
<param index="6">Longitude</param>
|
||||
<param index="7">Altitude</param>
|
||||
</entry>
|
||||
<entry value="22" name="MAV_CMD_NAV_TAKEOFF">
|
||||
<description>Takeoff from ground / hand</description>
|
||||
<param index="1">Minimum pitch (if airspeed sensor present), desired pitch without sensor</param>
|
||||
<param index="2">Empty</param>
|
||||
<param index="3">Empty</param>
|
||||
<param index="4">Yaw angle (if magnetometer present), ignored without magnetometer</param>
|
||||
<param index="5">Latitude</param>
|
||||
<param index="6">Longitude</param>
|
||||
<param index="7">Altitude</param>
|
||||
</entry>
|
||||
<entry value="80" name="MAV_CMD_NAV_ROI">
|
||||
<description>Sets the region of interest (ROI) for a sensor set or the
|
||||
vehicle itself. This can then be used by the vehicles control
|
||||
system to control the vehicle attitude and the attitude of various
|
||||
sensors such as cameras.</description>
|
||||
<param index="1">Region of intereset mode. (see MAV_ROI enum)</param>
|
||||
<param index="2">Waypoint index/ target ID. (see MAV_ROI enum)</param>
|
||||
<param index="3">ROI index (allows a vehicle to manage multiple ROI's)</param>
|
||||
<param index="4">Empty</param>
|
||||
<param index="5">x the location of the fixed ROI (see MAV_FRAME)</param>
|
||||
<param index="6">y</param>
|
||||
<param index="7">z</param>
|
||||
</entry>
|
||||
<entry value="81" name="MAV_CMD_NAV_PATHPLANNING">
|
||||
<description>Control autonomous path planning on the MAV.</description>
|
||||
<param index="1">0: Disable local obstacle avoidance / local path planning (without resetting map), 1: Enable local path planning, 2: Enable and reset local path planning</param>
|
||||
<param index="2">0: Disable full path planning (without resetting map), 1: Enable, 2: Enable and reset map/occupancy grid, 3: Enable and reset planned route, but not occupancy grid</param>
|
||||
<param index="3">Empty</param>
|
||||
<param index="4">Yaw angle at goal, in compass degrees, [0..360]</param>
|
||||
<param index="5">Latitude/X of goal</param>
|
||||
<param index="6">Longitude/Y of goal</param>
|
||||
<param index="7">Altitude/Z of goal</param>
|
||||
</entry>
|
||||
<entry value="95" name="MAV_CMD_NAV_LAST">
|
||||
<description>NOP - This command is only used to mark the upper limit of the NAV/ACTION commands in the enumeration</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>
|
||||
<entry value="112" name="MAV_CMD_CONDITION_DELAY">
|
||||
<description>Delay mission state machine.</description>
|
||||
<param index="1">Delay in seconds (decimal)</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>
|
||||
<entry value="113" name="MAV_CMD_CONDITION_CHANGE_ALT">
|
||||
<description>Ascend/descend at rate. Delay mission state machine until desired altitude reached.</description>
|
||||
<param index="1">Descent / Ascend rate (m/s)</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">Finish Altitude</param>
|
||||
</entry>
|
||||
<entry value="114" name="MAV_CMD_CONDITION_DISTANCE">
|
||||
<description>Delay mission state machine until within desired distance of next NAV point.</description>
|
||||
<param index="1">Distance (meters)</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>
|
||||
<entry value="115" name="MAV_CMD_CONDITION_YAW">
|
||||
<description>Reach a certain target angle.</description>
|
||||
<param index="1">target angle: [0-360], 0 is north</param>
|
||||
<param index="2">speed during yaw change:[deg per second]</param>
|
||||
<param index="3">direction: negative: counter clockwise, positive: clockwise [-1,1]</param>
|
||||
<param index="4">relative offset or absolute angle: [ 1,0]</param>
|
||||
<param index="5">Empty</param>
|
||||
<param index="6">Empty</param>
|
||||
<param index="7">Empty</param>
|
||||
</entry>
|
||||
<entry value="159" name="MAV_CMD_CONDITION_LAST">
|
||||
<description>NOP - This command is only used to mark the upper limit of the CONDITION commands in the enumeration</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>
|
||||
<entry value="176" name="MAV_CMD_DO_SET_MODE">
|
||||
<description>Set system mode.</description>
|
||||
<param index="1">Mode, as defined by ENUM MAV_MODE</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>
|
||||
<entry value="177" name="MAV_CMD_DO_JUMP">
|
||||
<description>Jump to the desired command in the mission list. Repeat this action only the specified number of times</description>
|
||||
<param index="1">Sequence number</param>
|
||||
<param index="2">Repeat count</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="178" name="MAV_CMD_DO_CHANGE_SPEED">
|
||||
<description>Change speed and/or throttle set points.</description>
|
||||
<param index="1">Speed type (0=Airspeed, 1=Ground Speed)</param>
|
||||
<param index="2">Speed (m/s, -1 indicates no change)</param>
|
||||
<param index="3">Throttle ( Percent, -1 indicates no change)</param>
|
||||
<param index="4">Empty</param>
|
||||
<param index="5">Empty</param>
|
||||
<param index="6">Empty</param>
|
||||
<param index="7">Empty</param>
|
||||
</entry>
|
||||
<entry value="179" name="MAV_CMD_DO_SET_HOME">
|
||||
<description>Changes the home location either to the current location or a specified location.</description>
|
||||
<param index="1">Use current (1=use current location, 0=use specified location)</param>
|
||||
<param index="2">Empty</param>
|
||||
<param index="3">Empty</param>
|
||||
<param index="4">Empty</param>
|
||||
<param index="5">Latitude</param>
|
||||
<param index="6">Longitude</param>
|
||||
<param index="7">Altitude</param>
|
||||
</entry>
|
||||
<entry value="180" name="MAV_CMD_DO_SET_PARAMETER">
|
||||
<description>Set a system parameter. Caution! Use of this command requires knowledge of the numeric enumeration value of the parameter.</description>
|
||||
<param index="1">Parameter number</param>
|
||||
<param index="2">Parameter value</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="181" name="MAV_CMD_DO_SET_RELAY">
|
||||
<description>Set a relay to a condition.</description>
|
||||
<param index="1">Relay number</param>
|
||||
<param index="2">Setting (1=on, 0=off, others possible depending on system hardware)</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="182" name="MAV_CMD_DO_REPEAT_RELAY">
|
||||
<description>Cycle a relay on and off for a desired number of cyles with a desired period.</description>
|
||||
<param index="1">Relay number</param>
|
||||
<param index="2">Cycle count</param>
|
||||
<param index="3">Cycle time (seconds, decimal)</param>
|
||||
<param index="4">Empty</param>
|
||||
<param index="5">Empty</param>
|
||||
<param index="6">Empty</param>
|
||||
<param index="7">Empty</param>
|
||||
</entry>
|
||||
<entry value="183" name="MAV_CMD_DO_SET_SERVO">
|
||||
<description>Set a servo to a desired PWM value.</description>
|
||||
<param index="1">Servo number</param>
|
||||
<param index="2">PWM (microseconds, 1000 to 2000 typical)</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="184" name="MAV_CMD_DO_REPEAT_SERVO">
|
||||
<description>Cycle a between its nominal setting and a desired PWM for a desired number of cycles with a desired period.</description>
|
||||
<param index="1">Servo number</param>
|
||||
<param index="2">PWM (microseconds, 1000 to 2000 typical)</param>
|
||||
<param index="3">Cycle count</param>
|
||||
<param index="4">Cycle time (seconds)</param>
|
||||
<param index="5">Empty</param>
|
||||
<param index="6">Empty</param>
|
||||
<param index="7">Empty</param>
|
||||
</entry>
|
||||
<entry value="200" name="MAV_CMD_DO_CONTROL_VIDEO">
|
||||
<description>Control onboard camera capturing.</description>
|
||||
<param index="1">Camera ID (-1 for all)</param>
|
||||
<param index="2">Transmission: 0: disabled, 1: enabled compressed, 2: enabled raw</param>
|
||||
<param index="3">Transmission mode: 0: video stream, >0: single images every n seconds (decimal)</param>
|
||||
<param index="4">Recording: 0: disabled, 1: enabled compressed, 2: enabled raw</param>
|
||||
<param index="5">Empty</param>
|
||||
<param index="6">Empty</param>
|
||||
<param index="7">Empty</param>
|
||||
</entry>
|
||||
<entry value="201" name="MAV_CMD_DO_SET_ROI">
|
||||
<description>Sets the region of interest (ROI) for a sensor set or the
|
||||
vehicle itself. This can then be used by the vehicles control
|
||||
system to control the vehicle attitude and the attitude of various
|
||||
devices such as cameras.
|
||||
</description>
|
||||
<param index="1">Region of interest mode. (see MAV_ROI enum)</param>
|
||||
<param index="2">Waypoint index/ target ID. (see MAV_ROI enum)</param>
|
||||
<param index="3">ROI index (allows a vehicle to manage multiple cameras etc.)</param>
|
||||
<param index="4">Empty</param>
|
||||
<param index="5">x the location of the fixed ROI (see MAV_FRAME)</param>
|
||||
<param index="6">y</param>
|
||||
<param index="7">z</param>
|
||||
</entry>
|
||||
<entry value="240" name="MAV_CMD_DO_LAST">
|
||||
<description>NOP - This command is only used to mark the upper limit of the DO commands in the enumeration</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>
|
||||
<entry value="241" name="MAV_CMD_PREFLIGHT_CALIBRATION">
|
||||
<description>Trigger calibration. This command will be only accepted if in pre-flight mode.</description>
|
||||
<param index="1">Gyro calibration: 0: no, 1: yes</param>
|
||||
<param index="2">Magnetometer calibration: 0: no, 1: yes</param>
|
||||
<param index="3">Ground pressure: 0: no, 1: yes</param>
|
||||
<param index="4">Radio calibration: 0: no, 1: yes</param>
|
||||
<param index="5">Empty</param>
|
||||
<param index="6">Empty</param>
|
||||
<param index="7">Empty</param>
|
||||
</entry>
|
||||
<entry value="245" name="MAV_CMD_PREFLIGHT_STORAGE">
|
||||
<description>Request storage of different parameter values and logs. This command will be only accepted if in pre-flight mode.</description>
|
||||
<param index="1">Parameter storage: 0: READ FROM FLASH/EEPROM, 1: WRITE CURRENT TO FLASH/EEPROM</param>
|
||||
<param index="2">Mission storage: 0: READ FROM FLASH/EEPROM, 1: WRITE CURRENT TO FLASH/EEPROM</param>
|
||||
<param index="3">Reserved</param>
|
||||
<param index="4">Reserved</param>
|
||||
<param index="5">Empty</param>
|
||||
<param index="6">Empty</param>
|
||||
<param index="7">Empty</param>
|
||||
</entry>
|
||||
</enum>
|
||||
<enum name="MAV_DATA_STREAM">
|
||||
<description>Data stream IDs. A data stream is not a fixed set of messages, but rather a
|
||||
recommendation to the autopilot software. Individual autopilots may or may not obey
|
||||
the recommended messages.
|
||||
</description>
|
||||
<entry value="0" name="MAV_DATA_STREAM_ALL">
|
||||
<description>Enable all data streams</description>
|
||||
</entry>
|
||||
<entry value="1" name="MAV_DATA_STREAM_RAW_SENSORS">
|
||||
<description>Enable IMU_RAW, GPS_RAW, GPS_STATUS packets.</description>
|
||||
</entry>
|
||||
<entry value="2" name="MAV_DATA_STREAM_EXTENDED_STATUS">
|
||||
<description>Enable GPS_STATUS, CONTROL_STATUS, AUX_STATUS</description>
|
||||
</entry>
|
||||
<entry value="3" name="MAV_DATA_STREAM_RC_CHANNELS">
|
||||
<description>Enable RC_CHANNELS_SCALED, RC_CHANNELS_RAW, SERVO_OUTPUT_RAW</description>
|
||||
</entry>
|
||||
<entry value="4" name="MAV_DATA_STREAM_RAW_CONTROLLER">
|
||||
<description>Enable ATTITUDE_CONTROLLER_OUTPUT, POSITION_CONTROLLER_OUTPUT, NAV_CONTROLLER_OUTPUT.</description>
|
||||
</entry>
|
||||
<entry value="6" name="MAV_DATA_STREAM_POSITION">
|
||||
<description>Enable LOCAL_POSITION, GLOBAL_POSITION/GLOBAL_POSITION_INT messages.</description>
|
||||
</entry>
|
||||
<entry value="10" name="MAV_DATA_STREAM_EXTRA1">
|
||||
<description>Dependent on the autopilot</description>
|
||||
</entry>
|
||||
<entry value="11" name="MAV_DATA_STREAM_EXTRA2">
|
||||
<description>Dependent on the autopilot</description>
|
||||
</entry>
|
||||
<entry value="12" name="MAV_DATA_STREAM_EXTRA3">
|
||||
<description>Dependent on the autopilot</description>
|
||||
</entry>
|
||||
</enum>
|
||||
<enum name="MAV_ROI">
|
||||
<description> The ROI (region of interest) for the vehicle. This can be
|
||||
be used by the vehicle for camera/vehicle attitude alignment (see
|
||||
MAV_CMD_NAV_ROI).
|
||||
</description>
|
||||
<entry value="0" name="MAV_ROI_NONE">
|
||||
<description>No region of interest.</description>
|
||||
</entry>
|
||||
<entry value="1" name="MAV_ROI_WPNEXT">
|
||||
<description>Point toward next waypoint.</description>
|
||||
</entry>
|
||||
<entry value="2" name="MAV_ROI_WPINDEX">
|
||||
<description>Point toward given waypoint.</description>
|
||||
</entry>
|
||||
<entry value="3" name="MAV_ROI_LOCATION">
|
||||
<description>Point toward fixed location.</description>
|
||||
</entry>
|
||||
<entry value="4" name="MAV_ROI_TARGET">
|
||||
<description>Point toward of given id.</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">Type of the Autopilot: 0: Generic, 1: PIXHAWK, 2: SLUGS, 3: Ardupilot (up to 15 types), defined in MAV_AUTOPILOT_TYPE ENUM</field>
|
||||
<field type="uint8_t_mavlink_version" name="mavlink_version">MAVLink version</field>
|
||||
</message>
|
||||
<message id="1" name="BOOT">
|
||||
<description>The boot message indicates that a system is starting. The onboard software version allows to keep track of onboard soft/firmware revisions.</description>
|
||||
<field type="uint32_t" name="version">The onboard software version</field>
|
||||
</message>
|
||||
<message id="2" name="SYSTEM_TIME">
|
||||
<description>The system time is the time of the master clock, typically the computer clock of the main onboard computer.</description>
|
||||
<field type="uint64_t" name="time_usec">Timestamp of the master clock in microseconds since UNIX epoch.</field>
|
||||
</message>
|
||||
<message id="3" name="PING">
|
||||
<description>A ping message either requesting or responding to a ping. This allows to measure the system latencies, including serial port, radio modem and UDP connections.</description>
|
||||
<field type="uint32_t" name="seq">PING sequence</field>
|
||||
<field type="uint8_t" name="target_system">0: request ping from all receiving systems, if greater than 0: message is a ping response and number is the system id of the requesting system</field>
|
||||
<field type="uint8_t" name="target_component">0: request ping from all receiving components, if greater than 0: message is a ping response and number is the system id of the requesting system</field>
|
||||
<field type="uint64_t" name="time">Unix timestamp in microseconds</field>
|
||||
</message>
|
||||
<message id="4" name="SYSTEM_TIME_UTC">
|
||||
<description>UTC date and time from GPS module</description>
|
||||
<field type="uint32_t" name="utc_date">GPS UTC date ddmmyy</field>
|
||||
<field type="uint32_t" name="utc_time">GPS UTC time hhmmss</field>
|
||||
</message>
|
||||
<message id="5" name="CHANGE_OPERATOR_CONTROL">
|
||||
<description>Request to control this MAV</description>
|
||||
<field type="uint8_t" name="target_system">System the GCS requests control for</field>
|
||||
<field type="uint8_t" name="control_request">0: request control of this MAV, 1: Release control of this MAV</field>
|
||||
<field type="uint8_t" name="version">0: key as plaintext, 1-255: future, different hashing/encryption variants. The GCS should in general use the safest mode possible initially and then gradually move down the encryption level if it gets a NACK message indicating an encryption mismatch.</field>
|
||||
<field type="char[25]" name="passkey">Password / Key, depending on version plaintext or encrypted. 25 or less characters, NULL terminated. The characters may involve A-Z, a-z, 0-9, and "!?,.-"</field>
|
||||
</message>
|
||||
<message id="6" name="CHANGE_OPERATOR_CONTROL_ACK">
|
||||
<description>Accept / deny control of this MAV</description>
|
||||
<field type="uint8_t" name="gcs_system_id">ID of the GCS this message </field>
|
||||
<field type="uint8_t" name="control_request">0: request control of this MAV, 1: Release control of this MAV</field>
|
||||
<field type="uint8_t" name="ack">0: ACK, 1: NACK: Wrong passkey, 2: NACK: Unsupported passkey encryption method, 3: NACK: Already under control</field>
|
||||
</message>
|
||||
<message id="7" name="AUTH_KEY">
|
||||
<description>Emit an encrypted signature / key identifying this system. PLEASE NOTE: This protocol has been kept simple, so transmitting the key requires an encrypted channel for true safety.</description>
|
||||
<field type="char[32]" name="key">key</field>
|
||||
</message>
|
||||
<message id="9" name="ACTION_ACK">
|
||||
<description>This message acknowledges an action. IMPORTANT: The acknowledgement can be also negative, e.g. the MAV rejects a reset message because it is in-flight. The action ids are defined in ENUM MAV_ACTION in mavlink/include/mavlink_types.h</description>
|
||||
<field type="uint8_t" name="action">The action id</field>
|
||||
<field type="uint8_t" name="result">0: Action DENIED, 1: Action executed</field>
|
||||
</message>
|
||||
<message id="10" name="ACTION">
|
||||
<description>An action message allows to execute a certain onboard action. These include liftoff, land, storing parameters too EEPROM, shutddown, etc. The action ids are defined in ENUM MAV_ACTION in mavlink/include/mavlink_types.h</description>
|
||||
<field type="uint8_t" name="target">The system executing the action</field>
|
||||
<field type="uint8_t" name="target_component">The component executing the action</field>
|
||||
<field type="uint8_t" name="action">The action id</field>
|
||||
</message>
|
||||
<message id="11" name="SET_MODE">
|
||||
<description>Set the system mode, as defined by enum MAV_MODE in mavlink/include/mavlink_types.h. There is no target component id as the mode is by definition for the overall aircraft, not only for one component.</description>
|
||||
<field type="uint8_t" name="target">The system setting the mode</field>
|
||||
<field type="uint8_t" name="mode">The new mode</field>
|
||||
</message>
|
||||
<message id="12" name="SET_NAV_MODE">
|
||||
<description>Set the system navigation mode, as defined by enum MAV_NAV_MODE in mavlink/include/mavlink_types.h. The navigation mode applies to the whole aircraft and thus all components.</description>
|
||||
<field type="uint8_t" name="target">The system setting the mode</field>
|
||||
<field type="uint8_t" name="nav_mode">The new navigation mode</field>
|
||||
</message>
|
||||
<message id="20" name="PARAM_REQUEST_READ">
|
||||
<description>Request to read the onboard parameter with the param_id string id. Onboard parameters are stored as key[const char*] -> value[float]. This allows to send a parameter to any other component (such as the GCS) without the need of previous knowledge of possible parameter names. Thus the same GCS can store different parameters for different autopilots. See also http://qgroundcontrol.org/parameter_interface for a full documentation of QGroundControl and IMU code.</description>
|
||||
<field type="uint8_t" name="target_system">System ID</field>
|
||||
<field type="uint8_t" name="target_component">Component ID</field>
|
||||
<field type="array[15]" name="param_id">Onboard parameter id</field>
|
||||
<field type="int16_t" name="param_index">Parameter index. Send -1 to use the param ID field as identifier</field>
|
||||
</message>
|
||||
<message id="21" name="PARAM_REQUEST_LIST">
|
||||
<description>Request all parameters of this component. After his request, all parameters are emitted.</description>
|
||||
<field type="uint8_t" name="target_system">System ID</field>
|
||||
<field type="uint8_t" name="target_component">Component ID</field>
|
||||
</message>
|
||||
<message id="22" name="PARAM_VALUE">
|
||||
<description>Emit the value of a onboard parameter. The inclusion of param_count and param_index in the message allows the recipient to keep track of received parameters and allows him to re-request missing parameters after a loss or timeout.</description>
|
||||
<field type="array[15]" name="param_id">Onboard parameter id</field>
|
||||
<field type="float" name="param_value">Onboard parameter value</field>
|
||||
<field type="uint16_t" name="param_count">Total number of onboard parameters</field>
|
||||
<field type="uint16_t" name="param_index">Index of this onboard parameter</field>
|
||||
</message>
|
||||
<message id="23" name="PARAM_SET">
|
||||
<description>Set a parameter value TEMPORARILY to RAM. It will be reset to default on system reboot. Send the ACTION MAV_ACTION_STORAGE_WRITE to PERMANENTLY write the RAM contents to EEPROM. IMPORTANT: The receiving component should acknowledge the new parameter value by sending a param_value message to all communication partners. This will also ensure that multiple GCS all have an up-to-date list of all parameters. If the sending GCS did not receive a PARAM_VALUE message within its timeout time, it should re-send the PARAM_SET message.</description>
|
||||
<field type="uint8_t" name="target_system">System ID</field>
|
||||
<field type="uint8_t" name="target_component">Component ID</field>
|
||||
<field type="array[15]" name="param_id">Onboard parameter id</field>
|
||||
<field type="float" name="param_value">Onboard parameter value</field>
|
||||
</message>
|
||||
<message id="25" name="GPS_RAW_INT">
|
||||
<description>The global position, as returned by the Global Positioning System (GPS). This is
|
||||
NOT the global position estimate of the sytem, but rather a RAW sensor value. See message GLOBAL_POSITION for the global position estimate. Coordinate frame is right-handed, Z-axis up (GPS frame)</description>
|
||||
<field type="uint64_t" name="usec">Timestamp (microseconds since UNIX epoch or microseconds since system boot)</field>
|
||||
<field type="uint8_t" name="fix_type">0-1: no fix, 2: 2D fix, 3: 3D fix. Some applications will not use the value of this field unless it is at least two, so always correctly fill in the fix.</field>
|
||||
<field type="int32_t" name="lat">Latitude in 1E7 degrees</field>
|
||||
<field type="int32_t" name="lon">Longitude in 1E7 degrees</field>
|
||||
<field type="int32_t" name="alt">Altitude in 1E3 meters (millimeters)</field>
|
||||
<field type="float" name="eph">GPS HDOP</field>
|
||||
<field type="float" name="epv">GPS VDOP</field>
|
||||
<field type="float" name="v">GPS ground speed (m/s)</field>
|
||||
<field type="float" name="hdg">Compass heading in degrees, 0..360 degrees</field>
|
||||
</message>
|
||||
<message id="26" name="SCALED_IMU">
|
||||
<description>The RAW IMU readings for the usual 9DOF sensor setup. This message should contain the scaled values to the described units</description>
|
||||
<field type="uint64_t" name="usec">Timestamp (microseconds since UNIX epoch or microseconds since system boot)</field>
|
||||
<field type="int16_t" name="xacc">X acceleration (mg)</field>
|
||||
<field type="int16_t" name="yacc">Y acceleration (mg)</field>
|
||||
<field type="int16_t" name="zacc">Z acceleration (mg)</field>
|
||||
<field type="int16_t" name="xgyro">Angular speed around X axis (millirad /sec)</field>
|
||||
<field type="int16_t" name="ygyro">Angular speed around Y axis (millirad /sec)</field>
|
||||
<field type="int16_t" name="zgyro">Angular speed around Z axis (millirad /sec)</field>
|
||||
<field type="int16_t" name="xmag">X Magnetic field (milli tesla)</field>
|
||||
<field type="int16_t" name="ymag">Y Magnetic field (milli tesla)</field>
|
||||
<field type="int16_t" name="zmag">Z Magnetic field (milli tesla)</field>
|
||||
</message>
|
||||
<message id="27" name="GPS_STATUS">
|
||||
<description>The positioning status, as reported by GPS. This message is intended to display status information about each satellite visible to the receiver. See message GLOBAL_POSITION for the global position estimate. This message can contain information for up to 20 satellites.</description>
|
||||
<field type="uint8_t" name="satellites_visible">Number of satellites visible</field>
|
||||
<field type="array[20]" name="satellite_prn">Global satellite ID</field>
|
||||
<field type="array[20]" name="satellite_used">0: Satellite not used, 1: used for localization</field>
|
||||
<field type="array[20]" name="satellite_elevation">Elevation (0: right on top of receiver, 90: on the horizon) of satellite</field>
|
||||
<field type="array[20]" name="satellite_azimuth">Direction of satellite, 0: 0 deg, 255: 360 deg.</field>
|
||||
<field type="array[20]" name="satellite_snr">Signal to noise ratio of satellite</field>
|
||||
</message>
|
||||
<message id="28" name="RAW_IMU">
|
||||
<description>The RAW IMU readings for the usual 9DOF sensor setup. This message should always contain the true raw values without any scaling to allow data capture and system debugging.</description>
|
||||
<field type="uint64_t" name="usec">Timestamp (microseconds since UNIX epoch or microseconds since system boot)</field>
|
||||
<field type="int16_t" name="xacc">X acceleration (raw)</field>
|
||||
<field type="int16_t" name="yacc">Y acceleration (raw)</field>
|
||||
<field type="int16_t" name="zacc">Z acceleration (raw)</field>
|
||||
<field type="int16_t" name="xgyro">Angular speed around X axis (raw)</field>
|
||||
<field type="int16_t" name="ygyro">Angular speed around Y axis (raw)</field>
|
||||
<field type="int16_t" name="zgyro">Angular speed around Z axis (raw)</field>
|
||||
<field type="int16_t" name="xmag">X Magnetic field (raw)</field>
|
||||
<field type="int16_t" name="ymag">Y Magnetic field (raw)</field>
|
||||
<field type="int16_t" name="zmag">Z Magnetic field (raw)</field>
|
||||
</message>
|
||||
<message id="29" name="RAW_PRESSURE">
|
||||
<description>The RAW pressure readings for the typical setup of one absolute pressure and one differential pressure sensor. The sensor values should be the raw, UNSCALED ADC values.</description>
|
||||
<field type="uint64_t" name="usec">Timestamp (microseconds since UNIX epoch or microseconds since system boot)</field>
|
||||
<field type="int16_t" name="press_abs">Absolute pressure (raw)</field>
|
||||
<field type="int16_t" name="press_diff1">Differential pressure 1 (raw)</field>
|
||||
<field type="int16_t" name="press_diff2">Differential pressure 2 (raw)</field>
|
||||
<field type="int16_t" name="temperature">Raw Temperature measurement (raw)</field>
|
||||
</message>
|
||||
<message id="38" name="SCALED_PRESSURE">
|
||||
<description>The pressure readings for the typical setup of one absolute and differential pressure sensor. The units are as specified in each field.</description>
|
||||
<field type="uint64_t" name="usec">Timestamp (microseconds since UNIX epoch or microseconds since system boot)</field>
|
||||
<field type="float" name="press_abs">Absolute pressure (hectopascal)</field>
|
||||
<field type="float" name="press_diff">Differential pressure 1 (hectopascal)</field>
|
||||
<field type="int16_t" name="temperature">Temperature measurement (0.01 degrees celsius)</field>
|
||||
</message>
|
||||
<message id="30" name="ATTITUDE">
|
||||
<description>The attitude in the aeronautical frame (right-handed, Z-down, X-front, Y-right).</description>
|
||||
<field type="uint64_t" name="usec">Timestamp (microseconds since UNIX epoch or microseconds since system boot)</field>
|
||||
<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="rollspeed">Roll angular speed (rad/s)</field>
|
||||
<field type="float" name="pitchspeed">Pitch angular speed (rad/s)</field>
|
||||
<field type="float" name="yawspeed">Yaw angular speed (rad/s)</field>
|
||||
</message>
|
||||
<message id="31" name="LOCAL_POSITION">
|
||||
<description>The filtered local position (e.g. fused computer vision and accelerometers). Coordinate frame is right-handed, Z-axis down (aeronautical frame)</description>
|
||||
<field type="uint64_t" name="usec">Timestamp (microseconds since UNIX epoch or microseconds since system boot)</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="vx">X Speed</field>
|
||||
<field type="float" name="vy">Y Speed</field>
|
||||
<field type="float" name="vz">Z Speed</field>
|
||||
</message>
|
||||
<message id="33" name="GLOBAL_POSITION">
|
||||
<description>The filtered global position (e.g. fused GPS and accelerometers). Coordinate frame is right-handed, Z-axis up (GPS frame)</description>
|
||||
<field type="uint64_t" name="usec">Timestamp (microseconds since unix epoch)</field>
|
||||
<field type="float" name="lat">Latitude, in degrees</field>
|
||||
<field type="float" name="lon">Longitude, in degrees</field>
|
||||
<field type="float" name="alt">Absolute altitude, in meters</field>
|
||||
<field type="float" name="vx">X Speed (in Latitude direction, positive: going north)</field>
|
||||
<field type="float" name="vy">Y Speed (in Longitude direction, positive: going east)</field>
|
||||
<field type="float" name="vz">Z Speed (in Altitude direction, positive: going up)</field>
|
||||
</message>
|
||||
<message id="32" name="GPS_RAW">
|
||||
<description>The global position, as returned by the Global Positioning System (GPS). This is
|
||||
NOT the global position estimate of the sytem, but rather a RAW sensor value. See message GLOBAL_POSITION for the global position estimate. Coordinate frame is right-handed, Z-axis up (GPS frame)</description>
|
||||
<field type="uint64_t" name="usec">Timestamp (microseconds since UNIX epoch or microseconds since system boot)</field>
|
||||
<field type="uint8_t" name="fix_type">0-1: no fix, 2: 2D fix, 3: 3D fix. Some applications will not use the value of this field unless it is at least two, so always correctly fill in the fix.</field>
|
||||
<field type="float" name="lat">Latitude in degrees</field>
|
||||
<field type="float" name="lon">Longitude in degrees</field>
|
||||
<field type="float" name="alt">Altitude in meters</field>
|
||||
<field type="float" name="eph">GPS HDOP</field>
|
||||
<field type="float" name="epv">GPS VDOP</field>
|
||||
<field type="float" name="v">GPS ground speed</field>
|
||||
<field type="float" name="hdg">Compass heading in degrees, 0..360 degrees</field>
|
||||
</message>
|
||||
<message id="34" name="SYS_STATUS">
|
||||
<description>The general system state. If the system is following the MAVLink standard, the system state is mainly defined by three orthogonal states/modes: The system mode, which is either LOCKED (motors shut down and locked), MANUAL (system under RC control), GUIDED (system with autonomous position control, position setpoint controlled manually) or AUTO (system guided by path/waypoint planner). The NAV_MODE defined the current flight state: LIFTOFF (often an open-loop maneuver), LANDING, WAYPOINTS or VECTOR. This represents the internal navigation state machine. The system status shows wether the system is currently active or not and if an emergency occured. During the CRITICAL and EMERGENCY states the MAV is still considered to be active, but should start emergency procedures autonomously. After a failure occured it should first move from active to critical to allow manual intervention and then move to emergency after a certain timeout.</description>
|
||||
<field type="uint8_t" name="mode">System mode, see MAV_MODE ENUM in mavlink/include/mavlink_types.h</field>
|
||||
<field type="uint8_t" name="nav_mode">Navigation mode, see MAV_NAV_MODE ENUM</field>
|
||||
<field type="uint8_t" name="status">System status flag, see MAV_STATUS ENUM</field>
|
||||
<field type="uint16_t" name="load">Maximum usage in percent of the mainloop time, (0%: 0, 100%: 1000) should be always below 1000</field>
|
||||
<field type="uint16_t" name="vbat">Battery voltage, in millivolts (1 = 1 millivolt)</field>
|
||||
<field type="uint16_t" name="battery_remaining">Remaining battery energy: (0%: 0, 100%: 1000)</field>
|
||||
<field type="uint16_t" name="packet_drop">Dropped packets (packets that were corrupted on reception on the MAV)</field>
|
||||
</message>
|
||||
<message id="35" name="RC_CHANNELS_RAW">
|
||||
<description>The RAW values of the RC channels received. The standard PPM modulation is as follows: 1000 microseconds: 0%, 2000 microseconds: 100%. Individual receivers/transmitters might violate this specification.</description>
|
||||
<field type="uint16_t" name="chan1_raw">RC channel 1 value, in microseconds</field>
|
||||
<field type="uint16_t" name="chan2_raw">RC channel 2 value, in microseconds</field>
|
||||
<field type="uint16_t" name="chan3_raw">RC channel 3 value, in microseconds</field>
|
||||
<field type="uint16_t" name="chan4_raw">RC channel 4 value, in microseconds</field>
|
||||
<field type="uint16_t" name="chan5_raw">RC channel 5 value, in microseconds</field>
|
||||
<field type="uint16_t" name="chan6_raw">RC channel 6 value, in microseconds</field>
|
||||
<field type="uint16_t" name="chan7_raw">RC channel 7 value, in microseconds</field>
|
||||
<field type="uint16_t" name="chan8_raw">RC channel 8 value, in microseconds</field>
|
||||
<field type="uint8_t" name="rssi">Receive signal strength indicator, 0: 0%, 255: 100%</field>
|
||||
</message>
|
||||
<message id="36" name="RC_CHANNELS_SCALED">
|
||||
<description>The scaled values of the RC channels received. (-100%) -10000, (0%) 0, (100%) 10000</description>
|
||||
<field type="int16_t" name="chan1_scaled">RC channel 1 value scaled, (-100%) -10000, (0%) 0, (100%) 10000</field>
|
||||
<field type="int16_t" name="chan2_scaled">RC channel 2 value scaled, (-100%) -10000, (0%) 0, (100%) 10000</field>
|
||||
<field type="int16_t" name="chan3_scaled">RC channel 3 value scaled, (-100%) -10000, (0%) 0, (100%) 10000</field>
|
||||
<field type="int16_t" name="chan4_scaled">RC channel 4 value scaled, (-100%) -10000, (0%) 0, (100%) 10000</field>
|
||||
<field type="int16_t" name="chan5_scaled">RC channel 5 value scaled, (-100%) -10000, (0%) 0, (100%) 10000</field>
|
||||
<field type="int16_t" name="chan6_scaled">RC channel 6 value scaled, (-100%) -10000, (0%) 0, (100%) 10000</field>
|
||||
<field type="int16_t" name="chan7_scaled">RC channel 7 value scaled, (-100%) -10000, (0%) 0, (100%) 10000</field>
|
||||
<field type="int16_t" name="chan8_scaled">RC channel 8 value scaled, (-100%) -10000, (0%) 0, (100%) 10000</field>
|
||||
<field type="uint8_t" name="rssi">Receive signal strength indicator, 0: 0%, 255: 100%</field>
|
||||
</message>
|
||||
<message id="37" name="SERVO_OUTPUT_RAW">
|
||||
<description>The RAW values of the servo outputs (for RC input from the remote, use the RC_CHANNELS messages). The standard PPM modulation is as follows: 1000 microseconds: 0%, 2000 microseconds: 100%.</description>
|
||||
<field type="uint16_t" name="servo1_raw">Servo output 1 value, in microseconds</field>
|
||||
<field type="uint16_t" name="servo2_raw">Servo output 2 value, in microseconds</field>
|
||||
<field type="uint16_t" name="servo3_raw">Servo output 3 value, in microseconds</field>
|
||||
<field type="uint16_t" name="servo4_raw">Servo output 4 value, in microseconds</field>
|
||||
<field type="uint16_t" name="servo5_raw">Servo output 5 value, in microseconds</field>
|
||||
<field type="uint16_t" name="servo6_raw">Servo output 6 value, in microseconds</field>
|
||||
<field type="uint16_t" name="servo7_raw">Servo output 7 value, in microseconds</field>
|
||||
<field type="uint16_t" name="servo8_raw">Servo output 8 value, in microseconds</field>
|
||||
</message>
|
||||
<message id="39" name="WAYPOINT">
|
||||
<description>Message encoding a waypoint. This message is emitted to announce
|
||||
the presence of a waypoint and to set a waypoint on the system. The waypoint can be either in x, y, z meters (type: LOCAL) or x:lat, y:lon, z:altitude. Local frame is Z-down, right handed, global frame is Z-up, right handed</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="seq">Sequence</field>
|
||||
<field type="uint8_t" name="frame">The coordinate system of the waypoint. see MAV_FRAME in mavlink_types.h</field>
|
||||
<field type="uint8_t" name="command">The scheduled action for the waypoint. see MAV_COMMAND in common.xml MAVLink specs</field>
|
||||
<field type="uint8_t" name="current">false:0, true:1</field>
|
||||
<field type="uint8_t" name="autocontinue">autocontinue to next wp</field>
|
||||
<field type="float" name="param1">PARAM1 / For NAV command waypoints: Radius in which the waypoint is accepted as reached, in meters</field>
|
||||
<field type="float" name="param2">PARAM2 / For NAV command waypoints: Time that the MAV should stay inside the PARAM1 radius before advancing, in milliseconds</field>
|
||||
<field type="float" name="param3">PARAM3 / For LOITER command waypoints: Orbit to circle around the waypoint, in meters. If positive the orbit direction should be clockwise, if negative the orbit direction should be counter-clockwise.</field>
|
||||
<field type="float" name="param4">PARAM4 / For NAV and LOITER command waypoints: Yaw orientation in degrees, [0..360] 0 = NORTH</field>
|
||||
<field type="float" name="x">PARAM5 / local: x position, global: latitude</field>
|
||||
<field type="float" name="y">PARAM6 / y position: global: longitude</field>
|
||||
<field type="float" name="z">PARAM7 / z position: global: altitude</field>
|
||||
</message>
|
||||
<message id="40" name="WAYPOINT_REQUEST">
|
||||
<description>Request the information of the waypoint with the sequence number seq. The response of the system to this message should be a WAYPOINT message.</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="seq">Sequence</field>
|
||||
</message>
|
||||
<message id="41" name="WAYPOINT_SET_CURRENT">
|
||||
<description>Set the waypoint with sequence number seq as current waypoint. This means that the MAV will continue to this waypoint on the shortest path (not following the waypoints in-between).</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="seq">Sequence</field>
|
||||
</message>
|
||||
<message id="42" name="WAYPOINT_CURRENT">
|
||||
<description>Message that announces the sequence number of the current active waypoint. The MAV will fly towards this waypoint.</description>
|
||||
<field type="uint16_t" name="seq">Sequence</field>
|
||||
</message>
|
||||
<message id="43" name="WAYPOINT_REQUEST_LIST">
|
||||
<description>Request the overall list of waypoints from the system/component.</description>
|
||||
<field type="uint8_t" name="target_system">System ID</field>
|
||||
<field type="uint8_t" name="target_component">Component ID</field>
|
||||
</message>
|
||||
<message id="44" name="WAYPOINT_COUNT">
|
||||
<description>This message is emitted as response to WAYPOINT_REQUEST_LIST by the MAV. The GCS can then request the individual waypoints based on the knowledge of the total number of waypoints.</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="count">Number of Waypoints in the Sequence</field>
|
||||
</message>
|
||||
<message id="45" name="WAYPOINT_CLEAR_ALL">
|
||||
<description>Delete all waypoints at once.</description>
|
||||
<field type="uint8_t" name="target_system">System ID</field>
|
||||
<field type="uint8_t" name="target_component">Component ID</field>
|
||||
</message>
|
||||
<message id="46" name="WAYPOINT_REACHED">
|
||||
<description>A certain waypoint has been reached. The system will either hold this position (or circle on the orbit) or (if the autocontinue on the WP was set) continue to the next waypoint.</description>
|
||||
<field type="uint16_t" name="seq">Sequence</field>
|
||||
</message>
|
||||
<message id="47" name="WAYPOINT_ACK">
|
||||
<description>Ack message during waypoint handling. The type field states if this message is a positive ack (type=0) or if an error happened (type=non-zero).</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="type">0: OK, 1: Error</field>
|
||||
</message>
|
||||
<message id="48" name="GPS_SET_GLOBAL_ORIGIN">
|
||||
<description>As local waypoints exist, the global waypoint reference allows to transform between the local coordinate frame and the global (GPS) coordinate frame. This can be necessary when e.g. in- and outdoor settings are connected and the MAV should move from in- to outdoor.</description>
|
||||
<field type="uint8_t" name="target_system">System ID</field>
|
||||
<field type="uint8_t" name="target_component">Component ID</field>
|
||||
<field type="int32_t" name="latitude">global position * 1E7</field>
|
||||
<field type="int32_t" name="longitude">global position * 1E7</field>
|
||||
<field type="int32_t" name="altitude">global position * 1000</field>
|
||||
</message>
|
||||
<message id="49" name="GPS_LOCAL_ORIGIN_SET">
|
||||
<description>Once the MAV sets a new GPS-Local correspondence, this message announces the origin (0,0,0) position</description>
|
||||
<field type="int32_t" name="latitude">Latitude (WGS84), expressed as * 1E7</field>
|
||||
<field type="int32_t" name="longitude">Longitude (WGS84), expressed as * 1E7</field>
|
||||
<field type="int32_t" name="altitude">Altitude(WGS84), expressed as * 1000</field>
|
||||
</message>
|
||||
<message id="50" name="LOCAL_POSITION_SETPOINT_SET">
|
||||
<description>Set the setpoint for a local position controller. This is the position in local coordinates the MAV should fly to. This message is sent by the path/waypoint planner to the onboard position controller. As some MAVs have a degree of freedom in yaw (e.g. all helicopters/quadrotors), the desired yaw angle is part of the message.</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</field>
|
||||
<field type="float" name="y">y position</field>
|
||||
<field type="float" name="z">z position</field>
|
||||
<field type="float" name="yaw">Desired yaw angle</field>
|
||||
</message>
|
||||
<message id="51" name="LOCAL_POSITION_SETPOINT">
|
||||
<description>Transmit the current local setpoint of the controller to other MAVs (collision avoidance) and to the GCS.</description>
|
||||
<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">Desired yaw angle</field>
|
||||
</message>
|
||||
<message id="52" name="CONTROL_STATUS">
|
||||
<field type="uint8_t" name="position_fix">Position fix: 0: lost, 2: 2D position fix, 3: 3D position fix </field>
|
||||
<field type="uint8_t" name="vision_fix">Vision position fix: 0: lost, 1: 2D local position hold, 2: 2D global position fix, 3: 3D global position fix </field>
|
||||
<field type="uint8_t" name="gps_fix">GPS position fix: 0: no reception, 1: Minimum 1 satellite, but no position fix, 2: 2D position fix, 3: 3D position fix </field>
|
||||
<field type="uint8_t" name="ahrs_health">Attitude estimation health: 0: poor, 255: excellent</field>
|
||||
<field type="uint8_t" name="control_att">0: Attitude control disabled, 1: enabled</field>
|
||||
<field type="uint8_t" name="control_pos_xy">0: X, Y position control disabled, 1: enabled</field>
|
||||
<field type="uint8_t" name="control_pos_z">0: Z position control disabled, 1: enabled</field>
|
||||
<field type="uint8_t" name="control_pos_yaw">0: Yaw angle control disabled, 1: enabled</field>
|
||||
</message>
|
||||
<message id="53" name="SAFETY_SET_ALLOWED_AREA">
|
||||
<description>Set a safety zone (volume), which is defined by two corners of a cube. This message can be used to tell the MAV which setpoints/waypoints to accept and which to reject. Safety areas are often enforced by national or competition regulations.</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="frame">Coordinate frame, as defined by MAV_FRAME enum in mavlink_types.h. Can be either global, GPS, right-handed with Z axis up or local, right handed, Z axis down.</field>
|
||||
<field type="float" name="p1x">x position 1 / Latitude 1</field>
|
||||
<field type="float" name="p1y">y position 1 / Longitude 1</field>
|
||||
<field type="float" name="p1z">z position 1 / Altitude 1</field>
|
||||
<field type="float" name="p2x">x position 2 / Latitude 2</field>
|
||||
<field type="float" name="p2y">y position 2 / Longitude 2</field>
|
||||
<field type="float" name="p2z">z position 2 / Altitude 2</field>
|
||||
</message>
|
||||
<message id="54" name="SAFETY_ALLOWED_AREA">
|
||||
<description>Read out the safety zone the MAV currently assumes.</description>
|
||||
<field type="uint8_t" name="frame">Coordinate frame, as defined by MAV_FRAME enum in mavlink_types.h. Can be either global, GPS, right-handed with Z axis up or local, right handed, Z axis down.</field>
|
||||
<field type="float" name="p1x">x position 1 / Latitude 1</field>
|
||||
<field type="float" name="p1y">y position 1 / Longitude 1</field>
|
||||
<field type="float" name="p1z">z position 1 / Altitude 1</field>
|
||||
<field type="float" name="p2x">x position 2 / Latitude 2</field>
|
||||
<field type="float" name="p2y">y position 2 / Longitude 2</field>
|
||||
<field type="float" name="p2z">z position 2 / Altitude 2</field>
|
||||
</message>
|
||||
<message id="55" name="SET_ROLL_PITCH_YAW_THRUST">
|
||||
<description>Set roll, pitch and yaw.</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="roll">Desired roll angle in radians</field>
|
||||
<field type="float" name="pitch">Desired pitch angle in radians</field>
|
||||
<field type="float" name="yaw">Desired yaw angle in radians</field>
|
||||
<field type="float" name="thrust">Collective thrust, normalized to 0 .. 1</field>
|
||||
</message>
|
||||
<message id="56" name="SET_ROLL_PITCH_YAW_SPEED_THRUST">
|
||||
<description>Set roll, pitch and yaw.</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="roll_speed">Desired roll angular speed in rad/s</field>
|
||||
<field type="float" name="pitch_speed">Desired pitch angular speed in rad/s</field>
|
||||
<field type="float" name="yaw_speed">Desired yaw angular speed in rad/s</field>
|
||||
<field type="float" name="thrust">Collective thrust, normalized to 0 .. 1</field>
|
||||
</message>
|
||||
<message id="57" name="ROLL_PITCH_YAW_THRUST_SETPOINT">
|
||||
<description>Setpoint in roll, pitch, yaw currently active on the system.</description>
|
||||
<field type="uint64_t" name="time_us">Timestamp in micro seconds since unix epoch</field>
|
||||
<field type="float" name="roll">Desired roll angle in radians</field>
|
||||
<field type="float" name="pitch">Desired pitch angle in radians</field>
|
||||
<field type="float" name="yaw">Desired yaw angle in radians</field>
|
||||
<field type="float" name="thrust">Collective thrust, normalized to 0 .. 1</field>
|
||||
</message>
|
||||
<message id="58" name="ROLL_PITCH_YAW_SPEED_THRUST_SETPOINT">
|
||||
<description>Setpoint in rollspeed, pitchspeed, yawspeed currently active on the system.</description>
|
||||
<field type="uint64_t" name="time_us">Timestamp in micro seconds since unix epoch</field>
|
||||
<field type="float" name="roll_speed">Desired roll angular speed in rad/s</field>
|
||||
<field type="float" name="pitch_speed">Desired pitch angular speed in rad/s</field>
|
||||
<field type="float" name="yaw_speed">Desired yaw angular speed in rad/s</field>
|
||||
<field type="float" name="thrust">Collective thrust, normalized to 0 .. 1</field>
|
||||
</message>
|
||||
<message id="62" name="NAV_CONTROLLER_OUTPUT">
|
||||
<description>Outputs of the APM navigation controller. The primary use of this message is to check the response and signs
|
||||
of the controller before actual flight and to assist with tuning controller parameters </description>
|
||||
<field type="float" name="nav_roll">Current desired roll in degrees</field>
|
||||
<field type="float" name="nav_pitch">Current desired pitch in degrees</field>
|
||||
<field type="int16_t" name="nav_bearing">Current desired heading in degrees</field>
|
||||
<field type="int16_t" name="target_bearing">Bearing to current waypoint/target in degrees</field>
|
||||
<field type="uint16_t" name="wp_dist">Distance to active waypoint in meters</field>
|
||||
<field type="float" name="alt_error">Current altitude error in meters</field>
|
||||
<field type="float" name="aspd_error">Current airspeed error in meters/second</field>
|
||||
<field type="float" name="xtrack_error">Current crosstrack error on x-y plane in meters</field>
|
||||
</message>
|
||||
<message id="63" name="POSITION_TARGET">
|
||||
<description>The goal position of the system. This position is the input to any navigation or path planning algorithm and does NOT represent the current controller setpoint.</description>
|
||||
<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="64" name="STATE_CORRECTION">
|
||||
<description>Corrects the systems state by adding an error correction term to the position and velocity, and by rotating the attitude by a correction angle.</description>
|
||||
<field type="float" name="xErr">x position error</field>
|
||||
<field type="float" name="yErr">y position error</field>
|
||||
<field type="float" name="zErr">z position error</field>
|
||||
<field type="float" name="rollErr">roll error (radians)</field>
|
||||
<field type="float" name="pitchErr">pitch error (radians)</field>
|
||||
<field type="float" name="yawErr">yaw error (radians)</field>
|
||||
<field type="float" name="vxErr">x velocity</field>
|
||||
<field type="float" name="vyErr">y velocity</field>
|
||||
<field type="float" name="vzErr">z velocity</field>
|
||||
</message>
|
||||
<message id="65" name="SET_ALTITUDE">
|
||||
<field type="uint8_t" name="target">The system setting the altitude</field>
|
||||
<field type="uint32_t" name="mode">The new altitude in meters</field>
|
||||
</message>
|
||||
<message id="66" name="REQUEST_DATA_STREAM">
|
||||
<field type="uint8_t" name="target_system">The target requested to send the message stream.</field>
|
||||
<field type="uint8_t" name="target_component">The target requested to send the message stream.</field>
|
||||
<field type="uint8_t" name="req_stream_id">The ID of the requested message type</field>
|
||||
<field type="uint16_t" name="req_message_rate">Update rate in Hertz</field>
|
||||
<field type="uint8_t" name="start_stop">1 to start sending, 0 to stop sending.</field>
|
||||
</message>
|
||||
<message id="67" name="HIL_STATE">
|
||||
<description>This packet is useful for high throughput
|
||||
applications such as hardware in the loop simulations.
|
||||
</description>
|
||||
<field type="uint64_t" name="usec">Timestamp (microseconds since UNIX epoch or microseconds since system boot)</field>
|
||||
<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="rollspeed">Roll angular speed (rad/s)</field>
|
||||
<field type="float" name="pitchspeed">Pitch angular speed (rad/s)</field>
|
||||
<field type="float" name="yawspeed">Yaw angular speed (rad/s)</field>
|
||||
<field type="int32_t" name="lat">Latitude, expressed as * 1E7</field>
|
||||
<field type="int32_t" name="lon">Longitude, expressed as * 1E7</field>
|
||||
<field type="int32_t" name="alt">Altitude in meters, expressed as * 1000 (millimeters)</field>
|
||||
<field type="int16_t" name="vx">Ground X Speed (Latitude), expressed as m/s * 100</field>
|
||||
<field type="int16_t" name="vy">Ground Y Speed (Longitude), expressed as m/s * 100</field>
|
||||
<field type="int16_t" name="vz">Ground Z Speed (Altitude), expressed as m/s * 100</field>
|
||||
<field type="int16_t" name="xacc">X acceleration (mg)</field>
|
||||
<field type="int16_t" name="yacc">Y acceleration (mg)</field>
|
||||
<field type="int16_t" name="zacc">Z acceleration (mg)</field>
|
||||
</message>
|
||||
<message id="68" name="HIL_CONTROLS">
|
||||
<description>Hardware in the loop control outputs</description>
|
||||
<field type="uint64_t" name="time_us">Timestamp (microseconds since UNIX epoch or microseconds since system boot)</field>
|
||||
<field type="float" name="roll_ailerons">Control output -3 .. 1</field>
|
||||
<field type="float" name="pitch_elevator">Control output -1 .. 1</field>
|
||||
<field type="float" name="yaw_rudder">Control output -1 .. 1</field>
|
||||
<field type="float" name="throttle">Throttle 0 .. 1</field>
|
||||
<field type="uint8_t" name="mode">System mode (MAV_MODE)</field>
|
||||
<field type="uint8_t" name="nav_mode">Navigation mode (MAV_NAV_MODE)</field>
|
||||
</message>
|
||||
<message id="69" name="MANUAL_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>
|
||||
<message id="70" name="RC_CHANNELS_OVERRIDE">
|
||||
<description>The RAW values of the RC channels sent to the MAV to override info received from the RC radio. A value of -1 means no change to that channel. A value of 0 means control of that channel should be released back to the RC radio. The standard PPM modulation is as follows: 1000 microseconds: 0%, 2000 microseconds: 100%. Individual receivers/transmitters might violate this specification.</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="chan1_raw">RC channel 1 value, in microseconds</field>
|
||||
<field type="uint16_t" name="chan2_raw">RC channel 2 value, in microseconds</field>
|
||||
<field type="uint16_t" name="chan3_raw">RC channel 3 value, in microseconds</field>
|
||||
<field type="uint16_t" name="chan4_raw">RC channel 4 value, in microseconds</field>
|
||||
<field type="uint16_t" name="chan5_raw">RC channel 5 value, in microseconds</field>
|
||||
<field type="uint16_t" name="chan6_raw">RC channel 6 value, in microseconds</field>
|
||||
<field type="uint16_t" name="chan7_raw">RC channel 7 value, in microseconds</field>
|
||||
<field type="uint16_t" name="chan8_raw">RC channel 8 value, in microseconds</field>
|
||||
</message>
|
||||
<message id="73" name="GLOBAL_POSITION_INT">
|
||||
<description>The filtered global position (e.g. fused GPS and accelerometers). The position is in GPS-frame (right-handed, Z-up)</description>
|
||||
<field type="int32_t" name="lat">Latitude, expressed as * 1E7</field>
|
||||
<field type="int32_t" name="lon">Longitude, expressed as * 1E7</field>
|
||||
<field type="int32_t" name="alt">Altitude in meters, expressed as * 1000 (millimeters)</field>
|
||||
<field type="int16_t" name="vx">Ground X Speed (Latitude), expressed as m/s * 100</field>
|
||||
<field type="int16_t" name="vy">Ground Y Speed (Longitude), expressed as m/s * 100</field>
|
||||
<field type="int16_t" name="vz">Ground Z Speed (Altitude), expressed as m/s * 100</field>
|
||||
</message>
|
||||
<message id="74" name="VFR_HUD">
|
||||
<description>Metrics typically displayed on a HUD for fixed wing aircraft</description>
|
||||
<field type="float" name="airspeed">Current airspeed in m/s</field>
|
||||
<field type="float" name="groundspeed">Current ground speed in m/s</field>
|
||||
<field type="int16_t" name="heading">Current heading in degrees, in compass units (0..360, 0=north)</field>
|
||||
<field type="uint16_t" name="throttle">Current throttle setting in integer percent, 0 to 100</field>
|
||||
<field type="float" name="alt">Current altitude (MSL), in meters</field>
|
||||
<field type="float" name="climb">Current climb rate in meters/second</field>
|
||||
</message>
|
||||
<message id="75" name="COMMAND">
|
||||
<description>Send a command with up to four parameters to the MAV</description>
|
||||
<field type="uint8_t" name="target_system">System which should execute the command</field>
|
||||
<field type="uint8_t" name="target_component">Component which should execute the command, 0 for all components</field>
|
||||
<field type="uint8_t" name="command">Command ID, as defined by MAV_CMD enum.</field>
|
||||
<field type="uint8_t" name="confirmation">0: First transmission of this command. 1-255: Confirmation transmissions (e.g. for kill command)</field>
|
||||
<field type="float" name="param1">Parameter 1, as defined by MAV_CMD enum.</field>
|
||||
<field type="float" name="param2">Parameter 2, as defined by MAV_CMD enum.</field>
|
||||
<field type="float" name="param3">Parameter 3, as defined by MAV_CMD enum.</field>
|
||||
<field type="float" name="param4">Parameter 4, as defined by MAV_CMD enum.</field>
|
||||
</message>
|
||||
<message id="76" name="COMMAND_ACK">
|
||||
<description>Report status of a command. Includes feedback wether the command was executed</description>
|
||||
<field type="float" name="command">Current airspeed in m/s</field>
|
||||
<field type="float" name="result">1: Action ACCEPTED and EXECUTED, 1: Action TEMPORARY REJECTED/DENIED, 2: Action PERMANENTLY DENIED, 3: Action UNKNOWN/UNSUPPORTED, 4: Requesting CONFIRMATION</field>
|
||||
</message>
|
||||
<message id="100" name="OPTICAL_FLOW">
|
||||
<description>Optical flow from a flow sensor (e.g. optical mouse sensor)</description>
|
||||
<field type="uint64_t" name="time">Timestamp (UNIX)</field>
|
||||
<field type="uint8_t" name="sensor_id">Sensor ID</field>
|
||||
<field type="int16_t" name="flow_x">Flow in pixels in x-sensor direction</field>
|
||||
<field type="int16_t" name="flow_y">Flow in pixels in y-sensor direction</field>
|
||||
<field type="uint8_t" name="quality">Optical flow quality / confidence. 0: bad, 255: maximum quality</field>
|
||||
<field type="float" name="ground_distance">Ground distance in meters</field>
|
||||
</message>
|
||||
<message id="140" name="OBJECT_DETECTION_EVENT">
|
||||
<description>Object has been detected</description>
|
||||
<field type="uint32_t" name="time">Timestamp in milliseconds since system boot</field>
|
||||
<field type="uint16_t" name="object_id">Object ID</field>
|
||||
<field type="uint8_t" name="type">Object type: 0: image, 1: letter, 2: ground vehicle, 3: air vehicle, 4: surface vehicle, 5: sub-surface vehicle, 6: human, 7: animal</field>
|
||||
<field type="char[20]" name="name">Name of the object as defined by the detector</field>
|
||||
<field type="uint8_t" name="quality">Detection quality / confidence. 0: bad, 255: maximum confidence</field>
|
||||
<field type="float" name="bearing">Angle of the object with respect to the body frame in NED coordinates in radians. 0: front</field>
|
||||
<field type="float" name="distance">Ground distance in meters</field>
|
||||
</message>
|
||||
<!-- MESSAGE IDs 80 - 250: Space for custom messages in individual projectname_messages.xml files -->
|
||||
<message id="251" name="DEBUG_VECT">
|
||||
<field type="char[10]" name="name">Name</field>
|
||||
<field type="uint64_t" name="usec">Timestamp</field>
|
||||
<field type="float" name="x">x</field>
|
||||
<field type="float" name="y">y</field>
|
||||
<field type="float" name="z">z</field>
|
||||
</message>
|
||||
<message id="252" name="NAMED_VALUE_FLOAT">
|
||||
<description>Send a key-value pair as float. The use of this message is discouraged for normal packets, but a quite efficient way for testing new messages and getting experimental debug output.</description>
|
||||
<field type="char[10]" name="name">Name of the debug variable</field>
|
||||
<field type="float" name="value">Floating point value</field>
|
||||
</message>
|
||||
<message id="253" name="NAMED_VALUE_INT">
|
||||
<description>Send a key-value pair as integer. The use of this message is discouraged for normal packets, but a quite efficient way for testing new messages and getting experimental debug output.</description>
|
||||
<field type="char[10]" name="name">Name of the debug variable</field>
|
||||
<field type="int32_t" name="value">Signed integer value</field>
|
||||
</message>
|
||||
<message id="254" name="STATUSTEXT">
|
||||
<description>Status text message. These messages are printed in yellow in the COMM console of QGroundControl. WARNING: They consume quite some bandwidth, so use only for important status and error messages. If implemented wisely, these messages are buffered on the MCU and sent only at a limited rate (e.g. 10 Hz).</description>
|
||||
<field type="uint8_t" name="severity">Severity of status, 0 = info message, 255 = critical fault</field>
|
||||
<field type="int8_t[50]" name="text">Status text message, without null termination character</field>
|
||||
</message>
|
||||
<message id="255" name="DEBUG">
|
||||
<description>Send a debug value. The index is used to discriminate between values. These values show up in the plot of QGroundControl as DEBUG N.</description>
|
||||
<field type="uint8_t" name="ind">index of debug variable</field>
|
||||
<field type="float" name="value">DEBUG value</field>
|
||||
</message>
|
||||
</messages>
|
||||
</mavlink>
|
|
@ -1,13 +0,0 @@
|
|||
<?xml version='1.0'?>
|
||||
<mavlink>
|
||||
<version>2</version>
|
||||
<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">Type of the Autopilot: 0: Generic, 1: PIXHAWK, 2: SLUGS, 3: Ardupilot (up to 15 types), defined in MAV_AUTOPILOT_TYPE ENUM</field>
|
||||
<field type="uint8_t_mavlink_version" name="mavlink_version">MAVLink version</field>
|
||||
</message>
|
||||
</messages>
|
||||
</mavlink>
|
|
@ -1,227 +0,0 @@
|
|||
<?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>
|
||||
</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="156" name="VISION_POSITION_ESTIMATE">
|
||||
<field type="uint64_t" name="usec">Timestamp (milliseconds)</field>
|
||||
<field type="float" name="x">Global X position</field>
|
||||
<field type="float" name="y">Global Y position</field>
|
||||
<field type="float" name="z">Global Z position</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>
|
||||
</message>
|
||||
<message id="157" name="VICON_POSITION_ESTIMATE">
|
||||
<field type="uint64_t" name="usec">Timestamp (milliseconds)</field>
|
||||
<field type="float" name="x">Global X position</field>
|
||||
<field type="float" name="y">Global Y position</field>
|
||||
<field type="float" name="z">Global Z position</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>
|
||||
</message>
|
||||
<message id="158" name="VISION_SPEED_ESTIMATE">
|
||||
<field type="uint64_t" name="usec">Timestamp (milliseconds)</field>
|
||||
<field type="float" name="x">Global X speed</field>
|
||||
<field type="float" name="y">Global Y speed</field>
|
||||
<field type="float" name="z">Global Z speed</field>
|
||||
</message>
|
||||
<message id="159" name="POSITION_CONTROL_SETPOINT_SET">
|
||||
<description>Message sent to the MAV to set a new position as reference for the controller</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="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="160" name="POSITION_CONTROL_OFFSET_SET">
|
||||
<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="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>
|
|
@ -1,144 +0,0 @@
|
|||
<?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">
|
||||
Sensor and DSC control loads.
|
||||
<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">
|
||||
Air data for altitude and airspeed computation.
|
||||
<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">
|
||||
Accelerometer and gyro biases.
|
||||
<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">
|
||||
Configurable diagnostic messages.
|
||||
<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">
|
||||
Data used in the navigation algorithm.
|
||||
<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">
|
||||
Configurable data log probes to be used inside Simulink
|
||||
<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">
|
||||
Pilot console PWM messges.
|
||||
<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">
|
||||
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.
|
||||
<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">
|
||||
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.
|
||||
<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">
|
||||
Action messages focused on the SLUGS AP.
|
||||
<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>
|
|
@ -1,31 +0,0 @@
|
|||
<?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 type="uint32_t" name="u32" print_format="0x%08x">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>
|
|
@ -1,54 +0,0 @@
|
|||
<?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">Raw input pulse widts sent to output</entry>
|
||||
<entry name="MODE_MANUAL_SCALED">Inputs are normalized using calibration, the converted back to raw pulse widths for output</entry>
|
||||
<entry name="MODE_AUTO_PID_ATT"> dfsdfs</entry>
|
||||
<entry name="MODE_AUTO_PID_VEL"> dfsfds</entry>
|
||||
<entry name="MODE_AUTO_PID_POS"> dfsdfsdfs</entry>
|
||||
</enum>
|
||||
<enum name="UALBERTA_NAV_MODE">
|
||||
<description>Navigation filter mode</description>
|
||||
<entry name="NAV_AHRS_INIT" />
|
||||
<entry name="NAV_AHRS">AHRS mode</entry>
|
||||
<entry name="NAV_INS_GPS_INIT">INS/GPS initialization mode</entry>
|
||||
<entry name="NAV_INS_GPS">INS/GPS mode</entry>
|
||||
</enum>
|
||||
<enum name="UALBERTA_PILOT_MODE">
|
||||
<description>Mode currently commanded by pilot</description>
|
||||
<entry name="PILOT_MANUAL"> sdf</entry>
|
||||
<entry name="PILOT_AUTO"> dfs</entry>
|
||||
<entry name="PILOT_ROTO"> Rotomotion mode </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>
|
Loading…
Reference in New Issue