Commit 550c3f5b authored by PX4BuildBot's avatar PX4BuildBot

autogenerated headers for rev...

autogenerated headers for rev https://github.com/mavlink/mavlink/tree/fe88d5fd12f94066a42b80ed44f7284c9b9e72a3
parent 404f50f2
......@@ -7,7 +7,7 @@
#ifndef MAVLINK_VERSION_H
#define MAVLINK_VERSION_H
#define MAVLINK_BUILD_DATE "Wed Jul 18 2018"
#define MAVLINK_BUILD_DATE "Thu Jul 19 2018"
#define MAVLINK_WIRE_PROTOCOL_VERSION "2.0"
#define MAVLINK_MAX_DIALECT_PAYLOAD_SIZE 255
......
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
......@@ -7,7 +7,7 @@
#ifndef MAVLINK_VERSION_H
#define MAVLINK_VERSION_H
#define MAVLINK_BUILD_DATE "Wed Jul 18 2018"
#define MAVLINK_BUILD_DATE "Thu Jul 19 2018"
#define MAVLINK_WIRE_PROTOCOL_VERSION "2.0"
#define MAVLINK_MAX_DIALECT_PAYLOAD_SIZE 255
......
......@@ -7,7 +7,7 @@
#ifndef MAVLINK_VERSION_H
#define MAVLINK_VERSION_H
#define MAVLINK_BUILD_DATE "Wed Jul 18 2018"
#define MAVLINK_BUILD_DATE "Thu Jul 19 2018"
#define MAVLINK_WIRE_PROTOCOL_VERSION "2.0"
#define MAVLINK_MAX_DIALECT_PAYLOAD_SIZE 255
......
......@@ -6,8 +6,8 @@
MAVPACKED(
typedef struct __mavlink_button_change_t {
uint32_t time_boot_ms; /*< Timestamp (time since system boot).*/
uint32_t last_change_ms; /*< Time of last change of button state*/
uint8_t state; /*< Bitmap for state of buttons*/
uint32_t last_change_ms; /*< Time of last change of button state.*/
uint8_t state; /*< Bitmap for state of buttons.*/
}) mavlink_button_change_t;
#define MAVLINK_MSG_ID_BUTTON_CHANGE_LEN 9
......@@ -48,8 +48,8 @@ typedef struct __mavlink_button_change_t {
* @param msg The MAVLink message to compress the data into
*
* @param time_boot_ms Timestamp (time since system boot).
* @param last_change_ms Time of last change of button state
* @param state Bitmap for state of buttons
* @param last_change_ms Time of last change of button state.
* @param state Bitmap for state of buttons.
* @return length of the message in bytes (excluding serial stream start sign)
*/
static inline uint16_t mavlink_msg_button_change_pack(uint8_t system_id, uint8_t component_id, mavlink_message_t* msg,
......@@ -82,8 +82,8 @@ static inline uint16_t mavlink_msg_button_change_pack(uint8_t system_id, uint8_t
* @param chan The MAVLink channel this message will be sent over
* @param msg The MAVLink message to compress the data into
* @param time_boot_ms Timestamp (time since system boot).
* @param last_change_ms Time of last change of button state
* @param state Bitmap for state of buttons
* @param last_change_ms Time of last change of button state.
* @param state Bitmap for state of buttons.
* @return length of the message in bytes (excluding serial stream start sign)
*/
static inline uint16_t mavlink_msg_button_change_pack_chan(uint8_t system_id, uint8_t component_id, uint8_t chan,
......@@ -142,8 +142,8 @@ static inline uint16_t mavlink_msg_button_change_encode_chan(uint8_t system_id,
* @param chan MAVLink channel to send the message
*
* @param time_boot_ms Timestamp (time since system boot).
* @param last_change_ms Time of last change of button state
* @param state Bitmap for state of buttons
* @param last_change_ms Time of last change of button state.
* @param state Bitmap for state of buttons.
*/
#ifdef MAVLINK_USE_CONVENIENCE_FUNCTIONS
......@@ -226,7 +226,7 @@ static inline uint32_t mavlink_msg_button_change_get_time_boot_ms(const mavlink_
/**
* @brief Get field last_change_ms from button_change message
*
* @return Time of last change of button state
* @return Time of last change of button state.
*/
static inline uint32_t mavlink_msg_button_change_get_last_change_ms(const mavlink_message_t* msg)
{
......@@ -236,7 +236,7 @@ static inline uint32_t mavlink_msg_button_change_get_last_change_ms(const mavlin
/**
* @brief Get field state from button_change message
*
* @return Bitmap for state of buttons
* @return Bitmap for state of buttons.
*/
static inline uint8_t mavlink_msg_button_change_get_state(const mavlink_message_t* msg)
{
......
......@@ -14,7 +14,7 @@ typedef struct __mavlink_estimator_status_t {
float tas_ratio; /*< True airspeed innovation test ratio*/
float pos_horiz_accuracy; /*< Horizontal position 1-STD accuracy relative to the EKF local origin*/
float pos_vert_accuracy; /*< Vertical position 1-STD accuracy relative to the EKF local origin*/
uint16_t flags; /*< Integer bitmap indicating which EKF outputs are valid.*/
uint16_t flags; /*< Bitmap indicating which EKF outputs are valid.*/
}) mavlink_estimator_status_t;
#define MAVLINK_MSG_ID_ESTIMATOR_STATUS_LEN 42
......@@ -69,7 +69,7 @@ typedef struct __mavlink_estimator_status_t {
* @param msg The MAVLink message to compress the data into
*
* @param time_usec Timestamp (UNIX Epoch time or time since system boot). The receiving end can infer timestamp format (since 1.1.1970 or since system boot) by checking for the magnitude the number.
* @param flags Integer bitmap indicating which EKF outputs are valid.
* @param flags Bitmap indicating which EKF outputs are valid.
* @param vel_ratio Velocity innovation test ratio
* @param pos_horiz_ratio Horizontal position innovation test ratio
* @param pos_vert_ratio Vertical position innovation test ratio
......@@ -124,7 +124,7 @@ static inline uint16_t mavlink_msg_estimator_status_pack(uint8_t system_id, uint
* @param chan The MAVLink channel this message will be sent over
* @param msg The MAVLink message to compress the data into
* @param time_usec Timestamp (UNIX Epoch time or time since system boot). The receiving end can infer timestamp format (since 1.1.1970 or since system boot) by checking for the magnitude the number.
* @param flags Integer bitmap indicating which EKF outputs are valid.
* @param flags Bitmap indicating which EKF outputs are valid.
* @param vel_ratio Velocity innovation test ratio
* @param pos_horiz_ratio Horizontal position innovation test ratio
* @param pos_vert_ratio Vertical position innovation test ratio
......@@ -205,7 +205,7 @@ static inline uint16_t mavlink_msg_estimator_status_encode_chan(uint8_t system_i
* @param chan MAVLink channel to send the message
*
* @param time_usec Timestamp (UNIX Epoch time or time since system boot). The receiving end can infer timestamp format (since 1.1.1970 or since system boot) by checking for the magnitude the number.
* @param flags Integer bitmap indicating which EKF outputs are valid.
* @param flags Bitmap indicating which EKF outputs are valid.
* @param vel_ratio Velocity innovation test ratio
* @param pos_horiz_ratio Horizontal position innovation test ratio
* @param pos_vert_ratio Vertical position innovation test ratio
......@@ -324,7 +324,7 @@ static inline uint64_t mavlink_msg_estimator_status_get_time_usec(const mavlink_
/**
* @brief Get field flags from estimator_status message
*
* @return Integer bitmap indicating which EKF outputs are valid.
* @return Bitmap indicating which EKF outputs are valid.
*/
static inline uint16_t mavlink_msg_estimator_status_get_flags(const mavlink_message_t* msg)
{
......
......@@ -8,7 +8,7 @@ typedef struct __mavlink_heartbeat_t {
uint32_t custom_mode; /*< A bitfield for use for autopilot-specific flags*/
uint8_t type; /*< Type of the MAV (quadrotor, helicopter, etc.)*/
uint8_t autopilot; /*< Autopilot type / class.*/
uint8_t base_mode; /*< System mode bitfield.*/
uint8_t base_mode; /*< System mode bitmap.*/
uint8_t system_status; /*< System status flag.*/
uint8_t mavlink_version; /*< MAVLink version, not writable by user, gets added by protocol because of magic data type: uint8_t_mavlink_version*/
}) mavlink_heartbeat_t;
......@@ -58,7 +58,7 @@ typedef struct __mavlink_heartbeat_t {
*
* @param type Type of the MAV (quadrotor, helicopter, etc.)
* @param autopilot Autopilot type / class.
* @param base_mode System mode bitfield.
* @param base_mode System mode bitmap.
* @param custom_mode A bitfield for use for autopilot-specific flags
* @param system_status System status flag.
* @return length of the message in bytes (excluding serial stream start sign)
......@@ -100,7 +100,7 @@ static inline uint16_t mavlink_msg_heartbeat_pack(uint8_t system_id, uint8_t com
* @param msg The MAVLink message to compress the data into
* @param type Type of the MAV (quadrotor, helicopter, etc.)
* @param autopilot Autopilot type / class.
* @param base_mode System mode bitfield.
* @param base_mode System mode bitmap.
* @param custom_mode A bitfield for use for autopilot-specific flags
* @param system_status System status flag.
* @return length of the message in bytes (excluding serial stream start sign)
......@@ -168,7 +168,7 @@ static inline uint16_t mavlink_msg_heartbeat_encode_chan(uint8_t system_id, uint
*
* @param type Type of the MAV (quadrotor, helicopter, etc.)
* @param autopilot Autopilot type / class.
* @param base_mode System mode bitfield.
* @param base_mode System mode bitmap.
* @param custom_mode A bitfield for use for autopilot-specific flags
* @param system_status System status flag.
*/
......@@ -275,7 +275,7 @@ static inline uint8_t mavlink_msg_heartbeat_get_autopilot(const mavlink_message_
/**
* @brief Get field base_mode from heartbeat message
*
* @return System mode bitfield.
* @return System mode bitmap.
*/
static inline uint8_t mavlink_msg_heartbeat_get_base_mode(const mavlink_message_t* msg)
{
......
......@@ -15,7 +15,7 @@ typedef struct __mavlink_high_latency_t {
int16_t altitude_amsl; /*< Altitude above mean sea level*/
int16_t altitude_sp; /*< Altitude setpoint relative to the home position*/
uint16_t wp_distance; /*< distance to target*/
uint8_t base_mode; /*< System mode bitfield, as defined by MAV_MODE_FLAG enum.*/
uint8_t base_mode; /*< Bitmap of enabled system modes.*/
uint8_t landed_state; /*< The landed state. Is set to MAV_LANDED_STATE_UNDEFINED if landed state is unknown.*/
int8_t throttle; /*< throttle (percentage)*/
uint8_t airspeed; /*< airspeed*/
......@@ -110,7 +110,7 @@ typedef struct __mavlink_high_latency_t {
* @param component_id ID of this component (e.g. 200 for IMU)
* @param msg The MAVLink message to compress the data into
*
* @param base_mode System mode bitfield, as defined by MAV_MODE_FLAG enum.
* @param base_mode Bitmap of enabled system modes.
* @param custom_mode A bitfield for use for autopilot-specific flags.
* @param landed_state The landed state. Is set to MAV_LANDED_STATE_UNDEFINED if landed state is unknown.
* @param roll roll
......@@ -207,7 +207,7 @@ static inline uint16_t mavlink_msg_high_latency_pack(uint8_t system_id, uint8_t
* @param component_id ID of this component (e.g. 200 for IMU)
* @param chan The MAVLink channel this message will be sent over
* @param msg The MAVLink message to compress the data into
* @param base_mode System mode bitfield, as defined by MAV_MODE_FLAG enum.
* @param base_mode Bitmap of enabled system modes.
* @param custom_mode A bitfield for use for autopilot-specific flags.
* @param landed_state The landed state. Is set to MAV_LANDED_STATE_UNDEFINED if landed state is unknown.
* @param roll roll
......@@ -330,7 +330,7 @@ static inline uint16_t mavlink_msg_high_latency_encode_chan(uint8_t system_id, u
* @brief Send a high_latency message
* @param chan MAVLink channel to send the message
*
* @param base_mode System mode bitfield, as defined by MAV_MODE_FLAG enum.
* @param base_mode Bitmap of enabled system modes.
* @param custom_mode A bitfield for use for autopilot-specific flags.
* @param landed_state The landed state. Is set to MAV_LANDED_STATE_UNDEFINED if landed state is unknown.
* @param roll roll
......@@ -510,7 +510,7 @@ static inline void mavlink_msg_high_latency_send_buf(mavlink_message_t *msgbuf,
/**
* @brief Get field base_mode from high_latency message
*
* @return System mode bitfield, as defined by MAV_MODE_FLAG enum.
* @return Bitmap of enabled system modes.
*/
static inline uint8_t mavlink_msg_high_latency_get_base_mode(const mavlink_message_t* msg)
{
......
......@@ -5,9 +5,9 @@
MAVPACKED(
typedef struct __mavlink_sys_status_t {
uint32_t onboard_control_sensors_present; /*< Bitmap showing which onboard controllers and sensors are present. Value of 0: not present. Value of 1: present. Indices defined by ENUM MAV_SYS_STATUS_SENSOR*/
uint32_t onboard_control_sensors_enabled; /*< Bitmap showing which onboard controllers and sensors are enabled: Value of 0: not enabled. Value of 1: enabled. Indices defined by ENUM MAV_SYS_STATUS_SENSOR*/
uint32_t onboard_control_sensors_health; /*< Bitmap showing which onboard controllers and sensors are operational or have an error: Value of 0: not enabled. Value of 1: enabled. Indices defined by ENUM MAV_SYS_STATUS_SENSOR*/
uint32_t onboard_control_sensors_present; /*< Bitmap showing which onboard controllers and sensors are present. Value of 0: not present. Value of 1: present.*/
uint32_t onboard_control_sensors_enabled; /*< Bitmap showing which onboard controllers and sensors are enabled: Value of 0: not enabled. Value of 1: enabled.*/
uint32_t onboard_control_sensors_health; /*< Bitmap showing which onboard controllers and sensors are operational or have an error: Value of 0: not enabled. Value of 1: enabled.*/
uint16_t load; /*< Maximum usage in percent of the mainloop time. Values: [0-1000] - should always be below 1000*/
uint16_t voltage_battery; /*< Battery voltage*/
int16_t current_battery; /*< Battery current, -1: autopilot does not measure the current*/
......@@ -77,9 +77,9 @@ typedef struct __mavlink_sys_status_t {
* @param component_id ID of this component (e.g. 200 for IMU)
* @param msg The MAVLink message to compress the data into
*
* @param onboard_control_sensors_present Bitmap showing which onboard controllers and sensors are present. Value of 0: not present. Value of 1: present. Indices defined by ENUM MAV_SYS_STATUS_SENSOR
* @param onboard_control_sensors_enabled Bitmap showing which onboard controllers and sensors are enabled: Value of 0: not enabled. Value of 1: enabled. Indices defined by ENUM MAV_SYS_STATUS_SENSOR
* @param onboard_control_sensors_health Bitmap showing which onboard controllers and sensors are operational or have an error: Value of 0: not enabled. Value of 1: enabled. Indices defined by ENUM MAV_SYS_STATUS_SENSOR
* @param onboard_control_sensors_present Bitmap showing which onboard controllers and sensors are present. Value of 0: not present. Value of 1: present.
* @param onboard_control_sensors_enabled Bitmap showing which onboard controllers and sensors are enabled: Value of 0: not enabled. Value of 1: enabled.
* @param onboard_control_sensors_health Bitmap showing which onboard controllers and sensors are operational or have an error: Value of 0: not enabled. Value of 1: enabled.
* @param load Maximum usage in percent of the mainloop time. Values: [0-1000] - should always be below 1000
* @param voltage_battery Battery voltage
* @param current_battery Battery current, -1: autopilot does not measure the current
......@@ -141,9 +141,9 @@ static inline uint16_t mavlink_msg_sys_status_pack(uint8_t system_id, uint8_t co
* @param component_id ID of this component (e.g. 200 for IMU)
* @param chan The MAVLink channel this message will be sent over
* @param msg The MAVLink message to compress the data into
* @param onboard_control_sensors_present Bitmap showing which onboard controllers and sensors are present. Value of 0: not present. Value of 1: present. Indices defined by ENUM MAV_SYS_STATUS_SENSOR
* @param onboard_control_sensors_enabled Bitmap showing which onboard controllers and sensors are enabled: Value of 0: not enabled. Value of 1: enabled. Indices defined by ENUM MAV_SYS_STATUS_SENSOR
* @param onboard_control_sensors_health Bitmap showing which onboard controllers and sensors are operational or have an error: Value of 0: not enabled. Value of 1: enabled. Indices defined by ENUM MAV_SYS_STATUS_SENSOR
* @param onboard_control_sensors_present Bitmap showing which onboard controllers and sensors are present. Value of 0: not present. Value of 1: present.
* @param onboard_control_sensors_enabled Bitmap showing which onboard controllers and sensors are enabled: Value of 0: not enabled. Value of 1: enabled.
* @param onboard_control_sensors_health Bitmap showing which onboard controllers and sensors are operational or have an error: Value of 0: not enabled. Value of 1: enabled.
* @param load Maximum usage in percent of the mainloop time. Values: [0-1000] - should always be below 1000
* @param voltage_battery Battery voltage
* @param current_battery Battery current, -1: autopilot does not measure the current
......@@ -231,9 +231,9 @@ static inline uint16_t mavlink_msg_sys_status_encode_chan(uint8_t system_id, uin
* @brief Send a sys_status message
* @param chan MAVLink channel to send the message
*
* @param onboard_control_sensors_present Bitmap showing which onboard controllers and sensors are present. Value of 0: not present. Value of 1: present. Indices defined by ENUM MAV_SYS_STATUS_SENSOR
* @param onboard_control_sensors_enabled Bitmap showing which onboard controllers and sensors are enabled: Value of 0: not enabled. Value of 1: enabled. Indices defined by ENUM MAV_SYS_STATUS_SENSOR
* @param onboard_control_sensors_health Bitmap showing which onboard controllers and sensors are operational or have an error: Value of 0: not enabled. Value of 1: enabled. Indices defined by ENUM MAV_SYS_STATUS_SENSOR
* @param onboard_control_sensors_present Bitmap showing which onboard controllers and sensors are present. Value of 0: not present. Value of 1: present.
* @param onboard_control_sensors_enabled Bitmap showing which onboard controllers and sensors are enabled: Value of 0: not enabled. Value of 1: enabled.
* @param onboard_control_sensors_health Bitmap showing which onboard controllers and sensors are operational or have an error: Value of 0: not enabled. Value of 1: enabled.
* @param load Maximum usage in percent of the mainloop time. Values: [0-1000] - should always be below 1000
* @param voltage_battery Battery voltage
* @param current_battery Battery current, -1: autopilot does not measure the current
......@@ -356,7 +356,7 @@ static inline void mavlink_msg_sys_status_send_buf(mavlink_message_t *msgbuf, ma
/**
* @brief Get field onboard_control_sensors_present from sys_status message
*
* @return Bitmap showing which onboard controllers and sensors are present. Value of 0: not present. Value of 1: present. Indices defined by ENUM MAV_SYS_STATUS_SENSOR
* @return Bitmap showing which onboard controllers and sensors are present. Value of 0: not present. Value of 1: present.
*/
static inline uint32_t mavlink_msg_sys_status_get_onboard_control_sensors_present(const mavlink_message_t* msg)
{
......@@ -366,7 +366,7 @@ static inline uint32_t mavlink_msg_sys_status_get_onboard_control_sensors_presen
/**
* @brief Get field onboard_control_sensors_enabled from sys_status message
*
* @return Bitmap showing which onboard controllers and sensors are enabled: Value of 0: not enabled. Value of 1: enabled. Indices defined by ENUM MAV_SYS_STATUS_SENSOR
* @return Bitmap showing which onboard controllers and sensors are enabled: Value of 0: not enabled. Value of 1: enabled.
*/
static inline uint32_t mavlink_msg_sys_status_get_onboard_control_sensors_enabled(const mavlink_message_t* msg)
{
......@@ -376,7 +376,7 @@ static inline uint32_t mavlink_msg_sys_status_get_onboard_control_sensors_enable
/**
* @brief Get field onboard_control_sensors_health from sys_status message
*
* @return Bitmap showing which onboard controllers and sensors are operational or have an error: Value of 0: not enabled. Value of 1: enabled. Indices defined by ENUM MAV_SYS_STATUS_SENSOR
* @return Bitmap showing which onboard controllers and sensors are operational or have an error: Value of 0: not enabled. Value of 1: enabled.
*/
static inline uint32_t mavlink_msg_sys_status_get_onboard_control_sensors_health(const mavlink_message_t* msg)
{
......
......@@ -7,7 +7,7 @@
#ifndef MAVLINK_VERSION_H
#define MAVLINK_VERSION_H
#define MAVLINK_BUILD_DATE "Wed Jul 18 2018"
#define MAVLINK_BUILD_DATE "Thu Jul 19 2018"
#define MAVLINK_WIRE_PROTOCOL_VERSION "2.0"
#define MAVLINK_MAX_DIALECT_PAYLOAD_SIZE 255
......
......@@ -7,7 +7,7 @@
#ifndef MAVLINK_VERSION_H
#define MAVLINK_VERSION_H
#define MAVLINK_BUILD_DATE "Wed Jul 18 2018"
#define MAVLINK_BUILD_DATE "Thu Jul 19 2018"
#define MAVLINK_WIRE_PROTOCOL_VERSION "2.0"
#define MAVLINK_MAX_DIALECT_PAYLOAD_SIZE 255
......
......@@ -7,7 +7,7 @@
#ifndef MAVLINK_VERSION_H
#define MAVLINK_VERSION_H
#define MAVLINK_BUILD_DATE "Wed Jul 18 2018"
#define MAVLINK_BUILD_DATE "Thu Jul 19 2018"
#define MAVLINK_WIRE_PROTOCOL_VERSION "2.0"
#define MAVLINK_MAX_DIALECT_PAYLOAD_SIZE 255
......
......@@ -221,6 +221,16 @@
<param index="6">Empty</param>
<param index="7">Empty</param>
</entry>
<entry value="42650" name="MAV_CMD_FLASH_BOOTLOADER">
<description>Update the bootloader</description>
<param index="1">Empty</param>
<param index="2">Empty</param>
<param index="3">Empty</param>
<param index="4">Empty</param>
<param index="5">Magic number - set to 290876 to actually flash</param>
<param index="6">Empty</param>
<param index="7">Empty</param>
</entry>
</enum>
<!-- AP_Limits Enums -->
<enum name="LIMITS_STATE">
......@@ -863,6 +873,7 @@
<entry value="3" name="MAG_CAL_RUNNING_STEP_TWO"/>
<entry value="4" name="MAG_CAL_SUCCESS"/>
<entry value="5" name="MAG_CAL_FAILED"/>
<entry value="6" name="MAG_CAL_BAD_ORIENTATION"/>
</enum>
<enum name="MAV_REMOTE_LOG_DATA_BLOCK_COMMANDS">
<description>Special ACK block numbers control activation of dataflash log streaming</description>
......@@ -1377,6 +1388,10 @@
<field type="float" name="offdiag_x">X off-diagonal (matrix 12 and 21)</field>
<field type="float" name="offdiag_y">Y off-diagonal (matrix 13 and 31)</field>
<field type="float" name="offdiag_z">Z off-diagonal (matrix 32 and 23)</field>
<extensions/>
<field type="float" name="orientation_confidence">Confidence in orientation (higher is better)</field>
<field type="uint8_t" name="old_orientation">orientation before calibration</field>
<field type="uint8_t" name="new_orientation">orientation after calibration</field>
</message>
<!-- EKF status message from autopilot to GCS. -->
<message id="193" name="EKF_STATUS_REPORT">
......@@ -1557,5 +1572,32 @@
<field name="AOA" type="float" units="deg">Angle of Attack (degrees)</field>
<field name="SSA" type="float" units="deg">Side Slip Angle (degrees)</field>
</message>
<message id="11030" name="ESC_TELEMETRY_1_TO_4">
<description>ESC Telemetry Data for ESCs 1 to 4, matching data sent by BLHeli ESCs</description>
<field type="uint8_t[4]" name="temperature" units="degC">Temperature</field>
<field type="uint16_t[4]" name="voltage" units="cV">Voltage</field>
<field type="uint16_t[4]" name="current" units="cA">Current</field>
<field type="uint16_t[4]" name="totalcurrent" units="mAh">Total current</field>
<field type="uint16_t[4]" name="rpm" units="rpm">RPM (eRPM)</field>
<field type="uint16_t[4]" name="count">count of telemetry packets received (wraps at 65535)</field>
</message>
<message id="11031" name="ESC_TELEMETRY_5_TO_8">
<description>ESC Telemetry Data for ESCs 5 to 8, matching data sent by BLHeli ESCs</description>
<field type="uint8_t[4]" name="temperature" units="degC">Temperature</field>
<field type="uint16_t[4]" name="voltage" units="cV">Voltage</field>
<field type="uint16_t[4]" name="current" units="cA">Current</field>
<field type="uint16_t[4]" name="totalcurrent" units="mAh">Total current</field>
<field type="uint16_t[4]" name="rpm" units="rpm">RPM (eRPM)</field>
<field type="uint16_t[4]" name="count">count of telemetry packets received (wraps at 65535)</field>
</message>
<message id="11032" name="ESC_TELEMETRY_9_TO_12">
<description>ESC Telemetry Data for ESCs 9 to 12, matching data sent by BLHeli ESCs</description>
<field type="uint8_t[4]" name="temperature" units="degC">Temperature</field>
<field type="uint16_t[4]" name="voltage" units="cV">Voltage</field>
<field type="uint16_t[4]" name="current" units="cA">Current</field>
<field type="uint16_t[4]" name="totalcurrent" units="mAh">Total current</field>
<field type="uint16_t[4]" name="rpm" units="rpm">RPM (eRPM)</field>
<field type="uint16_t[4]" name="count">count of telemetry packets received (wraps at 65535)</field>
</message>
</messages>
</mavlink>
......@@ -2934,16 +2934,16 @@
<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" enum="MAV_TYPE">Type of the MAV (quadrotor, helicopter, etc.)</field>
<field type="uint8_t" name="autopilot" enum="MAV_AUTOPILOT">Autopilot type / class.</field>
<field type="uint8_t" name="base_mode" enum="MAV_MODE_FLAG" display="bitmask">System mode bitfield.</field>
<field type="uint8_t" name="base_mode" enum="MAV_MODE_FLAG" display="bitmask">System mode bitmap.</field>
<field type="uint32_t" name="custom_mode">A bitfield for use for autopilot-specific flags</field>
<field type="uint8_t" name="system_status" enum="MAV_STATE">System status flag.</field>
<field type="uint8_t_mavlink_version" name="mavlink_version">MAVLink version, not writable by user, gets added by protocol because of magic data type: uint8_t_mavlink_version</field>
</message>
<message id="1" 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 whether the system is currently active or not and if an emergency occurred. During the CRITICAL and EMERGENCY states the MAV is still considered to be active, but should start emergency procedures autonomously. After a failure occurred it should first move from active to critical to allow manual intervention and then move to emergency after a certain timeout.</description>
<field type="uint32_t" name="onboard_control_sensors_present" enum="MAV_SYS_STATUS_SENSOR" display="bitmask" print_format="0x%04x">Bitmap showing which onboard controllers and sensors are present. Value of 0: not present. Value of 1: present. Indices defined by ENUM MAV_SYS_STATUS_SENSOR</field>
<field type="uint32_t" name="onboard_control_sensors_enabled" enum="MAV_SYS_STATUS_SENSOR" display="bitmask" print_format="0x%04x">Bitmap showing which onboard controllers and sensors are enabled: Value of 0: not enabled. Value of 1: enabled. Indices defined by ENUM MAV_SYS_STATUS_SENSOR</field>
<field type="uint32_t" name="onboard_control_sensors_health" enum="MAV_SYS_STATUS_SENSOR" display="bitmask" print_format="0x%04x">Bitmap showing which onboard controllers and sensors are operational or have an error: Value of 0: not enabled. Value of 1: enabled. Indices defined by ENUM MAV_SYS_STATUS_SENSOR</field>
<field type="uint32_t" name="onboard_control_sensors_present" enum="MAV_SYS_STATUS_SENSOR" display="bitmask" print_format="0x%04x">Bitmap showing which onboard controllers and sensors are present. Value of 0: not present. Value of 1: present.</field>
<field type="uint32_t" name="onboard_control_sensors_enabled" enum="MAV_SYS_STATUS_SENSOR" display="bitmask" print_format="0x%04x">Bitmap showing which onboard controllers and sensors are enabled: Value of 0: not enabled. Value of 1: enabled.</field>
<field type="uint32_t" name="onboard_control_sensors_health" enum="MAV_SYS_STATUS_SENSOR" display="bitmask" print_format="0x%04x">Bitmap showing which onboard controllers and sensors are operational or have an error: Value of 0: not enabled. Value of 1: enabled.</field>
<field type="uint16_t" name="load" units="d%">Maximum usage in percent of the mainloop time. Values: [0-1000] - should always be below 1000</field>
<field type="uint16_t" name="voltage_battery" units="mV">Battery voltage</field>
<field type="int16_t" name="current_battery" units="cA">Battery current, -1: autopilot does not measure the current</field>
......@@ -4231,7 +4231,7 @@
<message id="230" name="ESTIMATOR_STATUS">
<description>Estimator status message including flags, innovation test ratios and estimated accuracies. The flags message is an integer bitmask containing information on which EKF outputs are valid. See the ESTIMATOR_STATUS_FLAGS enum definition for further information. The innovation test ratios show the magnitude of the sensor innovation divided by the innovation check threshold. Under normal operation the innovation test ratios should be below 0.5 with occasional values up to 1.0. Values greater than 1.0 should be rare under normal operation and indicate that a measurement has been rejected by the filter. The user should be notified if an innovation test ratio greater than 1.0 is recorded. Notifications for values in the range between 0.5 and 1.0 should be optional and controllable by the user.</description>
<field type="uint64_t" name="time_usec" units="us">Timestamp (UNIX Epoch time or time since system boot). The receiving end can infer timestamp format (since 1.1.1970 or since system boot) by checking for the magnitude the number.</field>
<field type="uint16_t" name="flags" enum="ESTIMATOR_STATUS_FLAGS" display="bitmask">Integer bitmap indicating which EKF outputs are valid.</field>
<field type="uint16_t" name="flags" enum="ESTIMATOR_STATUS_FLAGS" display="bitmask">Bitmap indicating which EKF outputs are valid.</field>
<field type="float" name="vel_ratio">Velocity innovation test ratio</field>
<field type="float" name="pos_horiz_ratio">Horizontal position innovation test ratio</field>
<field type="float" name="pos_vert_ratio">Vertical position innovation test ratio</field>
......@@ -4281,7 +4281,7 @@
</message>
<message id="234" name="HIGH_LATENCY">
<description>Message appropriate for high latency connections like Iridium</description>
<field type="uint8_t" name="base_mode" enum="MAV_MODE_FLAG" display="bitmask">System mode bitfield, as defined by MAV_MODE_FLAG enum.</field>
<field type="uint8_t" name="base_mode" enum="MAV_MODE_FLAG" display="bitmask">Bitmap of enabled system modes.</field>
<field type="uint32_t" name="custom_mode" display="bitmask">A bitfield for use for autopilot-specific flags.</field>
<field type="uint8_t" name="landed_state" enum="MAV_LANDED_STATE">The landed state. Is set to MAV_LANDED_STATE_UNDEFINED if landed state is unknown.</field>
<field type="int16_t" name="roll" units="cdeg">roll</field>
......@@ -4467,10 +4467,10 @@
<field type="uint64_t" name="initial_timestamp">initial timestamp</field>
</message>
<message id="257" name="BUTTON_CHANGE">
<description>Report button state change</description>
<description>Report button state change.</description>
<field type="uint32_t" name="time_boot_ms" units="ms">Timestamp (time since system boot).</field>
<field type="uint32_t" name="last_change_ms" units="ms">Time of last change of button state</field>
<field type="uint8_t" name="state" display="bitmask">Bitmap for state of buttons</field>
<field type="uint32_t" name="last_change_ms" units="ms">Time of last change of button state.</field>
<field type="uint8_t" name="state" display="bitmask">Bitmap for state of buttons.</field>
</message>
<message id="258" name="PLAY_TUNE">
<description>Control vehicle tone generation (buzzer)</description>
......
......@@ -7,7 +7,7 @@
#ifndef MAVLINK_VERSION_H
#define MAVLINK_VERSION_H
#define MAVLINK_BUILD_DATE "Wed Jul 18 2018"
#define MAVLINK_BUILD_DATE "Thu Jul 19 2018"
#define MAVLINK_WIRE_PROTOCOL_VERSION "2.0"
#define MAVLINK_MAX_DIALECT_PAYLOAD_SIZE 9
......
......@@ -7,7 +7,7 @@
#ifndef MAVLINK_VERSION_H
#define MAVLINK_VERSION_H
#define MAVLINK_BUILD_DATE "Wed Jul 18 2018"
#define MAVLINK_BUILD_DATE "Thu Jul 19 2018"
#define MAVLINK_WIRE_PROTOCOL_VERSION "2.0"
#define MAVLINK_MAX_DIALECT_PAYLOAD_SIZE 255
......
......@@ -7,7 +7,7 @@
#ifndef MAVLINK_VERSION_H
#define MAVLINK_VERSION_H
#define MAVLINK_BUILD_DATE "Wed Jul 18 2018"
#define MAVLINK_BUILD_DATE "Thu Jul 19 2018"
#define MAVLINK_WIRE_PROTOCOL_VERSION "2.0"
#define MAVLINK_MAX_DIALECT_PAYLOAD_SIZE 255
......
......@@ -7,7 +7,7 @@
#ifndef MAVLINK_VERSION_H
#define MAVLINK_VERSION_H
#define MAVLINK_BUILD_DATE "Wed Jul 18 2018"
#define MAVLINK_BUILD_DATE "Thu Jul 19 2018"
#define MAVLINK_WIRE_PROTOCOL_VERSION "2.0"
#define MAVLINK_MAX_DIALECT_PAYLOAD_SIZE 179
......
......@@ -7,7 +7,7 @@
#ifndef MAVLINK_VERSION_H
#define MAVLINK_VERSION_H
#define MAVLINK_BUILD_DATE "Wed Jul 18 2018"
#define MAVLINK_BUILD_DATE "Thu Jul 19 2018"
#define MAVLINK_WIRE_PROTOCOL_VERSION "2.0"
#define MAVLINK_MAX_DIALECT_PAYLOAD_SIZE 255
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment