update protocol
This commit is contained in:
@@ -5,18 +5,18 @@
|
||||
|
||||
MAVPACKED(
|
||||
typedef struct __mavlink_airspeed_autocal_t {
|
||||
float vx; /*< [m/s] GPS velocity north m/s*/
|
||||
float vy; /*< [m/s] GPS velocity east m/s*/
|
||||
float vz; /*< [m/s] GPS velocity down m/s*/
|
||||
float diff_pressure; /*< [Pa] Differential pressure pascals*/
|
||||
float EAS2TAS; /*< Estimated to true airspeed ratio*/
|
||||
float ratio; /*< Airspeed ratio*/
|
||||
float state_x; /*< EKF state x*/
|
||||
float state_y; /*< EKF state y*/
|
||||
float state_z; /*< EKF state z*/
|
||||
float Pax; /*< EKF Pax*/
|
||||
float Pby; /*< EKF Pby*/
|
||||
float Pcz; /*< EKF Pcz*/
|
||||
float vx; /*< [m/s] GPS velocity north.*/
|
||||
float vy; /*< [m/s] GPS velocity east.*/
|
||||
float vz; /*< [m/s] GPS velocity down.*/
|
||||
float diff_pressure; /*< [Pa] Differential pressure.*/
|
||||
float EAS2TAS; /*< Estimated to true airspeed ratio.*/
|
||||
float ratio; /*< Airspeed ratio.*/
|
||||
float state_x; /*< EKF state x.*/
|
||||
float state_y; /*< EKF state y.*/
|
||||
float state_z; /*< EKF state z.*/
|
||||
float Pax; /*< EKF Pax.*/
|
||||
float Pby; /*< EKF Pby.*/
|
||||
float Pcz; /*< EKF Pcz.*/
|
||||
}) mavlink_airspeed_autocal_t;
|
||||
|
||||
#define MAVLINK_MSG_ID_AIRSPEED_AUTOCAL_LEN 48
|
||||
@@ -74,18 +74,18 @@ typedef struct __mavlink_airspeed_autocal_t {
|
||||
* @param component_id ID of this component (e.g. 200 for IMU)
|
||||
* @param msg The MAVLink message to compress the data into
|
||||
*
|
||||
* @param vx [m/s] GPS velocity north m/s
|
||||
* @param vy [m/s] GPS velocity east m/s
|
||||
* @param vz [m/s] GPS velocity down m/s
|
||||
* @param diff_pressure [Pa] Differential pressure pascals
|
||||
* @param EAS2TAS Estimated to true airspeed ratio
|
||||
* @param ratio Airspeed ratio
|
||||
* @param state_x EKF state x
|
||||
* @param state_y EKF state y
|
||||
* @param state_z EKF state z
|
||||
* @param Pax EKF Pax
|
||||
* @param Pby EKF Pby
|
||||
* @param Pcz EKF Pcz
|
||||
* @param vx [m/s] GPS velocity north.
|
||||
* @param vy [m/s] GPS velocity east.
|
||||
* @param vz [m/s] GPS velocity down.
|
||||
* @param diff_pressure [Pa] Differential pressure.
|
||||
* @param EAS2TAS Estimated to true airspeed ratio.
|
||||
* @param ratio Airspeed ratio.
|
||||
* @param state_x EKF state x.
|
||||
* @param state_y EKF state y.
|
||||
* @param state_z EKF state z.
|
||||
* @param Pax EKF Pax.
|
||||
* @param Pby EKF Pby.
|
||||
* @param Pcz EKF Pcz.
|
||||
* @return length of the message in bytes (excluding serial stream start sign)
|
||||
*/
|
||||
static inline uint16_t mavlink_msg_airspeed_autocal_pack(uint8_t system_id, uint8_t component_id, mavlink_message_t* msg,
|
||||
@@ -135,18 +135,18 @@ static inline uint16_t mavlink_msg_airspeed_autocal_pack(uint8_t system_id, uint
|
||||
* @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 vx [m/s] GPS velocity north m/s
|
||||
* @param vy [m/s] GPS velocity east m/s
|
||||
* @param vz [m/s] GPS velocity down m/s
|
||||
* @param diff_pressure [Pa] Differential pressure pascals
|
||||
* @param EAS2TAS Estimated to true airspeed ratio
|
||||
* @param ratio Airspeed ratio
|
||||
* @param state_x EKF state x
|
||||
* @param state_y EKF state y
|
||||
* @param state_z EKF state z
|
||||
* @param Pax EKF Pax
|
||||
* @param Pby EKF Pby
|
||||
* @param Pcz EKF Pcz
|
||||
* @param vx [m/s] GPS velocity north.
|
||||
* @param vy [m/s] GPS velocity east.
|
||||
* @param vz [m/s] GPS velocity down.
|
||||
* @param diff_pressure [Pa] Differential pressure.
|
||||
* @param EAS2TAS Estimated to true airspeed ratio.
|
||||
* @param ratio Airspeed ratio.
|
||||
* @param state_x EKF state x.
|
||||
* @param state_y EKF state y.
|
||||
* @param state_z EKF state z.
|
||||
* @param Pax EKF Pax.
|
||||
* @param Pby EKF Pby.
|
||||
* @param Pcz EKF Pcz.
|
||||
* @return length of the message in bytes (excluding serial stream start sign)
|
||||
*/
|
||||
static inline uint16_t mavlink_msg_airspeed_autocal_pack_chan(uint8_t system_id, uint8_t component_id, uint8_t chan,
|
||||
@@ -222,18 +222,18 @@ static inline uint16_t mavlink_msg_airspeed_autocal_encode_chan(uint8_t system_i
|
||||
* @brief Send a airspeed_autocal message
|
||||
* @param chan MAVLink channel to send the message
|
||||
*
|
||||
* @param vx [m/s] GPS velocity north m/s
|
||||
* @param vy [m/s] GPS velocity east m/s
|
||||
* @param vz [m/s] GPS velocity down m/s
|
||||
* @param diff_pressure [Pa] Differential pressure pascals
|
||||
* @param EAS2TAS Estimated to true airspeed ratio
|
||||
* @param ratio Airspeed ratio
|
||||
* @param state_x EKF state x
|
||||
* @param state_y EKF state y
|
||||
* @param state_z EKF state z
|
||||
* @param Pax EKF Pax
|
||||
* @param Pby EKF Pby
|
||||
* @param Pcz EKF Pcz
|
||||
* @param vx [m/s] GPS velocity north.
|
||||
* @param vy [m/s] GPS velocity east.
|
||||
* @param vz [m/s] GPS velocity down.
|
||||
* @param diff_pressure [Pa] Differential pressure.
|
||||
* @param EAS2TAS Estimated to true airspeed ratio.
|
||||
* @param ratio Airspeed ratio.
|
||||
* @param state_x EKF state x.
|
||||
* @param state_y EKF state y.
|
||||
* @param state_z EKF state z.
|
||||
* @param Pax EKF Pax.
|
||||
* @param Pby EKF Pby.
|
||||
* @param Pcz EKF Pcz.
|
||||
*/
|
||||
#ifdef MAVLINK_USE_CONVENIENCE_FUNCTIONS
|
||||
|
||||
@@ -342,7 +342,7 @@ static inline void mavlink_msg_airspeed_autocal_send_buf(mavlink_message_t *msgb
|
||||
/**
|
||||
* @brief Get field vx from airspeed_autocal message
|
||||
*
|
||||
* @return [m/s] GPS velocity north m/s
|
||||
* @return [m/s] GPS velocity north.
|
||||
*/
|
||||
static inline float mavlink_msg_airspeed_autocal_get_vx(const mavlink_message_t* msg)
|
||||
{
|
||||
@@ -352,7 +352,7 @@ static inline float mavlink_msg_airspeed_autocal_get_vx(const mavlink_message_t*
|
||||
/**
|
||||
* @brief Get field vy from airspeed_autocal message
|
||||
*
|
||||
* @return [m/s] GPS velocity east m/s
|
||||
* @return [m/s] GPS velocity east.
|
||||
*/
|
||||
static inline float mavlink_msg_airspeed_autocal_get_vy(const mavlink_message_t* msg)
|
||||
{
|
||||
@@ -362,7 +362,7 @@ static inline float mavlink_msg_airspeed_autocal_get_vy(const mavlink_message_t*
|
||||
/**
|
||||
* @brief Get field vz from airspeed_autocal message
|
||||
*
|
||||
* @return [m/s] GPS velocity down m/s
|
||||
* @return [m/s] GPS velocity down.
|
||||
*/
|
||||
static inline float mavlink_msg_airspeed_autocal_get_vz(const mavlink_message_t* msg)
|
||||
{
|
||||
@@ -372,7 +372,7 @@ static inline float mavlink_msg_airspeed_autocal_get_vz(const mavlink_message_t*
|
||||
/**
|
||||
* @brief Get field diff_pressure from airspeed_autocal message
|
||||
*
|
||||
* @return [Pa] Differential pressure pascals
|
||||
* @return [Pa] Differential pressure.
|
||||
*/
|
||||
static inline float mavlink_msg_airspeed_autocal_get_diff_pressure(const mavlink_message_t* msg)
|
||||
{
|
||||
@@ -382,7 +382,7 @@ static inline float mavlink_msg_airspeed_autocal_get_diff_pressure(const mavlink
|
||||
/**
|
||||
* @brief Get field EAS2TAS from airspeed_autocal message
|
||||
*
|
||||
* @return Estimated to true airspeed ratio
|
||||
* @return Estimated to true airspeed ratio.
|
||||
*/
|
||||
static inline float mavlink_msg_airspeed_autocal_get_EAS2TAS(const mavlink_message_t* msg)
|
||||
{
|
||||
@@ -392,7 +392,7 @@ static inline float mavlink_msg_airspeed_autocal_get_EAS2TAS(const mavlink_messa
|
||||
/**
|
||||
* @brief Get field ratio from airspeed_autocal message
|
||||
*
|
||||
* @return Airspeed ratio
|
||||
* @return Airspeed ratio.
|
||||
*/
|
||||
static inline float mavlink_msg_airspeed_autocal_get_ratio(const mavlink_message_t* msg)
|
||||
{
|
||||
@@ -402,7 +402,7 @@ static inline float mavlink_msg_airspeed_autocal_get_ratio(const mavlink_message
|
||||
/**
|
||||
* @brief Get field state_x from airspeed_autocal message
|
||||
*
|
||||
* @return EKF state x
|
||||
* @return EKF state x.
|
||||
*/
|
||||
static inline float mavlink_msg_airspeed_autocal_get_state_x(const mavlink_message_t* msg)
|
||||
{
|
||||
@@ -412,7 +412,7 @@ static inline float mavlink_msg_airspeed_autocal_get_state_x(const mavlink_messa
|
||||
/**
|
||||
* @brief Get field state_y from airspeed_autocal message
|
||||
*
|
||||
* @return EKF state y
|
||||
* @return EKF state y.
|
||||
*/
|
||||
static inline float mavlink_msg_airspeed_autocal_get_state_y(const mavlink_message_t* msg)
|
||||
{
|
||||
@@ -422,7 +422,7 @@ static inline float mavlink_msg_airspeed_autocal_get_state_y(const mavlink_messa
|
||||
/**
|
||||
* @brief Get field state_z from airspeed_autocal message
|
||||
*
|
||||
* @return EKF state z
|
||||
* @return EKF state z.
|
||||
*/
|
||||
static inline float mavlink_msg_airspeed_autocal_get_state_z(const mavlink_message_t* msg)
|
||||
{
|
||||
@@ -432,7 +432,7 @@ static inline float mavlink_msg_airspeed_autocal_get_state_z(const mavlink_messa
|
||||
/**
|
||||
* @brief Get field Pax from airspeed_autocal message
|
||||
*
|
||||
* @return EKF Pax
|
||||
* @return EKF Pax.
|
||||
*/
|
||||
static inline float mavlink_msg_airspeed_autocal_get_Pax(const mavlink_message_t* msg)
|
||||
{
|
||||
@@ -442,7 +442,7 @@ static inline float mavlink_msg_airspeed_autocal_get_Pax(const mavlink_message_t
|
||||
/**
|
||||
* @brief Get field Pby from airspeed_autocal message
|
||||
*
|
||||
* @return EKF Pby
|
||||
* @return EKF Pby.
|
||||
*/
|
||||
static inline float mavlink_msg_airspeed_autocal_get_Pby(const mavlink_message_t* msg)
|
||||
{
|
||||
@@ -452,7 +452,7 @@ static inline float mavlink_msg_airspeed_autocal_get_Pby(const mavlink_message_t
|
||||
/**
|
||||
* @brief Get field Pcz from airspeed_autocal message
|
||||
*
|
||||
* @return EKF Pcz
|
||||
* @return EKF Pcz.
|
||||
*/
|
||||
static inline float mavlink_msg_airspeed_autocal_get_Pcz(const mavlink_message_t* msg)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user