Commit 7915ad48 authored by PX4BuildBot's avatar PX4BuildBot

autogenerated headers for rev...

autogenerated headers for rev https://github.com/mavlink/mavlink/tree/2c6a8807b85317275c9d027afba7f646eb7db961
parent 4371e84d
...@@ -5,12 +5,12 @@ ...@@ -5,12 +5,12 @@
MAVPACKED( MAVPACKED(
typedef struct __mavlink_esc_telemetry_1_to_4_t { typedef struct __mavlink_esc_telemetry_1_to_4_t {
uint16_t voltage[4]; /*< [cV] Voltage*/ uint16_t voltage[4]; /*< [cV] Voltage.*/
uint16_t current[4]; /*< [cA] Current*/ uint16_t current[4]; /*< [cA] Current.*/
uint16_t totalcurrent[4]; /*< [mAh] Total current*/ uint16_t totalcurrent[4]; /*< [mAh] Total current.*/
uint16_t rpm[4]; /*< [rpm] RPM (eRPM)*/ uint16_t rpm[4]; /*< [rpm] RPM (eRPM).*/
uint16_t count[4]; /*< count of telemetry packets received (wraps at 65535)*/ uint16_t count[4]; /*< count of telemetry packets received (wraps at 65535).*/
uint8_t temperature[4]; /*< [degC] Temperature*/ uint8_t temperature[4]; /*< [degC] Temperature.*/
}) mavlink_esc_telemetry_1_to_4_t; }) mavlink_esc_telemetry_1_to_4_t;
#define MAVLINK_MSG_ID_ESC_TELEMETRY_1_TO_4_LEN 44 #define MAVLINK_MSG_ID_ESC_TELEMETRY_1_TO_4_LEN 44
...@@ -61,12 +61,12 @@ typedef struct __mavlink_esc_telemetry_1_to_4_t { ...@@ -61,12 +61,12 @@ typedef struct __mavlink_esc_telemetry_1_to_4_t {
* @param component_id ID of this component (e.g. 200 for IMU) * @param component_id ID of this component (e.g. 200 for IMU)
* @param msg The MAVLink message to compress the data into * @param msg The MAVLink message to compress the data into
* *
* @param temperature [degC] Temperature * @param temperature [degC] Temperature.
* @param voltage [cV] Voltage * @param voltage [cV] Voltage.
* @param current [cA] Current * @param current [cA] Current.
* @param totalcurrent [mAh] Total current * @param totalcurrent [mAh] Total current.
* @param rpm [rpm] RPM (eRPM) * @param rpm [rpm] RPM (eRPM).
* @param count count of telemetry packets received (wraps at 65535) * @param count count of telemetry packets received (wraps at 65535).
* @return length of the message in bytes (excluding serial stream start sign) * @return length of the message in bytes (excluding serial stream start sign)
*/ */
static inline uint16_t mavlink_msg_esc_telemetry_1_to_4_pack(uint8_t system_id, uint8_t component_id, mavlink_message_t* msg, static inline uint16_t mavlink_msg_esc_telemetry_1_to_4_pack(uint8_t system_id, uint8_t component_id, mavlink_message_t* msg,
...@@ -104,12 +104,12 @@ static inline uint16_t mavlink_msg_esc_telemetry_1_to_4_pack(uint8_t system_id, ...@@ -104,12 +104,12 @@ static inline uint16_t mavlink_msg_esc_telemetry_1_to_4_pack(uint8_t system_id,
* @param component_id ID of this component (e.g. 200 for IMU) * @param component_id ID of this component (e.g. 200 for IMU)
* @param chan The MAVLink channel this message will be sent over * @param chan The MAVLink channel this message will be sent over
* @param msg The MAVLink message to compress the data into * @param msg The MAVLink message to compress the data into
* @param temperature [degC] Temperature * @param temperature [degC] Temperature.
* @param voltage [cV] Voltage * @param voltage [cV] Voltage.
* @param current [cA] Current * @param current [cA] Current.
* @param totalcurrent [mAh] Total current * @param totalcurrent [mAh] Total current.
* @param rpm [rpm] RPM (eRPM) * @param rpm [rpm] RPM (eRPM).
* @param count count of telemetry packets received (wraps at 65535) * @param count count of telemetry packets received (wraps at 65535).
* @return length of the message in bytes (excluding serial stream start sign) * @return length of the message in bytes (excluding serial stream start sign)
*/ */
static inline uint16_t mavlink_msg_esc_telemetry_1_to_4_pack_chan(uint8_t system_id, uint8_t component_id, uint8_t chan, static inline uint16_t mavlink_msg_esc_telemetry_1_to_4_pack_chan(uint8_t system_id, uint8_t component_id, uint8_t chan,
...@@ -173,12 +173,12 @@ static inline uint16_t mavlink_msg_esc_telemetry_1_to_4_encode_chan(uint8_t syst ...@@ -173,12 +173,12 @@ static inline uint16_t mavlink_msg_esc_telemetry_1_to_4_encode_chan(uint8_t syst
* @brief Send a esc_telemetry_1_to_4 message * @brief Send a esc_telemetry_1_to_4 message
* @param chan MAVLink channel to send the message * @param chan MAVLink channel to send the message
* *
* @param temperature [degC] Temperature * @param temperature [degC] Temperature.
* @param voltage [cV] Voltage * @param voltage [cV] Voltage.
* @param current [cA] Current * @param current [cA] Current.
* @param totalcurrent [mAh] Total current * @param totalcurrent [mAh] Total current.
* @param rpm [rpm] RPM (eRPM) * @param rpm [rpm] RPM (eRPM).
* @param count count of telemetry packets received (wraps at 65535) * @param count count of telemetry packets received (wraps at 65535).
*/ */
#ifdef MAVLINK_USE_CONVENIENCE_FUNCTIONS #ifdef MAVLINK_USE_CONVENIENCE_FUNCTIONS
...@@ -263,7 +263,7 @@ static inline void mavlink_msg_esc_telemetry_1_to_4_send_buf(mavlink_message_t * ...@@ -263,7 +263,7 @@ static inline void mavlink_msg_esc_telemetry_1_to_4_send_buf(mavlink_message_t *
/** /**
* @brief Get field temperature from esc_telemetry_1_to_4 message * @brief Get field temperature from esc_telemetry_1_to_4 message
* *
* @return [degC] Temperature * @return [degC] Temperature.
*/ */
static inline uint16_t mavlink_msg_esc_telemetry_1_to_4_get_temperature(const mavlink_message_t* msg, uint8_t *temperature) static inline uint16_t mavlink_msg_esc_telemetry_1_to_4_get_temperature(const mavlink_message_t* msg, uint8_t *temperature)
{ {
...@@ -273,7 +273,7 @@ static inline uint16_t mavlink_msg_esc_telemetry_1_to_4_get_temperature(const ma ...@@ -273,7 +273,7 @@ static inline uint16_t mavlink_msg_esc_telemetry_1_to_4_get_temperature(const ma
/** /**
* @brief Get field voltage from esc_telemetry_1_to_4 message * @brief Get field voltage from esc_telemetry_1_to_4 message
* *
* @return [cV] Voltage * @return [cV] Voltage.
*/ */
static inline uint16_t mavlink_msg_esc_telemetry_1_to_4_get_voltage(const mavlink_message_t* msg, uint16_t *voltage) static inline uint16_t mavlink_msg_esc_telemetry_1_to_4_get_voltage(const mavlink_message_t* msg, uint16_t *voltage)
{ {
...@@ -283,7 +283,7 @@ static inline uint16_t mavlink_msg_esc_telemetry_1_to_4_get_voltage(const mavlin ...@@ -283,7 +283,7 @@ static inline uint16_t mavlink_msg_esc_telemetry_1_to_4_get_voltage(const mavlin
/** /**
* @brief Get field current from esc_telemetry_1_to_4 message * @brief Get field current from esc_telemetry_1_to_4 message
* *
* @return [cA] Current * @return [cA] Current.
*/ */
static inline uint16_t mavlink_msg_esc_telemetry_1_to_4_get_current(const mavlink_message_t* msg, uint16_t *current) static inline uint16_t mavlink_msg_esc_telemetry_1_to_4_get_current(const mavlink_message_t* msg, uint16_t *current)
{ {
...@@ -293,7 +293,7 @@ static inline uint16_t mavlink_msg_esc_telemetry_1_to_4_get_current(const mavlin ...@@ -293,7 +293,7 @@ static inline uint16_t mavlink_msg_esc_telemetry_1_to_4_get_current(const mavlin
/** /**
* @brief Get field totalcurrent from esc_telemetry_1_to_4 message * @brief Get field totalcurrent from esc_telemetry_1_to_4 message
* *
* @return [mAh] Total current * @return [mAh] Total current.
*/ */
static inline uint16_t mavlink_msg_esc_telemetry_1_to_4_get_totalcurrent(const mavlink_message_t* msg, uint16_t *totalcurrent) static inline uint16_t mavlink_msg_esc_telemetry_1_to_4_get_totalcurrent(const mavlink_message_t* msg, uint16_t *totalcurrent)
{ {
...@@ -303,7 +303,7 @@ static inline uint16_t mavlink_msg_esc_telemetry_1_to_4_get_totalcurrent(const m ...@@ -303,7 +303,7 @@ static inline uint16_t mavlink_msg_esc_telemetry_1_to_4_get_totalcurrent(const m
/** /**
* @brief Get field rpm from esc_telemetry_1_to_4 message * @brief Get field rpm from esc_telemetry_1_to_4 message
* *
* @return [rpm] RPM (eRPM) * @return [rpm] RPM (eRPM).
*/ */
static inline uint16_t mavlink_msg_esc_telemetry_1_to_4_get_rpm(const mavlink_message_t* msg, uint16_t *rpm) static inline uint16_t mavlink_msg_esc_telemetry_1_to_4_get_rpm(const mavlink_message_t* msg, uint16_t *rpm)
{ {
...@@ -313,7 +313,7 @@ static inline uint16_t mavlink_msg_esc_telemetry_1_to_4_get_rpm(const mavlink_me ...@@ -313,7 +313,7 @@ static inline uint16_t mavlink_msg_esc_telemetry_1_to_4_get_rpm(const mavlink_me
/** /**
* @brief Get field count from esc_telemetry_1_to_4 message * @brief Get field count from esc_telemetry_1_to_4 message
* *
* @return count of telemetry packets received (wraps at 65535) * @return count of telemetry packets received (wraps at 65535).
*/ */
static inline uint16_t mavlink_msg_esc_telemetry_1_to_4_get_count(const mavlink_message_t* msg, uint16_t *count) static inline uint16_t mavlink_msg_esc_telemetry_1_to_4_get_count(const mavlink_message_t* msg, uint16_t *count)
{ {
......
...@@ -5,12 +5,12 @@ ...@@ -5,12 +5,12 @@
MAVPACKED( MAVPACKED(
typedef struct __mavlink_esc_telemetry_5_to_8_t { typedef struct __mavlink_esc_telemetry_5_to_8_t {
uint16_t voltage[4]; /*< [cV] Voltage*/ uint16_t voltage[4]; /*< [cV] Voltage.*/
uint16_t current[4]; /*< [cA] Current*/ uint16_t current[4]; /*< [cA] Current.*/
uint16_t totalcurrent[4]; /*< [mAh] Total current*/ uint16_t totalcurrent[4]; /*< [mAh] Total current.*/
uint16_t rpm[4]; /*< [rpm] RPM (eRPM)*/ uint16_t rpm[4]; /*< [rpm] RPM (eRPM).*/
uint16_t count[4]; /*< count of telemetry packets received (wraps at 65535)*/ uint16_t count[4]; /*< count of telemetry packets received (wraps at 65535).*/
uint8_t temperature[4]; /*< [degC] Temperature*/ uint8_t temperature[4]; /*< [degC] Temperature.*/
}) mavlink_esc_telemetry_5_to_8_t; }) mavlink_esc_telemetry_5_to_8_t;
#define MAVLINK_MSG_ID_ESC_TELEMETRY_5_TO_8_LEN 44 #define MAVLINK_MSG_ID_ESC_TELEMETRY_5_TO_8_LEN 44
...@@ -61,12 +61,12 @@ typedef struct __mavlink_esc_telemetry_5_to_8_t { ...@@ -61,12 +61,12 @@ typedef struct __mavlink_esc_telemetry_5_to_8_t {
* @param component_id ID of this component (e.g. 200 for IMU) * @param component_id ID of this component (e.g. 200 for IMU)
* @param msg The MAVLink message to compress the data into * @param msg The MAVLink message to compress the data into
* *
* @param temperature [degC] Temperature * @param temperature [degC] Temperature.
* @param voltage [cV] Voltage * @param voltage [cV] Voltage.
* @param current [cA] Current * @param current [cA] Current.
* @param totalcurrent [mAh] Total current * @param totalcurrent [mAh] Total current.
* @param rpm [rpm] RPM (eRPM) * @param rpm [rpm] RPM (eRPM).
* @param count count of telemetry packets received (wraps at 65535) * @param count count of telemetry packets received (wraps at 65535).
* @return length of the message in bytes (excluding serial stream start sign) * @return length of the message in bytes (excluding serial stream start sign)
*/ */
static inline uint16_t mavlink_msg_esc_telemetry_5_to_8_pack(uint8_t system_id, uint8_t component_id, mavlink_message_t* msg, static inline uint16_t mavlink_msg_esc_telemetry_5_to_8_pack(uint8_t system_id, uint8_t component_id, mavlink_message_t* msg,
...@@ -104,12 +104,12 @@ static inline uint16_t mavlink_msg_esc_telemetry_5_to_8_pack(uint8_t system_id, ...@@ -104,12 +104,12 @@ static inline uint16_t mavlink_msg_esc_telemetry_5_to_8_pack(uint8_t system_id,
* @param component_id ID of this component (e.g. 200 for IMU) * @param component_id ID of this component (e.g. 200 for IMU)
* @param chan The MAVLink channel this message will be sent over * @param chan The MAVLink channel this message will be sent over
* @param msg The MAVLink message to compress the data into * @param msg The MAVLink message to compress the data into
* @param temperature [degC] Temperature * @param temperature [degC] Temperature.
* @param voltage [cV] Voltage * @param voltage [cV] Voltage.
* @param current [cA] Current * @param current [cA] Current.
* @param totalcurrent [mAh] Total current * @param totalcurrent [mAh] Total current.
* @param rpm [rpm] RPM (eRPM) * @param rpm [rpm] RPM (eRPM).
* @param count count of telemetry packets received (wraps at 65535) * @param count count of telemetry packets received (wraps at 65535).
* @return length of the message in bytes (excluding serial stream start sign) * @return length of the message in bytes (excluding serial stream start sign)
*/ */
static inline uint16_t mavlink_msg_esc_telemetry_5_to_8_pack_chan(uint8_t system_id, uint8_t component_id, uint8_t chan, static inline uint16_t mavlink_msg_esc_telemetry_5_to_8_pack_chan(uint8_t system_id, uint8_t component_id, uint8_t chan,
...@@ -173,12 +173,12 @@ static inline uint16_t mavlink_msg_esc_telemetry_5_to_8_encode_chan(uint8_t syst ...@@ -173,12 +173,12 @@ static inline uint16_t mavlink_msg_esc_telemetry_5_to_8_encode_chan(uint8_t syst
* @brief Send a esc_telemetry_5_to_8 message * @brief Send a esc_telemetry_5_to_8 message
* @param chan MAVLink channel to send the message * @param chan MAVLink channel to send the message
* *
* @param temperature [degC] Temperature * @param temperature [degC] Temperature.
* @param voltage [cV] Voltage * @param voltage [cV] Voltage.
* @param current [cA] Current * @param current [cA] Current.
* @param totalcurrent [mAh] Total current * @param totalcurrent [mAh] Total current.
* @param rpm [rpm] RPM (eRPM) * @param rpm [rpm] RPM (eRPM).
* @param count count of telemetry packets received (wraps at 65535) * @param count count of telemetry packets received (wraps at 65535).
*/ */
#ifdef MAVLINK_USE_CONVENIENCE_FUNCTIONS #ifdef MAVLINK_USE_CONVENIENCE_FUNCTIONS
...@@ -263,7 +263,7 @@ static inline void mavlink_msg_esc_telemetry_5_to_8_send_buf(mavlink_message_t * ...@@ -263,7 +263,7 @@ static inline void mavlink_msg_esc_telemetry_5_to_8_send_buf(mavlink_message_t *
/** /**
* @brief Get field temperature from esc_telemetry_5_to_8 message * @brief Get field temperature from esc_telemetry_5_to_8 message
* *
* @return [degC] Temperature * @return [degC] Temperature.
*/ */
static inline uint16_t mavlink_msg_esc_telemetry_5_to_8_get_temperature(const mavlink_message_t* msg, uint8_t *temperature) static inline uint16_t mavlink_msg_esc_telemetry_5_to_8_get_temperature(const mavlink_message_t* msg, uint8_t *temperature)
{ {
...@@ -273,7 +273,7 @@ static inline uint16_t mavlink_msg_esc_telemetry_5_to_8_get_temperature(const ma ...@@ -273,7 +273,7 @@ static inline uint16_t mavlink_msg_esc_telemetry_5_to_8_get_temperature(const ma
/** /**
* @brief Get field voltage from esc_telemetry_5_to_8 message * @brief Get field voltage from esc_telemetry_5_to_8 message
* *
* @return [cV] Voltage * @return [cV] Voltage.
*/ */
static inline uint16_t mavlink_msg_esc_telemetry_5_to_8_get_voltage(const mavlink_message_t* msg, uint16_t *voltage) static inline uint16_t mavlink_msg_esc_telemetry_5_to_8_get_voltage(const mavlink_message_t* msg, uint16_t *voltage)
{ {
...@@ -283,7 +283,7 @@ static inline uint16_t mavlink_msg_esc_telemetry_5_to_8_get_voltage(const mavlin ...@@ -283,7 +283,7 @@ static inline uint16_t mavlink_msg_esc_telemetry_5_to_8_get_voltage(const mavlin
/** /**
* @brief Get field current from esc_telemetry_5_to_8 message * @brief Get field current from esc_telemetry_5_to_8 message
* *
* @return [cA] Current * @return [cA] Current.
*/ */
static inline uint16_t mavlink_msg_esc_telemetry_5_to_8_get_current(const mavlink_message_t* msg, uint16_t *current) static inline uint16_t mavlink_msg_esc_telemetry_5_to_8_get_current(const mavlink_message_t* msg, uint16_t *current)
{ {
...@@ -293,7 +293,7 @@ static inline uint16_t mavlink_msg_esc_telemetry_5_to_8_get_current(const mavlin ...@@ -293,7 +293,7 @@ static inline uint16_t mavlink_msg_esc_telemetry_5_to_8_get_current(const mavlin
/** /**
* @brief Get field totalcurrent from esc_telemetry_5_to_8 message * @brief Get field totalcurrent from esc_telemetry_5_to_8 message
* *
* @return [mAh] Total current * @return [mAh] Total current.
*/ */
static inline uint16_t mavlink_msg_esc_telemetry_5_to_8_get_totalcurrent(const mavlink_message_t* msg, uint16_t *totalcurrent) static inline uint16_t mavlink_msg_esc_telemetry_5_to_8_get_totalcurrent(const mavlink_message_t* msg, uint16_t *totalcurrent)
{ {
...@@ -303,7 +303,7 @@ static inline uint16_t mavlink_msg_esc_telemetry_5_to_8_get_totalcurrent(const m ...@@ -303,7 +303,7 @@ static inline uint16_t mavlink_msg_esc_telemetry_5_to_8_get_totalcurrent(const m
/** /**
* @brief Get field rpm from esc_telemetry_5_to_8 message * @brief Get field rpm from esc_telemetry_5_to_8 message
* *
* @return [rpm] RPM (eRPM) * @return [rpm] RPM (eRPM).
*/ */
static inline uint16_t mavlink_msg_esc_telemetry_5_to_8_get_rpm(const mavlink_message_t* msg, uint16_t *rpm) static inline uint16_t mavlink_msg_esc_telemetry_5_to_8_get_rpm(const mavlink_message_t* msg, uint16_t *rpm)
{ {
...@@ -313,7 +313,7 @@ static inline uint16_t mavlink_msg_esc_telemetry_5_to_8_get_rpm(const mavlink_me ...@@ -313,7 +313,7 @@ static inline uint16_t mavlink_msg_esc_telemetry_5_to_8_get_rpm(const mavlink_me
/** /**
* @brief Get field count from esc_telemetry_5_to_8 message * @brief Get field count from esc_telemetry_5_to_8 message
* *
* @return count of telemetry packets received (wraps at 65535) * @return count of telemetry packets received (wraps at 65535).
*/ */
static inline uint16_t mavlink_msg_esc_telemetry_5_to_8_get_count(const mavlink_message_t* msg, uint16_t *count) static inline uint16_t mavlink_msg_esc_telemetry_5_to_8_get_count(const mavlink_message_t* msg, uint16_t *count)
{ {
......
...@@ -5,12 +5,12 @@ ...@@ -5,12 +5,12 @@
MAVPACKED( MAVPACKED(
typedef struct __mavlink_esc_telemetry_9_to_12_t { typedef struct __mavlink_esc_telemetry_9_to_12_t {
uint16_t voltage[4]; /*< [cV] Voltage*/ uint16_t voltage[4]; /*< [cV] Voltage.*/
uint16_t current[4]; /*< [cA] Current*/ uint16_t current[4]; /*< [cA] Current.*/
uint16_t totalcurrent[4]; /*< [mAh] Total current*/ uint16_t totalcurrent[4]; /*< [mAh] Total current.*/
uint16_t rpm[4]; /*< [rpm] RPM (eRPM)*/ uint16_t rpm[4]; /*< [rpm] RPM (eRPM).*/
uint16_t count[4]; /*< count of telemetry packets received (wraps at 65535)*/ uint16_t count[4]; /*< count of telemetry packets received (wraps at 65535).*/
uint8_t temperature[4]; /*< [degC] Temperature*/ uint8_t temperature[4]; /*< [degC] Temperature.*/
}) mavlink_esc_telemetry_9_to_12_t; }) mavlink_esc_telemetry_9_to_12_t;
#define MAVLINK_MSG_ID_ESC_TELEMETRY_9_TO_12_LEN 44 #define MAVLINK_MSG_ID_ESC_TELEMETRY_9_TO_12_LEN 44
...@@ -61,12 +61,12 @@ typedef struct __mavlink_esc_telemetry_9_to_12_t { ...@@ -61,12 +61,12 @@ typedef struct __mavlink_esc_telemetry_9_to_12_t {
* @param component_id ID of this component (e.g. 200 for IMU) * @param component_id ID of this component (e.g. 200 for IMU)
* @param msg The MAVLink message to compress the data into * @param msg The MAVLink message to compress the data into
* *
* @param temperature [degC] Temperature * @param temperature [degC] Temperature.
* @param voltage [cV] Voltage * @param voltage [cV] Voltage.
* @param current [cA] Current * @param current [cA] Current.
* @param totalcurrent [mAh] Total current * @param totalcurrent [mAh] Total current.
* @param rpm [rpm] RPM (eRPM) * @param rpm [rpm] RPM (eRPM).
* @param count count of telemetry packets received (wraps at 65535) * @param count count of telemetry packets received (wraps at 65535).
* @return length of the message in bytes (excluding serial stream start sign) * @return length of the message in bytes (excluding serial stream start sign)
*/ */
static inline uint16_t mavlink_msg_esc_telemetry_9_to_12_pack(uint8_t system_id, uint8_t component_id, mavlink_message_t* msg, static inline uint16_t mavlink_msg_esc_telemetry_9_to_12_pack(uint8_t system_id, uint8_t component_id, mavlink_message_t* msg,
...@@ -104,12 +104,12 @@ static inline uint16_t mavlink_msg_esc_telemetry_9_to_12_pack(uint8_t system_id, ...@@ -104,12 +104,12 @@ static inline uint16_t mavlink_msg_esc_telemetry_9_to_12_pack(uint8_t system_id,
* @param component_id ID of this component (e.g. 200 for IMU) * @param component_id ID of this component (e.g. 200 for IMU)
* @param chan The MAVLink channel this message will be sent over * @param chan The MAVLink channel this message will be sent over
* @param msg The MAVLink message to compress the data into * @param msg The MAVLink message to compress the data into
* @param temperature [degC] Temperature * @param temperature [degC] Temperature.
* @param voltage [cV] Voltage * @param voltage [cV] Voltage.
* @param current [cA] Current * @param current [cA] Current.
* @param totalcurrent [mAh] Total current * @param totalcurrent [mAh] Total current.
* @param rpm [rpm] RPM (eRPM) * @param rpm [rpm] RPM (eRPM).
* @param count count of telemetry packets received (wraps at 65535) * @param count count of telemetry packets received (wraps at 65535).
* @return length of the message in bytes (excluding serial stream start sign) * @return length of the message in bytes (excluding serial stream start sign)
*/ */
static inline uint16_t mavlink_msg_esc_telemetry_9_to_12_pack_chan(uint8_t system_id, uint8_t component_id, uint8_t chan, static inline uint16_t mavlink_msg_esc_telemetry_9_to_12_pack_chan(uint8_t system_id, uint8_t component_id, uint8_t chan,
...@@ -173,12 +173,12 @@ static inline uint16_t mavlink_msg_esc_telemetry_9_to_12_encode_chan(uint8_t sys ...@@ -173,12 +173,12 @@ static inline uint16_t mavlink_msg_esc_telemetry_9_to_12_encode_chan(uint8_t sys
* @brief Send a esc_telemetry_9_to_12 message * @brief Send a esc_telemetry_9_to_12 message
* @param chan MAVLink channel to send the message * @param chan MAVLink channel to send the message
* *
* @param temperature [degC] Temperature * @param temperature [degC] Temperature.
* @param voltage [cV] Voltage * @param voltage [cV] Voltage.
* @param current [cA] Current * @param current [cA] Current.
* @param totalcurrent [mAh] Total current * @param totalcurrent [mAh] Total current.
* @param rpm [rpm] RPM (eRPM) * @param rpm [rpm] RPM (eRPM).
* @param count count of telemetry packets received (wraps at 65535) * @param count count of telemetry packets received (wraps at 65535).
*/ */
#ifdef MAVLINK_USE_CONVENIENCE_FUNCTIONS #ifdef MAVLINK_USE_CONVENIENCE_FUNCTIONS
...@@ -263,7 +263,7 @@ static inline void mavlink_msg_esc_telemetry_9_to_12_send_buf(mavlink_message_t ...@@ -263,7 +263,7 @@ static inline void mavlink_msg_esc_telemetry_9_to_12_send_buf(mavlink_message_t
/** /**
* @brief Get field temperature from esc_telemetry_9_to_12 message * @brief Get field temperature from esc_telemetry_9_to_12 message
* *
* @return [degC] Temperature * @return [degC] Temperature.
*/ */
static inline uint16_t mavlink_msg_esc_telemetry_9_to_12_get_temperature(const mavlink_message_t* msg, uint8_t *temperature) static inline uint16_t mavlink_msg_esc_telemetry_9_to_12_get_temperature(const mavlink_message_t* msg, uint8_t *temperature)
{ {
...@@ -273,7 +273,7 @@ static inline uint16_t mavlink_msg_esc_telemetry_9_to_12_get_temperature(const m ...@@ -273,7 +273,7 @@ static inline uint16_t mavlink_msg_esc_telemetry_9_to_12_get_temperature(const m
/** /**
* @brief Get field voltage from esc_telemetry_9_to_12 message * @brief Get field voltage from esc_telemetry_9_to_12 message
* *
* @return [cV] Voltage * @return [cV] Voltage.
*/ */
static inline uint16_t mavlink_msg_esc_telemetry_9_to_12_get_voltage(const mavlink_message_t* msg, uint16_t *voltage) static inline uint16_t mavlink_msg_esc_telemetry_9_to_12_get_voltage(const mavlink_message_t* msg, uint16_t *voltage)
{ {
...@@ -283,7 +283,7 @@ static inline uint16_t mavlink_msg_esc_telemetry_9_to_12_get_voltage(const mavli ...@@ -283,7 +283,7 @@ static inline uint16_t mavlink_msg_esc_telemetry_9_to_12_get_voltage(const mavli
/** /**
* @brief Get field current from esc_telemetry_9_to_12 message * @brief Get field current from esc_telemetry_9_to_12 message
* *
* @return [cA] Current * @return [cA] Current.
*/ */
static inline uint16_t mavlink_msg_esc_telemetry_9_to_12_get_current(const mavlink_message_t* msg, uint16_t *current) static inline uint16_t mavlink_msg_esc_telemetry_9_to_12_get_current(const mavlink_message_t* msg, uint16_t *current)
{ {
...@@ -293,7 +293,7 @@ static inline uint16_t mavlink_msg_esc_telemetry_9_to_12_get_current(const mavli ...@@ -293,7 +293,7 @@ static inline uint16_t mavlink_msg_esc_telemetry_9_to_12_get_current(const mavli
/** /**
* @brief Get field totalcurrent from esc_telemetry_9_to_12 message * @brief Get field totalcurrent from esc_telemetry_9_to_12 message
* *
* @return [mAh] Total current * @return [mAh] Total current.
*/ */
static inline uint16_t mavlink_msg_esc_telemetry_9_to_12_get_totalcurrent(const mavlink_message_t* msg, uint16_t *totalcurrent) static inline uint16_t mavlink_msg_esc_telemetry_9_to_12_get_totalcurrent(const mavlink_message_t* msg, uint16_t *totalcurrent)
{ {
...@@ -303,7 +303,7 @@ static inline uint16_t mavlink_msg_esc_telemetry_9_to_12_get_totalcurrent(const ...@@ -303,7 +303,7 @@ static inline uint16_t mavlink_msg_esc_telemetry_9_to_12_get_totalcurrent(const
/** /**
* @brief Get field rpm from esc_telemetry_9_to_12 message * @brief Get field rpm from esc_telemetry_9_to_12 message
* *
* @return [rpm] RPM (eRPM) * @return [rpm] RPM (eRPM).
*/ */
static inline uint16_t mavlink_msg_esc_telemetry_9_to_12_get_rpm(const mavlink_message_t* msg, uint16_t *rpm) static inline uint16_t mavlink_msg_esc_telemetry_9_to_12_get_rpm(const mavlink_message_t* msg, uint16_t *rpm)
{ {
...@@ -313,7 +313,7 @@ static inline uint16_t mavlink_msg_esc_telemetry_9_to_12_get_rpm(const mavlink_m ...@@ -313,7 +313,7 @@ static inline uint16_t mavlink_msg_esc_telemetry_9_to_12_get_rpm(const mavlink_m
/** /**
* @brief Get field count from esc_telemetry_9_to_12 message * @brief Get field count from esc_telemetry_9_to_12 message
* *
* @return count of telemetry packets received (wraps at 65535) * @return count of telemetry packets received (wraps at 65535).
*/ */
static inline uint16_t mavlink_msg_esc_telemetry_9_to_12_get_count(const mavlink_message_t* msg, uint16_t *count) static inline uint16_t mavlink_msg_esc_telemetry_9_to_12_get_count(const mavlink_message_t* msg, uint16_t *count)
{ {
......
...@@ -42,7 +42,7 @@ typedef enum MAV_AUTOPILOT ...@@ -42,7 +42,7 @@ typedef enum MAV_AUTOPILOT
MAV_AUTOPILOT_GENERIC=0, /* Generic autopilot, full support for everything | */ MAV_AUTOPILOT_GENERIC=0, /* Generic autopilot, full support for everything | */
MAV_AUTOPILOT_RESERVED=1, /* Reserved for future use. | */ MAV_AUTOPILOT_RESERVED=1, /* Reserved for future use. | */
MAV_AUTOPILOT_SLUGS=2, /* SLUGS autopilot, http://slugsuav.soe.ucsc.edu | */ MAV_AUTOPILOT_SLUGS=2, /* SLUGS autopilot, http://slugsuav.soe.ucsc.edu | */
MAV_AUTOPILOT_ARDUPILOTMEGA=3, /* ArduPilotMega / ArduCopter, http://diydrones.com | */ MAV_AUTOPILOT_ARDUPILOTMEGA=3, /* ArduPilot - Plane/Copter/Rover/Sub/Tracker, http://ardupilot.org | */
MAV_AUTOPILOT_OPENPILOT=4, /* OpenPilot, http://openpilot.org | */ MAV_AUTOPILOT_OPENPILOT=4, /* OpenPilot, http://openpilot.org | */
MAV_AUTOPILOT_GENERIC_WAYPOINTS_ONLY=5, /* Generic autopilot only supporting simple waypoints | */ MAV_AUTOPILOT_GENERIC_WAYPOINTS_ONLY=5, /* Generic autopilot only supporting simple waypoints | */
MAV_AUTOPILOT_GENERIC_WAYPOINTS_AND_SIMPLE_NAVIGATION_ONLY=6, /* Generic autopilot supporting waypoints and other simple navigation commands | */ MAV_AUTOPILOT_GENERIC_WAYPOINTS_AND_SIMPLE_NAVIGATION_ONLY=6, /* Generic autopilot supporting waypoints and other simple navigation commands | */
...@@ -1249,23 +1249,23 @@ typedef enum RC_TYPE ...@@ -1249,23 +1249,23 @@ typedef enum RC_TYPE
} RC_TYPE; } RC_TYPE;
#endif #endif
/** @brief Bitmap to indicate which dimensions should be ignored by the vehicle: a value of 0b0000000000000000 or 0b0000001000000000 indicates that none of the setpoint dimensions should be ignored. If bit 10 is set the floats afx afy afz should be interpreted as force instead of acceleration. */ /** @brief Bitmap to indicate which dimensions should be ignored by the vehicle: a value of 0b0000000000000000 or 0b0000001000000000 indicates that none of the setpoint dimensions should be ignored. If bit 9 is set the floats afx afy afz should be interpreted as force instead of acceleration. */
#ifndef HAVE_ENUM_POSITION_TARGET_TYPEMASK #ifndef HAVE_ENUM_POSITION_TARGET_TYPEMASK
#define HAVE_ENUM_POSITION_TARGET_TYPEMASK #define HAVE_ENUM_POSITION_TARGET_TYPEMASK
typedef enum POSITION_TARGET_TYPEMASK typedef enum POSITION_TARGET_TYPEMASK
{ {
POSITION_TARGET_TYPEMASK_X_IGNORE=1, /* 0b0000000000000001 Ignore position x | */ POSITION_TARGET_TYPEMASK_X_IGNORE=1, /* Ignore position x | */
POSITION_TARGET_TYPEMASK_Y_IGNORE=2, /* 0b0000000000000010 Ignore position y | */ POSITION_TARGET_TYPEMASK_Y_IGNORE=2, /* Ignore position y | */
POSITION_TARGET_TYPEMASK_Z_IGNORE=4, /* 0b0000000000000100 Ignore position z | */ POSITION_TARGET_TYPEMASK_Z_IGNORE=4, /* Ignore position z | */
POSITION_TARGET_TYPEMASK_VX_IGNORE=8, /* 0b0000000000001000 Ignore velocity x | */ POSITION_TARGET_TYPEMASK_VX_IGNORE=8, /* Ignore velocity x | */
POSITION_TARGET_TYPEMASK_VY_IGNORE=16, /* 0b0000000000010000 Ignore velocity y | */ POSITION_TARGET_TYPEMASK_VY_IGNORE=16, /* Ignore velocity y | */
POSITION_TARGET_TYPEMASK_VZ_IGNORE=32, /* 0b0000000000100000 Ignore velocity z | */ POSITION_TARGET_TYPEMASK_VZ_IGNORE=32, /* Ignore velocity z | */
POSITION_TARGET_TYPEMASK_AX_IGNORE=64, /* 0b0000000001000000 Ignore acceleration x | */ POSITION_TARGET_TYPEMASK_AX_IGNORE=64, /* Ignore acceleration x | */
POSITION_TARGET_TYPEMASK_AY_IGNORE=128, /* 0b0000000010000000 Ignore acceleration y | */ POSITION_TARGET_TYPEMASK_AY_IGNORE=128, /* Ignore acceleration y | */
POSITION_TARGET_TYPEMASK_AZ_IGNORE=256, /* 0b0000000100000000 Ignore acceleration z | */ POSITION_TARGET_TYPEMASK_AZ_IGNORE=256, /* Ignore acceleration z | */
POSITION_TARGET_TYPEMASK_FORCE_SET=512, /* 0b0000001000000000 Use force instead of acceleration | */ POSITION_TARGET_TYPEMASK_FORCE_SET=512, /* Use force instead of acceleration | */
POSITION_TARGET_TYPEMASK_YAW_IGNORE=1024, /* 0b0000010000000000 Ignore yaw | */ POSITION_TARGET_TYPEMASK_YAW_IGNORE=1024, /* Ignore yaw | */
POSITION_TARGET_TYPEMASK_YAW_RATE_IGNORE=2048, /* 0b0000100000000000 Ignore yaw rate | */ POSITION_TARGET_TYPEMASK_YAW_RATE_IGNORE=2048, /* Ignore yaw rate | */
POSITION_TARGET_TYPEMASK_ENUM_END=2049, /* | */ POSITION_TARGET_TYPEMASK_ENUM_END=2049, /* | */
} POSITION_TARGET_TYPEMASK; } POSITION_TARGET_TYPEMASK;
#endif #endif
......
...@@ -1575,31 +1575,31 @@ ...@@ -1575,31 +1575,31 @@
<field name="SSA" type="float" units="deg">Side Slip Angle.</field> <field name="SSA" type="float" units="deg">Side Slip Angle.</field>
</message> </message>
<message id="11030" name="ESC_TELEMETRY_1_TO_4"> <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> <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="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="voltage" units="cV">Voltage.</field>
<field type="uint16_t[4]" name="current" units="cA">Current</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="totalcurrent" units="mAh">Total current.</field>
<field type="uint16_t[4]" name="rpm" units="rpm">RPM (eRPM)</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> <field type="uint16_t[4]" name="count">count of telemetry packets received (wraps at 65535).</field>
</message> </message>
<message id="11031" name="ESC_TELEMETRY_5_TO_8"> <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> <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="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="voltage" units="cV">Voltage.</field>
<field type="uint16_t[4]" name="current" units="cA">Current</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="totalcurrent" units="mAh">Total current.</field>
<field type="uint16_t[4]" name="rpm" units="rpm">RPM (eRPM)</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> <field type="uint16_t[4]" name="count">count of telemetry packets received (wraps at 65535).</field>
</message> </message>
<message id="11032" name="ESC_TELEMETRY_9_TO_12"> <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> <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="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="voltage" units="cV">Voltage.</field>
<field type="uint16_t[4]" name="current" units="cA">Current</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="totalcurrent" units="mAh">Total current.</field>
<field type="uint16_t[4]" name="rpm" units="rpm">RPM (eRPM)</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> <field type="uint16_t[4]" name="count">count of telemetry packets received (wraps at 65535).</field>
</message> </message>
</messages> </messages>
</mavlink> </mavlink>
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
<description>SLUGS autopilot, http://slugsuav.soe.ucsc.edu</description> <description>SLUGS autopilot, http://slugsuav.soe.ucsc.edu</description>
</entry> </entry>
<entry value="3" name="MAV_AUTOPILOT_ARDUPILOTMEGA"> <entry value="3" name="MAV_AUTOPILOT_ARDUPILOTMEGA">
<description>ArduPilotMega / ArduCopter, http://diydrones.com</description> <description>ArduPilot - Plane/Copter/Rover/Sub/Tracker, http://ardupilot.org</description>
</entry> </entry>
<entry value="4" name="MAV_AUTOPILOT_OPENPILOT"> <entry value="4" name="MAV_AUTOPILOT_OPENPILOT">
<description>OpenPilot, http://openpilot.org</description> <description>OpenPilot, http://openpilot.org</description>
...@@ -2960,42 +2960,42 @@ ...@@ -2960,42 +2960,42 @@
</entry> </entry>
</enum> </enum>
<enum name="POSITION_TARGET_TYPEMASK"> <enum name="POSITION_TARGET_TYPEMASK">
<description>Bitmap to indicate which dimensions should be ignored by the vehicle: a value of 0b0000000000000000 or 0b0000001000000000 indicates that none of the setpoint dimensions should be ignored. If bit 10 is set the floats afx afy afz should be interpreted as force instead of acceleration.</description> <description>Bitmap to indicate which dimensions should be ignored by the vehicle: a value of 0b0000000000000000 or 0b0000001000000000 indicates that none of the setpoint dimensions should be ignored. If bit 9 is set the floats afx afy afz should be interpreted as force instead of acceleration.</description>
<entry value="1" name="POSITION_TARGET_TYPEMASK_X_IGNORE"> <entry value="1" name="POSITION_TARGET_TYPEMASK_X_IGNORE">
<description>0b0000000000000001 Ignore position x</description> <description>Ignore position x</description>
</entry> </entry>
<entry value="2" name="POSITION_TARGET_TYPEMASK_Y_IGNORE"> <entry value="2" name="POSITION_TARGET_TYPEMASK_Y_IGNORE">
<description>0b0000000000000010 Ignore position y</description> <description>Ignore position y</description>
</entry> </entry>
<entry value="4" name="POSITION_TARGET_TYPEMASK_Z_IGNORE"> <entry value="4" name="POSITION_TARGET_TYPEMASK_Z_IGNORE">
<description>0b0000000000000100 Ignore position z</description> <description>Ignore position z</description>
</entry> </entry>
<entry value="8" name="POSITION_TARGET_TYPEMASK_VX_IGNORE"> <entry value="8" name="POSITION_TARGET_TYPEMASK_VX_IGNORE">
<description>0b0000000000001000 Ignore velocity x</description> <description>Ignore velocity x</description>
</entry> </entry>
<entry value="16" name="POSITION_TARGET_TYPEMASK_VY_IGNORE"> <entry value="16" name="POSITION_TARGET_TYPEMASK_VY_IGNORE">
<description>0b0000000000010000 Ignore velocity y</description> <description>Ignore velocity y</description>
</entry> </entry>
<entry value="32" name="POSITION_TARGET_TYPEMASK_VZ_IGNORE"> <entry value="32" name="POSITION_TARGET_TYPEMASK_VZ_IGNORE">
<description>0b0000000000100000 Ignore velocity z</description> <description>Ignore velocity z</description>
</entry> </entry>
<entry value="64" name="POSITION_TARGET_TYPEMASK_AX_IGNORE"> <entry value="64" name="POSITION_TARGET_TYPEMASK_AX_IGNORE">
<description>0b0000000001000000 Ignore acceleration x</description> <description>Ignore acceleration x</description>
</entry> </entry>
<entry value="128" name="POSITION_TARGET_TYPEMASK_AY_IGNORE"> <entry value="128" name="POSITION_TARGET_TYPEMASK_AY_IGNORE">
<description>0b0000000010000000 Ignore acceleration y</description> <description>Ignore acceleration y</description>
</entry> </entry>
<entry value="256" name="POSITION_TARGET_TYPEMASK_AZ_IGNORE"> <entry value="256" name="POSITION_TARGET_TYPEMASK_AZ_IGNORE">
<description>0b0000000100000000 Ignore acceleration z</description> <description>Ignore acceleration z</description>
</entry> </entry>
<entry value="512" name="POSITION_TARGET_TYPEMASK_FORCE_SET"> <entry value="512" name="POSITION_TARGET_TYPEMASK_FORCE_SET">
<description>0b0000001000000000 Use force instead of acceleration</description> <description>Use force instead of acceleration</description>
</entry> </entry>
<entry value="1024" name="POSITION_TARGET_TYPEMASK_YAW_IGNORE"> <entry value="1024" name="POSITION_TARGET_TYPEMASK_YAW_IGNORE">
<description>0b0000010000000000 Ignore yaw</description> <description>Ignore yaw</description>
</entry> </entry>
<entry value="2048" name="POSITION_TARGET_TYPEMASK_YAW_RATE_IGNORE"> <entry value="2048" name="POSITION_TARGET_TYPEMASK_YAW_RATE_IGNORE">
<description>0b0000100000000000 Ignore yaw rate</description> <description>Ignore yaw rate</description>
</entry> </entry>
</enum> </enum>
</enums> </enums>
......
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