Commit fb2c4f81 authored by PX4BuildBot's avatar PX4BuildBot

autogenerated headers for rev...

autogenerated headers for rev https://github.com/mavlink/mavlink/tree/de22395191208df6c42e243a6d7993e6a364e48a
parent 550c3f5b
This diff is collapsed.
......@@ -5,19 +5,19 @@
MAVPACKED(
typedef struct __mavlink_adap_tuning_t {
float desired; /*< desired rate (degrees/s)*/
float achieved; /*< achieved rate (degrees/s)*/
float error; /*< error between model and vehicle*/
float theta; /*< theta estimated state predictor*/
float omega; /*< omega estimated state predictor*/
float sigma; /*< sigma estimated state predictor*/
float theta_dot; /*< theta derivative*/
float omega_dot; /*< omega derivative*/
float sigma_dot; /*< sigma derivative*/
float f; /*< projection operator value*/
float f_dot; /*< projection operator derivative*/
float u; /*< u adaptive controlled output command*/
uint8_t axis; /*< axis*/
float desired; /*< Desired rate.*/
float achieved; /*< Achieved rate.*/
float error; /*< Error between model and vehicle.*/
float theta; /*< Theta estimated state predictor.*/
float omega; /*< Omega estimated state predictor.*/
float sigma; /*< Sigma estimated state predictor.*/
float theta_dot; /*< Theta derivative.*/
float omega_dot; /*< Omega derivative.*/
float sigma_dot; /*< Sigma derivative.*/
float f; /*< Projection operator value.*/
float f_dot; /*< Projection operator derivative.*/
float u; /*< u adaptive controlled output command.*/
uint8_t axis; /*< Axis.*/
}) mavlink_adap_tuning_t;
#define MAVLINK_MSG_ID_ADAP_TUNING_LEN 49
......@@ -77,19 +77,19 @@ typedef struct __mavlink_adap_tuning_t {
* @param component_id ID of this component (e.g. 200 for IMU)
* @param msg The MAVLink message to compress the data into
*
* @param axis axis
* @param desired desired rate (degrees/s)
* @param achieved achieved rate (degrees/s)
* @param error error between model and vehicle
* @param theta theta estimated state predictor
* @param omega omega estimated state predictor
* @param sigma sigma estimated state predictor
* @param theta_dot theta derivative
* @param omega_dot omega derivative
* @param sigma_dot sigma derivative
* @param f projection operator value
* @param f_dot projection operator derivative
* @param u u adaptive controlled output command
* @param axis Axis.
* @param desired Desired rate.
* @param achieved Achieved rate.
* @param error Error between model and vehicle.
* @param theta Theta estimated state predictor.
* @param omega Omega estimated state predictor.
* @param sigma Sigma estimated state predictor.
* @param theta_dot Theta derivative.
* @param omega_dot Omega derivative.
* @param sigma_dot Sigma derivative.
* @param f Projection operator value.
* @param f_dot Projection operator derivative.
* @param u u adaptive controlled output command.
* @return length of the message in bytes (excluding serial stream start sign)
*/
static inline uint16_t mavlink_msg_adap_tuning_pack(uint8_t system_id, uint8_t component_id, mavlink_message_t* msg,
......@@ -141,19 +141,19 @@ static inline uint16_t mavlink_msg_adap_tuning_pack(uint8_t system_id, uint8_t c
* @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 axis axis
* @param desired desired rate (degrees/s)
* @param achieved achieved rate (degrees/s)
* @param error error between model and vehicle
* @param theta theta estimated state predictor
* @param omega omega estimated state predictor
* @param sigma sigma estimated state predictor
* @param theta_dot theta derivative
* @param omega_dot omega derivative
* @param sigma_dot sigma derivative
* @param f projection operator value
* @param f_dot projection operator derivative
* @param u u adaptive controlled output command
* @param axis Axis.
* @param desired Desired rate.
* @param achieved Achieved rate.
* @param error Error between model and vehicle.
* @param theta Theta estimated state predictor.
* @param omega Omega estimated state predictor.
* @param sigma Sigma estimated state predictor.
* @param theta_dot Theta derivative.
* @param omega_dot Omega derivative.
* @param sigma_dot Sigma derivative.
* @param f Projection operator value.
* @param f_dot Projection operator derivative.
* @param u u adaptive controlled output command.
* @return length of the message in bytes (excluding serial stream start sign)
*/
static inline uint16_t mavlink_msg_adap_tuning_pack_chan(uint8_t system_id, uint8_t component_id, uint8_t chan,
......@@ -231,19 +231,19 @@ static inline uint16_t mavlink_msg_adap_tuning_encode_chan(uint8_t system_id, ui
* @brief Send a adap_tuning message
* @param chan MAVLink channel to send the message
*
* @param axis axis
* @param desired desired rate (degrees/s)
* @param achieved achieved rate (degrees/s)
* @param error error between model and vehicle
* @param theta theta estimated state predictor
* @param omega omega estimated state predictor
* @param sigma sigma estimated state predictor
* @param theta_dot theta derivative
* @param omega_dot omega derivative
* @param sigma_dot sigma derivative
* @param f projection operator value
* @param f_dot projection operator derivative
* @param u u adaptive controlled output command
* @param axis Axis.
* @param desired Desired rate.
* @param achieved Achieved rate.
* @param error Error between model and vehicle.
* @param theta Theta estimated state predictor.
* @param omega Omega estimated state predictor.
* @param sigma Sigma estimated state predictor.
* @param theta_dot Theta derivative.
* @param omega_dot Omega derivative.
* @param sigma_dot Sigma derivative.
* @param f Projection operator value.
* @param f_dot Projection operator derivative.
* @param u u adaptive controlled output command.
*/
#ifdef MAVLINK_USE_CONVENIENCE_FUNCTIONS
......@@ -356,7 +356,7 @@ static inline void mavlink_msg_adap_tuning_send_buf(mavlink_message_t *msgbuf, m
/**
* @brief Get field axis from adap_tuning message
*
* @return axis
* @return Axis.
*/
static inline uint8_t mavlink_msg_adap_tuning_get_axis(const mavlink_message_t* msg)
{
......@@ -366,7 +366,7 @@ static inline uint8_t mavlink_msg_adap_tuning_get_axis(const mavlink_message_t*
/**
* @brief Get field desired from adap_tuning message
*
* @return desired rate (degrees/s)
* @return Desired rate.
*/
static inline float mavlink_msg_adap_tuning_get_desired(const mavlink_message_t* msg)
{
......@@ -376,7 +376,7 @@ static inline float mavlink_msg_adap_tuning_get_desired(const mavlink_message_t*
/**
* @brief Get field achieved from adap_tuning message
*
* @return achieved rate (degrees/s)
* @return Achieved rate.
*/
static inline float mavlink_msg_adap_tuning_get_achieved(const mavlink_message_t* msg)
{
......@@ -386,7 +386,7 @@ static inline float mavlink_msg_adap_tuning_get_achieved(const mavlink_message_t
/**
* @brief Get field error from adap_tuning message
*
* @return error between model and vehicle
* @return Error between model and vehicle.
*/
static inline float mavlink_msg_adap_tuning_get_error(const mavlink_message_t* msg)
{
......@@ -396,7 +396,7 @@ static inline float mavlink_msg_adap_tuning_get_error(const mavlink_message_t* m
/**
* @brief Get field theta from adap_tuning message
*
* @return theta estimated state predictor
* @return Theta estimated state predictor.
*/
static inline float mavlink_msg_adap_tuning_get_theta(const mavlink_message_t* msg)
{
......@@ -406,7 +406,7 @@ static inline float mavlink_msg_adap_tuning_get_theta(const mavlink_message_t* m
/**
* @brief Get field omega from adap_tuning message
*
* @return omega estimated state predictor
* @return Omega estimated state predictor.
*/
static inline float mavlink_msg_adap_tuning_get_omega(const mavlink_message_t* msg)
{
......@@ -416,7 +416,7 @@ static inline float mavlink_msg_adap_tuning_get_omega(const mavlink_message_t* m
/**
* @brief Get field sigma from adap_tuning message
*
* @return sigma estimated state predictor
* @return Sigma estimated state predictor.
*/
static inline float mavlink_msg_adap_tuning_get_sigma(const mavlink_message_t* msg)
{
......@@ -426,7 +426,7 @@ static inline float mavlink_msg_adap_tuning_get_sigma(const mavlink_message_t* m
/**
* @brief Get field theta_dot from adap_tuning message
*
* @return theta derivative
* @return Theta derivative.
*/
static inline float mavlink_msg_adap_tuning_get_theta_dot(const mavlink_message_t* msg)
{
......@@ -436,7 +436,7 @@ static inline float mavlink_msg_adap_tuning_get_theta_dot(const mavlink_message_
/**
* @brief Get field omega_dot from adap_tuning message
*
* @return omega derivative
* @return Omega derivative.
*/
static inline float mavlink_msg_adap_tuning_get_omega_dot(const mavlink_message_t* msg)
{
......@@ -446,7 +446,7 @@ static inline float mavlink_msg_adap_tuning_get_omega_dot(const mavlink_message_
/**
* @brief Get field sigma_dot from adap_tuning message
*
* @return sigma derivative
* @return Sigma derivative.
*/
static inline float mavlink_msg_adap_tuning_get_sigma_dot(const mavlink_message_t* msg)
{
......@@ -456,7 +456,7 @@ static inline float mavlink_msg_adap_tuning_get_sigma_dot(const mavlink_message_
/**
* @brief Get field f from adap_tuning message
*
* @return projection operator value
* @return Projection operator value.
*/
static inline float mavlink_msg_adap_tuning_get_f(const mavlink_message_t* msg)
{
......@@ -466,7 +466,7 @@ static inline float mavlink_msg_adap_tuning_get_f(const mavlink_message_t* msg)
/**
* @brief Get field f_dot from adap_tuning message
*
* @return projection operator derivative
* @return Projection operator derivative.
*/
static inline float mavlink_msg_adap_tuning_get_f_dot(const mavlink_message_t* msg)
{
......@@ -476,7 +476,7 @@ static inline float mavlink_msg_adap_tuning_get_f_dot(const mavlink_message_t* m
/**
* @brief Get field u from adap_tuning message
*
* @return u adaptive controlled output command
* @return u adaptive controlled output command.
*/
static inline float mavlink_msg_adap_tuning_get_u(const mavlink_message_t* msg)
{
......
......@@ -5,13 +5,13 @@
MAVPACKED(
typedef struct __mavlink_ahrs_t {
float omegaIx; /*< X gyro drift estimate rad/s*/
float omegaIy; /*< Y gyro drift estimate rad/s*/
float omegaIz; /*< Z gyro drift estimate rad/s*/
float accel_weight; /*< average accel_weight*/
float renorm_val; /*< average renormalisation value*/
float error_rp; /*< average error_roll_pitch value*/
float error_yaw; /*< average error_yaw value*/
float omegaIx; /*< X gyro drift estimate.*/
float omegaIy; /*< Y gyro drift estimate.*/
float omegaIz; /*< Z gyro drift estimate.*/
float accel_weight; /*< Average accel_weight.*/
float renorm_val; /*< Average renormalisation value.*/
float error_rp; /*< Average error_roll_pitch value.*/
float error_yaw; /*< Average error_yaw value.*/
}) mavlink_ahrs_t;
#define MAVLINK_MSG_ID_AHRS_LEN 28
......@@ -59,13 +59,13 @@ typedef struct __mavlink_ahrs_t {
* @param component_id ID of this component (e.g. 200 for IMU)
* @param msg The MAVLink message to compress the data into
*
* @param omegaIx X gyro drift estimate rad/s
* @param omegaIy Y gyro drift estimate rad/s
* @param omegaIz Z gyro drift estimate rad/s
* @param accel_weight average accel_weight
* @param renorm_val average renormalisation value
* @param error_rp average error_roll_pitch value
* @param error_yaw average error_yaw value
* @param omegaIx X gyro drift estimate.
* @param omegaIy Y gyro drift estimate.
* @param omegaIz Z gyro drift estimate.
* @param accel_weight Average accel_weight.
* @param renorm_val Average renormalisation value.
* @param error_rp Average error_roll_pitch value.
* @param error_yaw Average error_yaw value.
* @return length of the message in bytes (excluding serial stream start sign)
*/
static inline uint16_t mavlink_msg_ahrs_pack(uint8_t system_id, uint8_t component_id, mavlink_message_t* msg,
......@@ -105,13 +105,13 @@ static inline uint16_t mavlink_msg_ahrs_pack(uint8_t system_id, uint8_t componen
* @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 omegaIx X gyro drift estimate rad/s
* @param omegaIy Y gyro drift estimate rad/s
* @param omegaIz Z gyro drift estimate rad/s
* @param accel_weight average accel_weight
* @param renorm_val average renormalisation value
* @param error_rp average error_roll_pitch value
* @param error_yaw average error_yaw value
* @param omegaIx X gyro drift estimate.
* @param omegaIy Y gyro drift estimate.
* @param omegaIz Z gyro drift estimate.
* @param accel_weight Average accel_weight.
* @param renorm_val Average renormalisation value.
* @param error_rp Average error_roll_pitch value.
* @param error_yaw Average error_yaw value.
* @return length of the message in bytes (excluding serial stream start sign)
*/
static inline uint16_t mavlink_msg_ahrs_pack_chan(uint8_t system_id, uint8_t component_id, uint8_t chan,
......@@ -177,13 +177,13 @@ static inline uint16_t mavlink_msg_ahrs_encode_chan(uint8_t system_id, uint8_t c
* @brief Send a ahrs message
* @param chan MAVLink channel to send the message
*
* @param omegaIx X gyro drift estimate rad/s
* @param omegaIy Y gyro drift estimate rad/s
* @param omegaIz Z gyro drift estimate rad/s
* @param accel_weight average accel_weight
* @param renorm_val average renormalisation value
* @param error_rp average error_roll_pitch value
* @param error_yaw average error_yaw value
* @param omegaIx X gyro drift estimate.
* @param omegaIy Y gyro drift estimate.
* @param omegaIz Z gyro drift estimate.
* @param accel_weight Average accel_weight.
* @param renorm_val Average renormalisation value.
* @param error_rp Average error_roll_pitch value.
* @param error_yaw Average error_yaw value.
*/
#ifdef MAVLINK_USE_CONVENIENCE_FUNCTIONS
......@@ -272,7 +272,7 @@ static inline void mavlink_msg_ahrs_send_buf(mavlink_message_t *msgbuf, mavlink_
/**
* @brief Get field omegaIx from ahrs message
*
* @return X gyro drift estimate rad/s
* @return X gyro drift estimate.
*/
static inline float mavlink_msg_ahrs_get_omegaIx(const mavlink_message_t* msg)
{
......@@ -282,7 +282,7 @@ static inline float mavlink_msg_ahrs_get_omegaIx(const mavlink_message_t* msg)
/**
* @brief Get field omegaIy from ahrs message
*
* @return Y gyro drift estimate rad/s
* @return Y gyro drift estimate.
*/
static inline float mavlink_msg_ahrs_get_omegaIy(const mavlink_message_t* msg)
{
......@@ -292,7 +292,7 @@ static inline float mavlink_msg_ahrs_get_omegaIy(const mavlink_message_t* msg)
/**
* @brief Get field omegaIz from ahrs message
*
* @return Z gyro drift estimate rad/s
* @return Z gyro drift estimate.
*/
static inline float mavlink_msg_ahrs_get_omegaIz(const mavlink_message_t* msg)
{
......@@ -302,7 +302,7 @@ static inline float mavlink_msg_ahrs_get_omegaIz(const mavlink_message_t* msg)
/**
* @brief Get field accel_weight from ahrs message
*
* @return average accel_weight
* @return Average accel_weight.
*/
static inline float mavlink_msg_ahrs_get_accel_weight(const mavlink_message_t* msg)
{
......@@ -312,7 +312,7 @@ static inline float mavlink_msg_ahrs_get_accel_weight(const mavlink_message_t* m
/**
* @brief Get field renorm_val from ahrs message
*
* @return average renormalisation value
* @return Average renormalisation value.
*/
static inline float mavlink_msg_ahrs_get_renorm_val(const mavlink_message_t* msg)
{
......@@ -322,7 +322,7 @@ static inline float mavlink_msg_ahrs_get_renorm_val(const mavlink_message_t* msg
/**
* @brief Get field error_rp from ahrs message
*
* @return average error_roll_pitch value
* @return Average error_roll_pitch value.
*/
static inline float mavlink_msg_ahrs_get_error_rp(const mavlink_message_t* msg)
{
......@@ -332,7 +332,7 @@ static inline float mavlink_msg_ahrs_get_error_rp(const mavlink_message_t* msg)
/**
* @brief Get field error_yaw from ahrs message
*
* @return average error_yaw value
* @return Average error_yaw value.
*/
static inline float mavlink_msg_ahrs_get_error_yaw(const mavlink_message_t* msg)
{
......
......@@ -5,12 +5,12 @@
MAVPACKED(
typedef struct __mavlink_ahrs2_t {
float roll; /*< Roll angle (rad)*/
float pitch; /*< Pitch angle (rad)*/
float yaw; /*< Yaw angle (rad)*/
float altitude; /*< Altitude (MSL)*/
int32_t lat; /*< Latitude in degrees * 1E7*/
int32_t lng; /*< Longitude in degrees * 1E7*/
float roll; /*< Roll angle.*/
float pitch; /*< Pitch angle.*/
float yaw; /*< Yaw angle.*/
float altitude; /*< Altitude (MSL).*/
int32_t lat; /*< Latitude.*/
int32_t lng; /*< Longitude.*/
}) mavlink_ahrs2_t;
#define MAVLINK_MSG_ID_AHRS2_LEN 24
......@@ -56,12 +56,12 @@ typedef struct __mavlink_ahrs2_t {
* @param component_id ID of this component (e.g. 200 for IMU)
* @param msg The MAVLink message to compress the data into
*
* @param roll Roll angle (rad)
* @param pitch Pitch angle (rad)
* @param yaw Yaw angle (rad)
* @param altitude Altitude (MSL)
* @param lat Latitude in degrees * 1E7
* @param lng Longitude in degrees * 1E7
* @param roll Roll angle.
* @param pitch Pitch angle.
* @param yaw Yaw angle.
* @param altitude Altitude (MSL).
* @param lat Latitude.
* @param lng Longitude.
* @return length of the message in bytes (excluding serial stream start sign)
*/
static inline uint16_t mavlink_msg_ahrs2_pack(uint8_t system_id, uint8_t component_id, mavlink_message_t* msg,
......@@ -99,12 +99,12 @@ static inline uint16_t mavlink_msg_ahrs2_pack(uint8_t system_id, uint8_t compone
* @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 roll Roll angle (rad)
* @param pitch Pitch angle (rad)
* @param yaw Yaw angle (rad)
* @param altitude Altitude (MSL)
* @param lat Latitude in degrees * 1E7
* @param lng Longitude in degrees * 1E7
* @param roll Roll angle.
* @param pitch Pitch angle.
* @param yaw Yaw angle.
* @param altitude Altitude (MSL).
* @param lat Latitude.
* @param lng Longitude.
* @return length of the message in bytes (excluding serial stream start sign)
*/
static inline uint16_t mavlink_msg_ahrs2_pack_chan(uint8_t system_id, uint8_t component_id, uint8_t chan,
......@@ -168,12 +168,12 @@ static inline uint16_t mavlink_msg_ahrs2_encode_chan(uint8_t system_id, uint8_t
* @brief Send a ahrs2 message
* @param chan MAVLink channel to send the message
*
* @param roll Roll angle (rad)
* @param pitch Pitch angle (rad)
* @param yaw Yaw angle (rad)
* @param altitude Altitude (MSL)
* @param lat Latitude in degrees * 1E7
* @param lng Longitude in degrees * 1E7
* @param roll Roll angle.
* @param pitch Pitch angle.
* @param yaw Yaw angle.
* @param altitude Altitude (MSL).
* @param lat Latitude.
* @param lng Longitude.
*/
#ifdef MAVLINK_USE_CONVENIENCE_FUNCTIONS
......@@ -258,7 +258,7 @@ static inline void mavlink_msg_ahrs2_send_buf(mavlink_message_t *msgbuf, mavlink
/**
* @brief Get field roll from ahrs2 message
*
* @return Roll angle (rad)
* @return Roll angle.
*/
static inline float mavlink_msg_ahrs2_get_roll(const mavlink_message_t* msg)
{
......@@ -268,7 +268,7 @@ static inline float mavlink_msg_ahrs2_get_roll(const mavlink_message_t* msg)
/**
* @brief Get field pitch from ahrs2 message
*
* @return Pitch angle (rad)
* @return Pitch angle.
*/
static inline float mavlink_msg_ahrs2_get_pitch(const mavlink_message_t* msg)
{
......@@ -278,7 +278,7 @@ static inline float mavlink_msg_ahrs2_get_pitch(const mavlink_message_t* msg)
/**
* @brief Get field yaw from ahrs2 message
*
* @return Yaw angle (rad)
* @return Yaw angle.
*/
static inline float mavlink_msg_ahrs2_get_yaw(const mavlink_message_t* msg)
{
......@@ -288,7 +288,7 @@ static inline float mavlink_msg_ahrs2_get_yaw(const mavlink_message_t* msg)
/**
* @brief Get field altitude from ahrs2 message
*
* @return Altitude (MSL)
* @return Altitude (MSL).
*/
static inline float mavlink_msg_ahrs2_get_altitude(const mavlink_message_t* msg)
{
......@@ -298,7 +298,7 @@ static inline float mavlink_msg_ahrs2_get_altitude(const mavlink_message_t* msg)
/**
* @brief Get field lat from ahrs2 message
*
* @return Latitude in degrees * 1E7
* @return Latitude.
*/
static inline int32_t mavlink_msg_ahrs2_get_lat(const mavlink_message_t* msg)
{
......@@ -308,7 +308,7 @@ static inline int32_t mavlink_msg_ahrs2_get_lat(const mavlink_message_t* msg)
/**
* @brief Get field lng from ahrs2 message
*
* @return Longitude in degrees * 1E7
* @return Longitude.
*/
static inline int32_t mavlink_msg_ahrs2_get_lng(const mavlink_message_t* msg)
{
......
......@@ -5,16 +5,16 @@
MAVPACKED(
typedef struct __mavlink_ahrs3_t {
float roll; /*< Roll angle (rad)*/
float pitch; /*< Pitch angle (rad)*/
float yaw; /*< Yaw angle (rad)*/
float altitude; /*< Altitude (MSL)*/
int32_t lat; /*< Latitude in degrees * 1E7*/
int32_t lng; /*< Longitude in degrees * 1E7*/
float v1; /*< test variable1*/
float v2; /*< test variable2*/
float v3; /*< test variable3*/
float v4; /*< test variable4*/
float roll; /*< Roll angle.*/
float pitch; /*< Pitch angle.*/
float yaw; /*< Yaw angle.*/
float altitude; /*< Altitude (MSL).*/
int32_t lat; /*< Latitude.*/
int32_t lng; /*< Longitude.*/
float v1; /*< Test variable1.*/
float v2; /*< Test variable2.*/
float v3; /*< Test variable3.*/
float v4; /*< Test variable4.*/
}) mavlink_ahrs3_t;
#define MAVLINK_MSG_ID_AHRS3_LEN 40
......@@ -68,16 +68,16 @@ typedef struct __mavlink_ahrs3_t {
* @param component_id ID of this component (e.g. 200 for IMU)
* @param msg The MAVLink message to compress the data into
*
* @param roll Roll angle (rad)
* @param pitch Pitch angle (rad)
* @param yaw Yaw angle (rad)
* @param altitude Altitude (MSL)
* @param lat Latitude in degrees * 1E7
* @param lng Longitude in degrees * 1E7
* @param v1 test variable1
* @param v2 test variable2
* @param v3 test variable3
* @param v4 test variable4
* @param roll Roll angle.
* @param pitch Pitch angle.
* @param yaw Yaw angle.
* @param altitude Altitude (MSL).
* @param lat Latitude.
* @param lng Longitude.
* @param v1 Test variable1.
* @param v2 Test variable2.
* @param v3 Test variable3.
* @param v4 Test variable4.
* @return length of the message in bytes (excluding serial stream start sign)
*/
static inline uint16_t mavlink_msg_ahrs3_pack(uint8_t system_id, uint8_t component_id, mavlink_message_t* msg,
......@@ -123,16 +123,16 @@ static inline uint16_t mavlink_msg_ahrs3_pack(uint8_t system_id, uint8_t compone
* @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 roll Roll angle (rad)
* @param pitch Pitch angle (rad)
* @param yaw Yaw angle (rad)
* @param altitude Altitude (MSL)
* @param lat Latitude in degrees * 1E7
* @param lng Longitude in degrees * 1E7
* @param v1 test variable1
* @param v2 test variable2
* @param v3 test variable3
* @param v4 test variable4
* @param roll Roll angle.
* @param pitch Pitch angle.
* @param yaw Yaw angle.
* @param altitude Altitude (MSL).
* @param lat Latitude.
* @param lng Longitude.
* @param v1 Test variable1.
* @param v2 Test variable2.
* @param v3 Test variable3.
* @param v4 Test variable4.
* @return length of the message in bytes (excluding serial stream start sign)
*/
static inline uint16_t mavlink_msg_ahrs3_pack_chan(uint8_t system_id, uint8_t component_id, uint8_t chan,
......@@ -204,16 +204,16 @@ static inline uint16_t mavlink_msg_ahrs3_encode_chan(uint8_t system_id, uint8_t
* @brief Send a ahrs3 message
* @param chan MAVLink channel to send the message
*
* @param roll Roll angle (rad)
* @param pitch Pitch angle (rad)
* @param yaw Yaw angle (rad)
* @param altitude Altitude (MSL)
* @param lat Latitude in degrees * 1E7
* @param lng Longitude in degrees * 1E7
* @param v1 test variable1
* @param v2 test variable2
* @param v3 test variable3
* @param v4 test variable4
* @param roll Roll angle.
* @param pitch Pitch angle.
* @param yaw Yaw angle.
* @param altitude Altitude (MSL).
* @param lat Latitude.
* @param lng Longitude.
* @param v1 Test variable1.
* @param v2 Test variable2.
* @param v3 Test variable3.
* @param v4 Test variable4.
*/
#ifdef MAVLINK_USE_CONVENIENCE_FUNCTIONS
......@@ -314,7 +314,7 @@ static inline void mavlink_msg_ahrs3_send_buf(mavlink_message_t *msgbuf, mavlink
/**
* @brief Get field roll from ahrs3 message
*
* @return Roll angle (rad)
* @return Roll angle.
*/
static inline float mavlink_msg_ahrs3_get_roll(const mavlink_message_t* msg)
{
......@@ -324,7 +324,7 @@ static inline float mavlink_msg_ahrs3_get_roll(const mavlink_message_t* msg)
/**
* @brief Get field pitch from ahrs3 message
*
* @return Pitch angle (rad)
* @return Pitch angle.
*/
static inline float mavlink_msg_ahrs3_get_pitch(const mavlink_message_t* msg)
{
......@@ -334,7 +334,7 @@ static inline float mavlink_msg_ahrs3_get_pitch(const mavlink_message_t* msg)
/**
* @brief Get field yaw from ahrs3 message
*
* @return Yaw angle (rad)
* @return Yaw angle.
*/
static inline float mavlink_msg_ahrs3_get_yaw(const mavlink_message_t* msg)
{
......@@ -344,7 +344,7 @@ static inline float mavlink_msg_ahrs3_get_yaw(const mavlink_message_t* msg)
/**
* @brief Get field altitude from ahrs3 message
*
* @return Altitude (MSL)
* @return Altitude (MSL).
*/
static inline float mavlink_msg_ahrs3_get_altitude(const mavlink_message_t* msg)
{
......@@ -354,7 +354,7 @@ static inline float mavlink_msg_ahrs3_get_altitude(const mavlink_message_t* msg)
/**
* @brief Get field lat from ahrs3 message
*
* @return Latitude in degrees * 1E7
* @return Latitude.
*/
static inline int32_t mavlink_msg_ahrs3_get_lat(const mavlink_message_t* msg)
{
......@@ -364,7 +364,7 @@ static inline int32_t mavlink_msg_ahrs3_get_lat(const mavlink_message_t* msg)
/**
* @brief Get field lng from ahrs3 message
*
* @return Longitude in degrees * 1E7
* @return Longitude.
*/
static inline int32_t mavlink_msg_ahrs3_get_lng(const mavlink_message_t* msg)
{
......@@ -374,7 +374,7 @@ static inline int32_t mavlink_msg_ahrs3_get_lng(const mavlink_message_t* msg)
/**
* @brief Get field v1 from ahrs3 message
*
* @return test variable1
* @return Test variable1.
*/
static inline float mavlink_msg_ahrs3_get_v1(const mavlink_message_t* msg)
{
......@@ -384,7 +384,7 @@ static inline float mavlink_msg_ahrs3_get_v1(const mavlink_message_t* msg)
/**
* @brief Get field v2 from ahrs3 message
*
* @return test variable2
* @return Test variable2.
*/
static inline float mavlink_msg_ahrs3_get_v2(const mavlink_message_t* msg)
{
......@@ -394,7 +394,7 @@ static inline float mavlink_msg_ahrs3_get_v2(const mavlink_message_t* msg)
/**
* @brief Get field v3 from ahrs3 message
*
* @return test variable3
* @return Test variable3.
*/
static inline float mavlink_msg_ahrs3_get_v3(const mavlink_message_t* msg)
{
......@@ -404,7 +404,7 @@ static inline float mavlink_msg_ahrs3_get_v3(const mavlink_message_t* msg)
/**
* @brief Get field v4 from ahrs3 message
*
* @return test variable4
* @return Test variable4.
*/
static inline float mavlink_msg_ahrs3_get_v4(const mavlink_message_t* msg)
{
......
......@@ -5,18 +5,18 @@
MAVPACKED(
typedef struct __mavlink_airspeed_autocal_t {
float vx; /*< GPS velocity north m/s*/
float vy; /*< GPS velocity east m/s*/
float vz; /*< GPS velocity down m/s*/
float diff_pressure; /*< 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; /*< GPS velocity north.*/
float vy; /*< GPS velocity east.*/
float vz; /*< GPS velocity down.*/
float diff_pressure; /*< 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 GPS velocity north m/s
* @param vy GPS velocity east m/s
* @param vz GPS velocity down m/s
* @param diff_pressure 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 GPS velocity north.
* @param vy GPS velocity east.
* @param vz GPS velocity down.
* @param diff_pressure 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 GPS velocity north m/s
* @param vy GPS velocity east m/s
* @param vz GPS velocity down m/s
* @param diff_pressure 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 GPS velocity north.
* @param vy GPS velocity east.
* @param vz GPS velocity down.
* @param diff_pressure 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 GPS velocity north m/s
* @param vy GPS velocity east m/s
* @param vz GPS velocity down m/s
* @param diff_pressure 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 GPS velocity north.
* @param vy GPS velocity east.
* @param vz GPS velocity down.
* @param diff_pressure 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 GPS velocity north m/s
* @return 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 GPS velocity east m/s
* @return 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 GPS velocity down m/s
* @return 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 Differential pressure pascals
* @return 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)
{
......
......@@ -5,9 +5,9 @@
MAVPACKED(
typedef struct __mavlink_aoa_ssa_t {
uint64_t time_usec; /*< Timestamp (micros since boot or Unix epoch)*/
float AOA; /*< Angle of Attack (degrees)*/
float SSA; /*< Side Slip Angle (degrees)*/
uint64_t time_usec; /*< Timestamp (since boot or Unix epoch).*/
float AOA; /*< Angle of Attack.*/
float SSA; /*< Side Slip Angle.*/
}) mavlink_aoa_ssa_t;
#define MAVLINK_MSG_ID_AOA_SSA_LEN 16
......@@ -47,9 +47,9 @@ typedef struct __mavlink_aoa_ssa_t {
* @param component_id ID of this component (e.g. 200 for IMU)
* @param msg The MAVLink message to compress the data into
*
* @param time_usec Timestamp (micros since boot or Unix epoch)
* @param AOA Angle of Attack (degrees)
* @param SSA Side Slip Angle (degrees)
* @param time_usec Timestamp (since boot or Unix epoch).
* @param AOA Angle of Attack.
* @param SSA Side Slip Angle.
* @return length of the message in bytes (excluding serial stream start sign)
*/
static inline uint16_t mavlink_msg_aoa_ssa_pack(uint8_t system_id, uint8_t component_id, mavlink_message_t* msg,
......@@ -81,9 +81,9 @@ static inline uint16_t mavlink_msg_aoa_ssa_pack(uint8_t system_id, uint8_t compo
* @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 time_usec Timestamp (micros since boot or Unix epoch)
* @param AOA Angle of Attack (degrees)
* @param SSA Side Slip Angle (degrees)
* @param time_usec Timestamp (since boot or Unix epoch).
* @param AOA Angle of Attack.
* @param SSA Side Slip Angle.
* @return length of the message in bytes (excluding serial stream start sign)
*/
static inline uint16_t mavlink_msg_aoa_ssa_pack_chan(uint8_t system_id, uint8_t component_id, uint8_t chan,
......@@ -141,9 +141,9 @@ static inline uint16_t mavlink_msg_aoa_ssa_encode_chan(uint8_t system_id, uint8_
* @brief Send a aoa_ssa message
* @param chan MAVLink channel to send the message
*
* @param time_usec Timestamp (micros since boot or Unix epoch)
* @param AOA Angle of Attack (degrees)
* @param SSA Side Slip Angle (degrees)
* @param time_usec Timestamp (since boot or Unix epoch).
* @param AOA Angle of Attack.
* @param SSA Side Slip Angle.
*/
#ifdef MAVLINK_USE_CONVENIENCE_FUNCTIONS
......@@ -216,7 +216,7 @@ static inline void mavlink_msg_aoa_ssa_send_buf(mavlink_message_t *msgbuf, mavli
/**
* @brief Get field time_usec from aoa_ssa message
*
* @return Timestamp (micros since boot or Unix epoch)
* @return Timestamp (since boot or Unix epoch).
*/
static inline uint64_t mavlink_msg_aoa_ssa_get_time_usec(const mavlink_message_t* msg)
{
......@@ -226,7 +226,7 @@ static inline uint64_t mavlink_msg_aoa_ssa_get_time_usec(const mavlink_message_t
/**
* @brief Get field AOA from aoa_ssa message
*
* @return Angle of Attack (degrees)
* @return Angle of Attack.
*/
static inline float mavlink_msg_aoa_ssa_get_AOA(const mavlink_message_t* msg)
{
......@@ -236,7 +236,7 @@ static inline float mavlink_msg_aoa_ssa_get_AOA(const mavlink_message_t* msg)
/**
* @brief Get field SSA from aoa_ssa message
*
* @return Side Slip Angle (degrees)
* @return Side Slip Angle.
*/
static inline float mavlink_msg_aoa_ssa_get_SSA(const mavlink_message_t* msg)
{
......
......@@ -5,12 +5,12 @@
MAVPACKED(
typedef struct __mavlink_ap_adc_t {
uint16_t adc1; /*< ADC output 1*/
uint16_t adc2; /*< ADC output 2*/
uint16_t adc3; /*< ADC output 3*/
uint16_t adc4; /*< ADC output 4*/
uint16_t adc5; /*< ADC output 5*/
uint16_t adc6; /*< ADC output 6*/
uint16_t adc1; /*< ADC output 1.*/
uint16_t adc2; /*< ADC output 2.*/
uint16_t adc3; /*< ADC output 3.*/
uint16_t adc4; /*< ADC output 4.*/
uint16_t adc5; /*< ADC output 5.*/
uint16_t adc6; /*< ADC output 6.*/
}) mavlink_ap_adc_t;
#define MAVLINK_MSG_ID_AP_ADC_LEN 12
......@@ -56,12 +56,12 @@ typedef struct __mavlink_ap_adc_t {
* @param component_id ID of this component (e.g. 200 for IMU)
* @param msg The MAVLink message to compress the data into
*
* @param adc1 ADC output 1
* @param adc2 ADC output 2
* @param adc3 ADC output 3
* @param adc4 ADC output 4
* @param adc5 ADC output 5
* @param adc6 ADC output 6
* @param adc1 ADC output 1.
* @param adc2 ADC output 2.
* @param adc3 ADC output 3.
* @param adc4 ADC output 4.
* @param adc5 ADC output 5.
* @param adc6 ADC output 6.
* @return length of the message in bytes (excluding serial stream start sign)
*/
static inline uint16_t mavlink_msg_ap_adc_pack(uint8_t system_id, uint8_t component_id, mavlink_message_t* msg,
......@@ -99,12 +99,12 @@ static inline uint16_t mavlink_msg_ap_adc_pack(uint8_t system_id, uint8_t compon
* @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 adc1 ADC output 1
* @param adc2 ADC output 2
* @param adc3 ADC output 3
* @param adc4 ADC output 4
* @param adc5 ADC output 5
* @param adc6 ADC output 6
* @param adc1 ADC output 1.
* @param adc2 ADC output 2.
* @param adc3 ADC output 3.
* @param adc4 ADC output 4.
* @param adc5 ADC output 5.
* @param adc6 ADC output 6.
* @return length of the message in bytes (excluding serial stream start sign)
*/
static inline uint16_t mavlink_msg_ap_adc_pack_chan(uint8_t system_id, uint8_t component_id, uint8_t chan,
......@@ -168,12 +168,12 @@ static inline uint16_t mavlink_msg_ap_adc_encode_chan(uint8_t system_id, uint8_t
* @brief Send a ap_adc message
* @param chan MAVLink channel to send the message
*
* @param adc1 ADC output 1
* @param adc2 ADC output 2
* @param adc3 ADC output 3
* @param adc4 ADC output 4
* @param adc5 ADC output 5
* @param adc6 ADC output 6
* @param adc1 ADC output 1.
* @param adc2 ADC output 2.
* @param adc3 ADC output 3.
* @param adc4 ADC output 4.
* @param adc5 ADC output 5.
* @param adc6 ADC output 6.
*/
#ifdef MAVLINK_USE_CONVENIENCE_FUNCTIONS
......@@ -258,7 +258,7 @@ static inline void mavlink_msg_ap_adc_send_buf(mavlink_message_t *msgbuf, mavlin
/**
* @brief Get field adc1 from ap_adc message
*
* @return ADC output 1
* @return ADC output 1.
*/
static inline uint16_t mavlink_msg_ap_adc_get_adc1(const mavlink_message_t* msg)
{
......@@ -268,7 +268,7 @@ static inline uint16_t mavlink_msg_ap_adc_get_adc1(const mavlink_message_t* msg)
/**
* @brief Get field adc2 from ap_adc message
*
* @return ADC output 2
* @return ADC output 2.
*/
static inline uint16_t mavlink_msg_ap_adc_get_adc2(const mavlink_message_t* msg)
{
......@@ -278,7 +278,7 @@ static inline uint16_t mavlink_msg_ap_adc_get_adc2(const mavlink_message_t* msg)
/**
* @brief Get field adc3 from ap_adc message
*
* @return ADC output 3
* @return ADC output 3.
*/
static inline uint16_t mavlink_msg_ap_adc_get_adc3(const mavlink_message_t* msg)
{
......@@ -288,7 +288,7 @@ static inline uint16_t mavlink_msg_ap_adc_get_adc3(const mavlink_message_t* msg)
/**
* @brief Get field adc4 from ap_adc message
*
* @return ADC output 4
* @return ADC output 4.
*/
static inline uint16_t mavlink_msg_ap_adc_get_adc4(const mavlink_message_t* msg)
{
......@@ -298,7 +298,7 @@ static inline uint16_t mavlink_msg_ap_adc_get_adc4(const mavlink_message_t* msg)
/**
* @brief Get field adc5 from ap_adc message
*
* @return ADC output 5
* @return ADC output 5.
*/
static inline uint16_t mavlink_msg_ap_adc_get_adc5(const mavlink_message_t* msg)
{
......@@ -308,7 +308,7 @@ static inline uint16_t mavlink_msg_ap_adc_get_adc5(const mavlink_message_t* msg)
/**
* @brief Get field adc6 from ap_adc message
*
* @return ADC output 6
* @return ADC output 6.
*/
static inline uint16_t mavlink_msg_ap_adc_get_adc6(const mavlink_message_t* msg)
{
......
......@@ -5,8 +5,8 @@
MAVPACKED(
typedef struct __mavlink_autopilot_version_request_t {
uint8_t target_system; /*< System ID*/
uint8_t target_component; /*< Component ID*/
uint8_t target_system; /*< System ID.*/
uint8_t target_component; /*< Component ID.*/
}) mavlink_autopilot_version_request_t;
#define MAVLINK_MSG_ID_AUTOPILOT_VERSION_REQUEST_LEN 2
......@@ -44,8 +44,8 @@ typedef struct __mavlink_autopilot_version_request_t {
* @param component_id ID of this component (e.g. 200 for IMU)
* @param msg The MAVLink message to compress the data into
*
* @param target_system System ID
* @param target_component Component ID
* @param target_system System ID.
* @param target_component Component ID.
* @return length of the message in bytes (excluding serial stream start sign)
*/
static inline uint16_t mavlink_msg_autopilot_version_request_pack(uint8_t system_id, uint8_t component_id, mavlink_message_t* msg,
......@@ -75,8 +75,8 @@ static inline uint16_t mavlink_msg_autopilot_version_request_pack(uint8_t system
* @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 target_system System ID
* @param target_component Component ID
* @param target_system System ID.
* @param target_component Component ID.
* @return length of the message in bytes (excluding serial stream start sign)
*/
static inline uint16_t mavlink_msg_autopilot_version_request_pack_chan(uint8_t system_id, uint8_t component_id, uint8_t chan,
......@@ -132,8 +132,8 @@ static inline uint16_t mavlink_msg_autopilot_version_request_encode_chan(uint8_t
* @brief Send a autopilot_version_request message
* @param chan MAVLink channel to send the message
*
* @param target_system System ID
* @param target_component Component ID
* @param target_system System ID.
* @param target_component Component ID.
*/
#ifdef MAVLINK_USE_CONVENIENCE_FUNCTIONS
......@@ -202,7 +202,7 @@ static inline void mavlink_msg_autopilot_version_request_send_buf(mavlink_messag
/**
* @brief Get field target_system from autopilot_version_request message
*
* @return System ID
* @return System ID.
*/
static inline uint8_t mavlink_msg_autopilot_version_request_get_target_system(const mavlink_message_t* msg)
{
......@@ -212,7 +212,7 @@ static inline uint8_t mavlink_msg_autopilot_version_request_get_target_system(co
/**
* @brief Get field target_component from autopilot_version_request message
*
* @return Component ID
* @return Component ID.
*/
static inline uint8_t mavlink_msg_autopilot_version_request_get_target_component(const mavlink_message_t* msg)
{
......
......@@ -5,8 +5,8 @@
MAVPACKED(
typedef struct __mavlink_battery2_t {
uint16_t voltage; /*< voltage in millivolts*/
int16_t current_battery; /*< Battery current, in centiamperes (1 = 10 milliampere), -1: autopilot does not measure the current*/
uint16_t voltage; /*< Voltage.*/
int16_t current_battery; /*< Battery current, -1: autopilot does not measure the current.*/
}) mavlink_battery2_t;
#define MAVLINK_MSG_ID_BATTERY2_LEN 4
......@@ -44,8 +44,8 @@ typedef struct __mavlink_battery2_t {
* @param component_id ID of this component (e.g. 200 for IMU)
* @param msg The MAVLink message to compress the data into
*
* @param voltage voltage in millivolts
* @param current_battery Battery current, in centiamperes (1 = 10 milliampere), -1: autopilot does not measure the current
* @param voltage Voltage.
* @param current_battery Battery current, -1: autopilot does not measure the current.
* @return length of the message in bytes (excluding serial stream start sign)
*/
static inline uint16_t mavlink_msg_battery2_pack(uint8_t system_id, uint8_t component_id, mavlink_message_t* msg,
......@@ -75,8 +75,8 @@ static inline uint16_t mavlink_msg_battery2_pack(uint8_t system_id, uint8_t comp
* @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 voltage voltage in millivolts
* @param current_battery Battery current, in centiamperes (1 = 10 milliampere), -1: autopilot does not measure the current
* @param voltage Voltage.
* @param current_battery Battery current, -1: autopilot does not measure the current.
* @return length of the message in bytes (excluding serial stream start sign)
*/
static inline uint16_t mavlink_msg_battery2_pack_chan(uint8_t system_id, uint8_t component_id, uint8_t chan,
......@@ -132,8 +132,8 @@ static inline uint16_t mavlink_msg_battery2_encode_chan(uint8_t system_id, uint8
* @brief Send a battery2 message
* @param chan MAVLink channel to send the message
*
* @param voltage voltage in millivolts
* @param current_battery Battery current, in centiamperes (1 = 10 milliampere), -1: autopilot does not measure the current
* @param voltage Voltage.
* @param current_battery Battery current, -1: autopilot does not measure the current.
*/
#ifdef MAVLINK_USE_CONVENIENCE_FUNCTIONS
......@@ -202,7 +202,7 @@ static inline void mavlink_msg_battery2_send_buf(mavlink_message_t *msgbuf, mavl
/**
* @brief Get field voltage from battery2 message
*
* @return voltage in millivolts
* @return Voltage.
*/
static inline uint16_t mavlink_msg_battery2_get_voltage(const mavlink_message_t* msg)
{
......@@ -212,7 +212,7 @@ static inline uint16_t mavlink_msg_battery2_get_voltage(const mavlink_message_t*
/**
* @brief Get field current_battery from battery2 message
*
* @return Battery current, in centiamperes (1 = 10 milliampere), -1: autopilot does not measure the current
* @return Battery current, -1: autopilot does not measure the current.
*/
static inline int16_t mavlink_msg_battery2_get_current_battery(const mavlink_message_t* msg)
{
......
This diff is collapsed.
......@@ -5,15 +5,15 @@
MAVPACKED(
typedef struct __mavlink_camera_status_t {
uint64_t time_usec; /*< Image timestamp (microseconds since UNIX epoch, according to camera clock)*/
float p1; /*< Parameter 1 (meaning depends on event, see CAMERA_STATUS_TYPES enum)*/
float p2; /*< Parameter 2 (meaning depends on event, see CAMERA_STATUS_TYPES enum)*/
float p3; /*< Parameter 3 (meaning depends on event, see CAMERA_STATUS_TYPES enum)*/
float p4; /*< Parameter 4 (meaning depends on event, see CAMERA_STATUS_TYPES enum)*/
uint16_t img_idx; /*< Image index*/
uint8_t target_system; /*< System ID*/
uint8_t cam_idx; /*< Camera ID*/
uint8_t event_id; /*< See CAMERA_STATUS_TYPES enum for definition of the bitmask*/
uint64_t time_usec; /*< Image timestamp (since UNIX epoch, according to camera clock).*/
float p1; /*< Parameter 1 (meaning depends on event_id, see CAMERA_STATUS_TYPES enum).*/
float p2; /*< Parameter 2 (meaning depends on event_id, see CAMERA_STATUS_TYPES enum).*/
float p3; /*< Parameter 3 (meaning depends on event_id, see CAMERA_STATUS_TYPES enum).*/
float p4; /*< Parameter 4 (meaning depends on event_id, see CAMERA_STATUS_TYPES enum).*/
uint16_t img_idx; /*< Image index.*/
uint8_t target_system; /*< System ID.*/
uint8_t cam_idx; /*< Camera ID.*/
uint8_t event_id; /*< Event type.*/
}) mavlink_camera_status_t;
#define MAVLINK_MSG_ID_CAMERA_STATUS_LEN 29
......@@ -65,15 +65,15 @@ typedef struct __mavlink_camera_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 time_usec Image timestamp (microseconds since UNIX epoch, according to camera clock)
* @param target_system System ID
* @param cam_idx Camera ID
* @param img_idx Image index
* @param event_id See CAMERA_STATUS_TYPES enum for definition of the bitmask
* @param p1 Parameter 1 (meaning depends on event, see CAMERA_STATUS_TYPES enum)
* @param p2 Parameter 2 (meaning depends on event, see CAMERA_STATUS_TYPES enum)
* @param p3 Parameter 3 (meaning depends on event, see CAMERA_STATUS_TYPES enum)
* @param p4 Parameter 4 (meaning depends on event, see CAMERA_STATUS_TYPES enum)
* @param time_usec Image timestamp (since UNIX epoch, according to camera clock).
* @param target_system System ID.
* @param cam_idx Camera ID.
* @param img_idx Image index.
* @param event_id Event type.
* @param p1 Parameter 1 (meaning depends on event_id, see CAMERA_STATUS_TYPES enum).
* @param p2 Parameter 2 (meaning depends on event_id, see CAMERA_STATUS_TYPES enum).
* @param p3 Parameter 3 (meaning depends on event_id, see CAMERA_STATUS_TYPES enum).
* @param p4 Parameter 4 (meaning depends on event_id, see CAMERA_STATUS_TYPES enum).
* @return length of the message in bytes (excluding serial stream start sign)
*/
static inline uint16_t mavlink_msg_camera_status_pack(uint8_t system_id, uint8_t component_id, mavlink_message_t* msg,
......@@ -117,15 +117,15 @@ static inline uint16_t mavlink_msg_camera_status_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 time_usec Image timestamp (microseconds since UNIX epoch, according to camera clock)
* @param target_system System ID
* @param cam_idx Camera ID
* @param img_idx Image index
* @param event_id See CAMERA_STATUS_TYPES enum for definition of the bitmask
* @param p1 Parameter 1 (meaning depends on event, see CAMERA_STATUS_TYPES enum)
* @param p2 Parameter 2 (meaning depends on event, see CAMERA_STATUS_TYPES enum)
* @param p3 Parameter 3 (meaning depends on event, see CAMERA_STATUS_TYPES enum)
* @param p4 Parameter 4 (meaning depends on event, see CAMERA_STATUS_TYPES enum)
* @param time_usec Image timestamp (since UNIX epoch, according to camera clock).
* @param target_system System ID.
* @param cam_idx Camera ID.
* @param img_idx Image index.
* @param event_id Event type.
* @param p1 Parameter 1 (meaning depends on event_id, see CAMERA_STATUS_TYPES enum).
* @param p2 Parameter 2 (meaning depends on event_id, see CAMERA_STATUS_TYPES enum).
* @param p3 Parameter 3 (meaning depends on event_id, see CAMERA_STATUS_TYPES enum).
* @param p4 Parameter 4 (meaning depends on event_id, see CAMERA_STATUS_TYPES enum).
* @return length of the message in bytes (excluding serial stream start sign)
*/
static inline uint16_t mavlink_msg_camera_status_pack_chan(uint8_t system_id, uint8_t component_id, uint8_t chan,
......@@ -195,15 +195,15 @@ static inline uint16_t mavlink_msg_camera_status_encode_chan(uint8_t system_id,
* @brief Send a camera_status message
* @param chan MAVLink channel to send the message
*
* @param time_usec Image timestamp (microseconds since UNIX epoch, according to camera clock)
* @param target_system System ID
* @param cam_idx Camera ID
* @param img_idx Image index
* @param event_id See CAMERA_STATUS_TYPES enum for definition of the bitmask
* @param p1 Parameter 1 (meaning depends on event, see CAMERA_STATUS_TYPES enum)
* @param p2 Parameter 2 (meaning depends on event, see CAMERA_STATUS_TYPES enum)
* @param p3 Parameter 3 (meaning depends on event, see CAMERA_STATUS_TYPES enum)
* @param p4 Parameter 4 (meaning depends on event, see CAMERA_STATUS_TYPES enum)
* @param time_usec Image timestamp (since UNIX epoch, according to camera clock).
* @param target_system System ID.
* @param cam_idx Camera ID.
* @param img_idx Image index.
* @param event_id Event type.
* @param p1 Parameter 1 (meaning depends on event_id, see CAMERA_STATUS_TYPES enum).
* @param p2 Parameter 2 (meaning depends on event_id, see CAMERA_STATUS_TYPES enum).
* @param p3 Parameter 3 (meaning depends on event_id, see CAMERA_STATUS_TYPES enum).
* @param p4 Parameter 4 (meaning depends on event_id, see CAMERA_STATUS_TYPES enum).
*/
#ifdef MAVLINK_USE_CONVENIENCE_FUNCTIONS
......@@ -300,7 +300,7 @@ static inline void mavlink_msg_camera_status_send_buf(mavlink_message_t *msgbuf,
/**
* @brief Get field time_usec from camera_status message
*
* @return Image timestamp (microseconds since UNIX epoch, according to camera clock)
* @return Image timestamp (since UNIX epoch, according to camera clock).
*/
static inline uint64_t mavlink_msg_camera_status_get_time_usec(const mavlink_message_t* msg)
{
......@@ -310,7 +310,7 @@ static inline uint64_t mavlink_msg_camera_status_get_time_usec(const mavlink_mes
/**
* @brief Get field target_system from camera_status message
*
* @return System ID
* @return System ID.
*/
static inline uint8_t mavlink_msg_camera_status_get_target_system(const mavlink_message_t* msg)
{
......@@ -320,7 +320,7 @@ static inline uint8_t mavlink_msg_camera_status_get_target_system(const mavlink_
/**
* @brief Get field cam_idx from camera_status message
*
* @return Camera ID
* @return Camera ID.
*/
static inline uint8_t mavlink_msg_camera_status_get_cam_idx(const mavlink_message_t* msg)
{
......@@ -330,7 +330,7 @@ static inline uint8_t mavlink_msg_camera_status_get_cam_idx(const mavlink_messag
/**
* @brief Get field img_idx from camera_status message
*
* @return Image index
* @return Image index.
*/
static inline uint16_t mavlink_msg_camera_status_get_img_idx(const mavlink_message_t* msg)
{
......@@ -340,7 +340,7 @@ static inline uint16_t mavlink_msg_camera_status_get_img_idx(const mavlink_messa
/**
* @brief Get field event_id from camera_status message
*
* @return See CAMERA_STATUS_TYPES enum for definition of the bitmask
* @return Event type.
*/
static inline uint8_t mavlink_msg_camera_status_get_event_id(const mavlink_message_t* msg)
{
......@@ -350,7 +350,7 @@ static inline uint8_t mavlink_msg_camera_status_get_event_id(const mavlink_messa
/**
* @brief Get field p1 from camera_status message
*
* @return Parameter 1 (meaning depends on event, see CAMERA_STATUS_TYPES enum)
* @return Parameter 1 (meaning depends on event_id, see CAMERA_STATUS_TYPES enum).
*/
static inline float mavlink_msg_camera_status_get_p1(const mavlink_message_t* msg)
{
......@@ -360,7 +360,7 @@ static inline float mavlink_msg_camera_status_get_p1(const mavlink_message_t* ms
/**
* @brief Get field p2 from camera_status message
*
* @return Parameter 2 (meaning depends on event, see CAMERA_STATUS_TYPES enum)
* @return Parameter 2 (meaning depends on event_id, see CAMERA_STATUS_TYPES enum).
*/
static inline float mavlink_msg_camera_status_get_p2(const mavlink_message_t* msg)
{
......@@ -370,7 +370,7 @@ static inline float mavlink_msg_camera_status_get_p2(const mavlink_message_t* ms
/**
* @brief Get field p3 from camera_status message
*
* @return Parameter 3 (meaning depends on event, see CAMERA_STATUS_TYPES enum)
* @return Parameter 3 (meaning depends on event_id, see CAMERA_STATUS_TYPES enum).
*/
static inline float mavlink_msg_camera_status_get_p3(const mavlink_message_t* msg)
{
......@@ -380,7 +380,7 @@ static inline float mavlink_msg_camera_status_get_p3(const mavlink_message_t* ms
/**
* @brief Get field p4 from camera_status message
*
* @return Parameter 4 (meaning depends on event, see CAMERA_STATUS_TYPES enum)
* @return Parameter 4 (meaning depends on event_id, see CAMERA_STATUS_TYPES enum).
*/
static inline float mavlink_msg_camera_status_get_p4(const mavlink_message_t* msg)
{
......
......@@ -5,12 +5,12 @@
MAVPACKED(
typedef struct __mavlink_compassmot_status_t {
float current; /*< current (Ampere)*/
float CompensationX; /*< Motor Compensation X*/
float CompensationY; /*< Motor Compensation Y*/
float CompensationZ; /*< Motor Compensation Z*/
uint16_t throttle; /*< throttle (percent*10)*/
uint16_t interference; /*< interference (percent)*/
float current; /*< Current.*/
float CompensationX; /*< Motor Compensation X.*/
float CompensationY; /*< Motor Compensation Y.*/
float CompensationZ; /*< Motor Compensation Z.*/
uint16_t throttle; /*< Throttle.*/
uint16_t interference; /*< Interference.*/
}) mavlink_compassmot_status_t;
#define MAVLINK_MSG_ID_COMPASSMOT_STATUS_LEN 20
......@@ -56,12 +56,12 @@ typedef struct __mavlink_compassmot_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 throttle throttle (percent*10)
* @param current current (Ampere)
* @param interference interference (percent)
* @param CompensationX Motor Compensation X
* @param CompensationY Motor Compensation Y
* @param CompensationZ Motor Compensation Z
* @param throttle Throttle.
* @param current Current.
* @param interference Interference.
* @param CompensationX Motor Compensation X.
* @param CompensationY Motor Compensation Y.
* @param CompensationZ Motor Compensation Z.
* @return length of the message in bytes (excluding serial stream start sign)
*/
static inline uint16_t mavlink_msg_compassmot_status_pack(uint8_t system_id, uint8_t component_id, mavlink_message_t* msg,
......@@ -99,12 +99,12 @@ static inline uint16_t mavlink_msg_compassmot_status_pack(uint8_t system_id, uin
* @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 throttle throttle (percent*10)
* @param current current (Ampere)
* @param interference interference (percent)
* @param CompensationX Motor Compensation X
* @param CompensationY Motor Compensation Y
* @param CompensationZ Motor Compensation Z
* @param throttle Throttle.
* @param current Current.
* @param interference Interference.
* @param CompensationX Motor Compensation X.
* @param CompensationY Motor Compensation Y.
* @param CompensationZ Motor Compensation Z.
* @return length of the message in bytes (excluding serial stream start sign)
*/
static inline uint16_t mavlink_msg_compassmot_status_pack_chan(uint8_t system_id, uint8_t component_id, uint8_t chan,
......@@ -168,12 +168,12 @@ static inline uint16_t mavlink_msg_compassmot_status_encode_chan(uint8_t system_
* @brief Send a compassmot_status message
* @param chan MAVLink channel to send the message
*
* @param throttle throttle (percent*10)
* @param current current (Ampere)
* @param interference interference (percent)
* @param CompensationX Motor Compensation X
* @param CompensationY Motor Compensation Y
* @param CompensationZ Motor Compensation Z
* @param throttle Throttle.
* @param current Current.
* @param interference Interference.
* @param CompensationX Motor Compensation X.
* @param CompensationY Motor Compensation Y.
* @param CompensationZ Motor Compensation Z.
*/
#ifdef MAVLINK_USE_CONVENIENCE_FUNCTIONS
......@@ -258,7 +258,7 @@ static inline void mavlink_msg_compassmot_status_send_buf(mavlink_message_t *msg
/**
* @brief Get field throttle from compassmot_status message
*
* @return throttle (percent*10)
* @return Throttle.
*/
static inline uint16_t mavlink_msg_compassmot_status_get_throttle(const mavlink_message_t* msg)
{
......@@ -268,7 +268,7 @@ static inline uint16_t mavlink_msg_compassmot_status_get_throttle(const mavlink_
/**
* @brief Get field current from compassmot_status message
*
* @return current (Ampere)
* @return Current.
*/
static inline float mavlink_msg_compassmot_status_get_current(const mavlink_message_t* msg)
{
......@@ -278,7 +278,7 @@ static inline float mavlink_msg_compassmot_status_get_current(const mavlink_mess
/**
* @brief Get field interference from compassmot_status message
*
* @return interference (percent)
* @return Interference.
*/
static inline uint16_t mavlink_msg_compassmot_status_get_interference(const mavlink_message_t* msg)
{
......@@ -288,7 +288,7 @@ static inline uint16_t mavlink_msg_compassmot_status_get_interference(const mavl
/**
* @brief Get field CompensationX from compassmot_status message
*
* @return Motor Compensation X
* @return Motor Compensation X.
*/
static inline float mavlink_msg_compassmot_status_get_CompensationX(const mavlink_message_t* msg)
{
......@@ -298,7 +298,7 @@ static inline float mavlink_msg_compassmot_status_get_CompensationX(const mavlin
/**
* @brief Get field CompensationY from compassmot_status message
*
* @return Motor Compensation Y
* @return Motor Compensation Y.
*/
static inline float mavlink_msg_compassmot_status_get_CompensationY(const mavlink_message_t* msg)
{
......@@ -308,7 +308,7 @@ static inline float mavlink_msg_compassmot_status_get_CompensationY(const mavlin
/**
* @brief Get field CompensationZ from compassmot_status message
*
* @return Motor Compensation Z
* @return Motor Compensation Z.
*/
static inline float mavlink_msg_compassmot_status_get_CompensationZ(const mavlink_message_t* msg)
{
......
......@@ -5,9 +5,9 @@
MAVPACKED(
typedef struct __mavlink_data16_t {
uint8_t type; /*< data type*/
uint8_t len; /*< data length*/
uint8_t data[16]; /*< raw data*/
uint8_t type; /*< Data type.*/
uint8_t len; /*< Data length.*/
uint8_t data[16]; /*< Raw data.*/
}) mavlink_data16_t;
#define MAVLINK_MSG_ID_DATA16_LEN 18
......@@ -47,9 +47,9 @@ typedef struct __mavlink_data16_t {
* @param component_id ID of this component (e.g. 200 for IMU)
* @param msg The MAVLink message to compress the data into
*
* @param type data type
* @param len data length
* @param data raw data
* @param type Data type.
* @param len Data length.
* @param data Raw data.
* @return length of the message in bytes (excluding serial stream start sign)
*/
static inline uint16_t mavlink_msg_data16_pack(uint8_t system_id, uint8_t component_id, mavlink_message_t* msg,
......@@ -79,9 +79,9 @@ static inline uint16_t mavlink_msg_data16_pack(uint8_t system_id, uint8_t compon
* @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 type data type
* @param len data length
* @param data raw data
* @param type Data type.
* @param len Data length.
* @param data Raw data.
* @return length of the message in bytes (excluding serial stream start sign)
*/
static inline uint16_t mavlink_msg_data16_pack_chan(uint8_t system_id, uint8_t component_id, uint8_t chan,
......@@ -137,9 +137,9 @@ static inline uint16_t mavlink_msg_data16_encode_chan(uint8_t system_id, uint8_t
* @brief Send a data16 message
* @param chan MAVLink channel to send the message
*
* @param type data type
* @param len data length
* @param data raw data
* @param type Data type.
* @param len Data length.
* @param data Raw data.
*/
#ifdef MAVLINK_USE_CONVENIENCE_FUNCTIONS
......@@ -208,7 +208,7 @@ static inline void mavlink_msg_data16_send_buf(mavlink_message_t *msgbuf, mavlin
/**
* @brief Get field type from data16 message
*
* @return data type
* @return Data type.
*/
static inline uint8_t mavlink_msg_data16_get_type(const mavlink_message_t* msg)
{
......@@ -218,7 +218,7 @@ static inline uint8_t mavlink_msg_data16_get_type(const mavlink_message_t* msg)
/**
* @brief Get field len from data16 message
*
* @return data length
* @return Data length.
*/
static inline uint8_t mavlink_msg_data16_get_len(const mavlink_message_t* msg)
{
......@@ -228,7 +228,7 @@ static inline uint8_t mavlink_msg_data16_get_len(const mavlink_message_t* msg)
/**
* @brief Get field data from data16 message
*
* @return raw data
* @return Raw data.
*/
static inline uint16_t mavlink_msg_data16_get_data(const mavlink_message_t* msg, uint8_t *data)
{
......
......@@ -5,9 +5,9 @@
MAVPACKED(
typedef struct __mavlink_data32_t {
uint8_t type; /*< data type*/
uint8_t len; /*< data length*/
uint8_t data[32]; /*< raw data*/
uint8_t type; /*< Data type.*/
uint8_t len; /*< Data length.*/
uint8_t data[32]; /*< Raw data.*/
}) mavlink_data32_t;
#define MAVLINK_MSG_ID_DATA32_LEN 34
......@@ -47,9 +47,9 @@ typedef struct __mavlink_data32_t {
* @param component_id ID of this component (e.g. 200 for IMU)
* @param msg The MAVLink message to compress the data into
*
* @param type data type
* @param len data length
* @param data raw data
* @param type Data type.
* @param len Data length.
* @param data Raw data.
* @return length of the message in bytes (excluding serial stream start sign)
*/
static inline uint16_t mavlink_msg_data32_pack(uint8_t system_id, uint8_t component_id, mavlink_message_t* msg,
......@@ -79,9 +79,9 @@ static inline uint16_t mavlink_msg_data32_pack(uint8_t system_id, uint8_t compon
* @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 type data type
* @param len data length
* @param data raw data
* @param type Data type.
* @param len Data length.
* @param data Raw data.
* @return length of the message in bytes (excluding serial stream start sign)
*/
static inline uint16_t mavlink_msg_data32_pack_chan(uint8_t system_id, uint8_t component_id, uint8_t chan,
......@@ -137,9 +137,9 @@ static inline uint16_t mavlink_msg_data32_encode_chan(uint8_t system_id, uint8_t
* @brief Send a data32 message
* @param chan MAVLink channel to send the message
*
* @param type data type
* @param len data length
* @param data raw data
* @param type Data type.
* @param len Data length.
* @param data Raw data.
*/
#ifdef MAVLINK_USE_CONVENIENCE_FUNCTIONS
......@@ -208,7 +208,7 @@ static inline void mavlink_msg_data32_send_buf(mavlink_message_t *msgbuf, mavlin
/**
* @brief Get field type from data32 message
*
* @return data type
* @return Data type.
*/
static inline uint8_t mavlink_msg_data32_get_type(const mavlink_message_t* msg)
{
......@@ -218,7 +218,7 @@ static inline uint8_t mavlink_msg_data32_get_type(const mavlink_message_t* msg)
/**
* @brief Get field len from data32 message
*
* @return data length
* @return Data length.
*/
static inline uint8_t mavlink_msg_data32_get_len(const mavlink_message_t* msg)
{
......@@ -228,7 +228,7 @@ static inline uint8_t mavlink_msg_data32_get_len(const mavlink_message_t* msg)
/**
* @brief Get field data from data32 message
*
* @return raw data
* @return Raw data.
*/
static inline uint16_t mavlink_msg_data32_get_data(const mavlink_message_t* msg, uint8_t *data)
{
......
......@@ -5,9 +5,9 @@
MAVPACKED(
typedef struct __mavlink_data64_t {
uint8_t type; /*< data type*/
uint8_t len; /*< data length*/
uint8_t data[64]; /*< raw data*/
uint8_t type; /*< Data type.*/
uint8_t len; /*< Data length.*/
uint8_t data[64]; /*< Raw data.*/
}) mavlink_data64_t;
#define MAVLINK_MSG_ID_DATA64_LEN 66
......@@ -47,9 +47,9 @@ typedef struct __mavlink_data64_t {
* @param component_id ID of this component (e.g. 200 for IMU)
* @param msg The MAVLink message to compress the data into
*
* @param type data type
* @param len data length
* @param data raw data
* @param type Data type.
* @param len Data length.
* @param data Raw data.
* @return length of the message in bytes (excluding serial stream start sign)
*/
static inline uint16_t mavlink_msg_data64_pack(uint8_t system_id, uint8_t component_id, mavlink_message_t* msg,
......@@ -79,9 +79,9 @@ static inline uint16_t mavlink_msg_data64_pack(uint8_t system_id, uint8_t compon
* @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 type data type
* @param len data length
* @param data raw data
* @param type Data type.
* @param len Data length.
* @param data Raw data.
* @return length of the message in bytes (excluding serial stream start sign)
*/
static inline uint16_t mavlink_msg_data64_pack_chan(uint8_t system_id, uint8_t component_id, uint8_t chan,
......@@ -137,9 +137,9 @@ static inline uint16_t mavlink_msg_data64_encode_chan(uint8_t system_id, uint8_t
* @brief Send a data64 message
* @param chan MAVLink channel to send the message
*
* @param type data type
* @param len data length
* @param data raw data
* @param type Data type.
* @param len Data length.
* @param data Raw data.
*/
#ifdef MAVLINK_USE_CONVENIENCE_FUNCTIONS
......@@ -208,7 +208,7 @@ static inline void mavlink_msg_data64_send_buf(mavlink_message_t *msgbuf, mavlin
/**
* @brief Get field type from data64 message
*
* @return data type
* @return Data type.
*/
static inline uint8_t mavlink_msg_data64_get_type(const mavlink_message_t* msg)
{
......@@ -218,7 +218,7 @@ static inline uint8_t mavlink_msg_data64_get_type(const mavlink_message_t* msg)
/**
* @brief Get field len from data64 message
*
* @return data length
* @return Data length.
*/
static inline uint8_t mavlink_msg_data64_get_len(const mavlink_message_t* msg)
{
......@@ -228,7 +228,7 @@ static inline uint8_t mavlink_msg_data64_get_len(const mavlink_message_t* msg)
/**
* @brief Get field data from data64 message
*
* @return raw data
* @return Raw data.
*/
static inline uint16_t mavlink_msg_data64_get_data(const mavlink_message_t* msg, uint8_t *data)
{
......
......@@ -5,9 +5,9 @@
MAVPACKED(
typedef struct __mavlink_data96_t {
uint8_t type; /*< data type*/
uint8_t len; /*< data length*/
uint8_t data[96]; /*< raw data*/
uint8_t type; /*< Data type.*/
uint8_t len; /*< Data length.*/
uint8_t data[96]; /*< Raw data.*/
}) mavlink_data96_t;
#define MAVLINK_MSG_ID_DATA96_LEN 98
......@@ -47,9 +47,9 @@ typedef struct __mavlink_data96_t {
* @param component_id ID of this component (e.g. 200 for IMU)
* @param msg The MAVLink message to compress the data into
*
* @param type data type
* @param len data length
* @param data raw data
* @param type Data type.
* @param len Data length.
* @param data Raw data.
* @return length of the message in bytes (excluding serial stream start sign)
*/
static inline uint16_t mavlink_msg_data96_pack(uint8_t system_id, uint8_t component_id, mavlink_message_t* msg,
......@@ -79,9 +79,9 @@ static inline uint16_t mavlink_msg_data96_pack(uint8_t system_id, uint8_t compon
* @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 type data type
* @param len data length
* @param data raw data
* @param type Data type.
* @param len Data length.
* @param data Raw data.
* @return length of the message in bytes (excluding serial stream start sign)
*/
static inline uint16_t mavlink_msg_data96_pack_chan(uint8_t system_id, uint8_t component_id, uint8_t chan,
......@@ -137,9 +137,9 @@ static inline uint16_t mavlink_msg_data96_encode_chan(uint8_t system_id, uint8_t
* @brief Send a data96 message
* @param chan MAVLink channel to send the message
*
* @param type data type
* @param len data length
* @param data raw data
* @param type Data type.
* @param len Data length.
* @param data Raw data.
*/
#ifdef MAVLINK_USE_CONVENIENCE_FUNCTIONS
......@@ -208,7 +208,7 @@ static inline void mavlink_msg_data96_send_buf(mavlink_message_t *msgbuf, mavlin
/**
* @brief Get field type from data96 message
*
* @return data type
* @return Data type.
*/
static inline uint8_t mavlink_msg_data96_get_type(const mavlink_message_t* msg)
{
......@@ -218,7 +218,7 @@ static inline uint8_t mavlink_msg_data96_get_type(const mavlink_message_t* msg)
/**
* @brief Get field len from data96 message
*
* @return data length
* @return Data length.
*/
static inline uint8_t mavlink_msg_data96_get_len(const mavlink_message_t* msg)
{
......@@ -228,7 +228,7 @@ static inline uint8_t mavlink_msg_data96_get_len(const mavlink_message_t* msg)
/**
* @brief Get field data from data96 message
*
* @return raw data
* @return Raw data.
*/
static inline uint16_t mavlink_msg_data96_get_data(const mavlink_message_t* msg, uint8_t *data)
{
......
......@@ -5,16 +5,16 @@
MAVPACKED(
typedef struct __mavlink_deepstall_t {
int32_t landing_lat; /*< Landing latitude (deg * 1E7)*/
int32_t landing_lon; /*< Landing longitude (deg * 1E7)*/
int32_t path_lat; /*< Final heading start point, latitude (deg * 1E7)*/
int32_t path_lon; /*< Final heading start point, longitude (deg * 1E7)*/
int32_t arc_entry_lat; /*< Arc entry point, latitude (deg * 1E7)*/
int32_t arc_entry_lon; /*< Arc entry point, longitude (deg * 1E7)*/
float altitude; /*< Altitude (meters)*/
float expected_travel_distance; /*< Distance the aircraft expects to travel during the deepstall*/
float cross_track_error; /*< Deepstall cross track error in meters (only valid when in DEEPSTALL_STAGE_LAND)*/
uint8_t stage; /*< Deepstall stage, see enum MAV_DEEPSTALL_STAGE*/
int32_t landing_lat; /*< Landing latitude.*/
int32_t landing_lon; /*< Landing longitude.*/
int32_t path_lat; /*< Final heading start point, latitude.*/
int32_t path_lon; /*< Final heading start point, longitude.*/
int32_t arc_entry_lat; /*< Arc entry point, latitude.*/
int32_t arc_entry_lon; /*< Arc entry point, longitude.*/
float altitude; /*< Altitude.*/
float expected_travel_distance; /*< Distance the aircraft expects to travel during the deepstall.*/
float cross_track_error; /*< Deepstall cross track error (only valid when in DEEPSTALL_STAGE_LAND).*/
uint8_t stage; /*< Deepstall stage.*/
}) mavlink_deepstall_t;
#define MAVLINK_MSG_ID_DEEPSTALL_LEN 37
......@@ -68,16 +68,16 @@ typedef struct __mavlink_deepstall_t {
* @param component_id ID of this component (e.g. 200 for IMU)
* @param msg The MAVLink message to compress the data into
*
* @param landing_lat Landing latitude (deg * 1E7)
* @param landing_lon Landing longitude (deg * 1E7)
* @param path_lat Final heading start point, latitude (deg * 1E7)
* @param path_lon Final heading start point, longitude (deg * 1E7)
* @param arc_entry_lat Arc entry point, latitude (deg * 1E7)
* @param arc_entry_lon Arc entry point, longitude (deg * 1E7)
* @param altitude Altitude (meters)
* @param expected_travel_distance Distance the aircraft expects to travel during the deepstall
* @param cross_track_error Deepstall cross track error in meters (only valid when in DEEPSTALL_STAGE_LAND)
* @param stage Deepstall stage, see enum MAV_DEEPSTALL_STAGE
* @param landing_lat Landing latitude.
* @param landing_lon Landing longitude.
* @param path_lat Final heading start point, latitude.
* @param path_lon Final heading start point, longitude.
* @param arc_entry_lat Arc entry point, latitude.
* @param arc_entry_lon Arc entry point, longitude.
* @param altitude Altitude.
* @param expected_travel_distance Distance the aircraft expects to travel during the deepstall.
* @param cross_track_error Deepstall cross track error (only valid when in DEEPSTALL_STAGE_LAND).
* @param stage Deepstall stage.
* @return length of the message in bytes (excluding serial stream start sign)
*/
static inline uint16_t mavlink_msg_deepstall_pack(uint8_t system_id, uint8_t component_id, mavlink_message_t* msg,
......@@ -123,16 +123,16 @@ static inline uint16_t mavlink_msg_deepstall_pack(uint8_t system_id, uint8_t com
* @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 landing_lat Landing latitude (deg * 1E7)
* @param landing_lon Landing longitude (deg * 1E7)
* @param path_lat Final heading start point, latitude (deg * 1E7)
* @param path_lon Final heading start point, longitude (deg * 1E7)
* @param arc_entry_lat Arc entry point, latitude (deg * 1E7)
* @param arc_entry_lon Arc entry point, longitude (deg * 1E7)
* @param altitude Altitude (meters)
* @param expected_travel_distance Distance the aircraft expects to travel during the deepstall
* @param cross_track_error Deepstall cross track error in meters (only valid when in DEEPSTALL_STAGE_LAND)
* @param stage Deepstall stage, see enum MAV_DEEPSTALL_STAGE
* @param landing_lat Landing latitude.
* @param landing_lon Landing longitude.
* @param path_lat Final heading start point, latitude.
* @param path_lon Final heading start point, longitude.
* @param arc_entry_lat Arc entry point, latitude.
* @param arc_entry_lon Arc entry point, longitude.
* @param altitude Altitude.
* @param expected_travel_distance Distance the aircraft expects to travel during the deepstall.
* @param cross_track_error Deepstall cross track error (only valid when in DEEPSTALL_STAGE_LAND).
* @param stage Deepstall stage.
* @return length of the message in bytes (excluding serial stream start sign)
*/
static inline uint16_t mavlink_msg_deepstall_pack_chan(uint8_t system_id, uint8_t component_id, uint8_t chan,
......@@ -204,16 +204,16 @@ static inline uint16_t mavlink_msg_deepstall_encode_chan(uint8_t system_id, uint
* @brief Send a deepstall message
* @param chan MAVLink channel to send the message
*
* @param landing_lat Landing latitude (deg * 1E7)
* @param landing_lon Landing longitude (deg * 1E7)
* @param path_lat Final heading start point, latitude (deg * 1E7)
* @param path_lon Final heading start point, longitude (deg * 1E7)
* @param arc_entry_lat Arc entry point, latitude (deg * 1E7)
* @param arc_entry_lon Arc entry point, longitude (deg * 1E7)
* @param altitude Altitude (meters)
* @param expected_travel_distance Distance the aircraft expects to travel during the deepstall
* @param cross_track_error Deepstall cross track error in meters (only valid when in DEEPSTALL_STAGE_LAND)
* @param stage Deepstall stage, see enum MAV_DEEPSTALL_STAGE
* @param landing_lat Landing latitude.
* @param landing_lon Landing longitude.
* @param path_lat Final heading start point, latitude.
* @param path_lon Final heading start point, longitude.
* @param arc_entry_lat Arc entry point, latitude.
* @param arc_entry_lon Arc entry point, longitude.
* @param altitude Altitude.
* @param expected_travel_distance Distance the aircraft expects to travel during the deepstall.
* @param cross_track_error Deepstall cross track error (only valid when in DEEPSTALL_STAGE_LAND).
* @param stage Deepstall stage.
*/
#ifdef MAVLINK_USE_CONVENIENCE_FUNCTIONS
......@@ -314,7 +314,7 @@ static inline void mavlink_msg_deepstall_send_buf(mavlink_message_t *msgbuf, mav
/**
* @brief Get field landing_lat from deepstall message
*
* @return Landing latitude (deg * 1E7)
* @return Landing latitude.
*/
static inline int32_t mavlink_msg_deepstall_get_landing_lat(const mavlink_message_t* msg)
{
......@@ -324,7 +324,7 @@ static inline int32_t mavlink_msg_deepstall_get_landing_lat(const mavlink_messag
/**
* @brief Get field landing_lon from deepstall message
*
* @return Landing longitude (deg * 1E7)
* @return Landing longitude.
*/
static inline int32_t mavlink_msg_deepstall_get_landing_lon(const mavlink_message_t* msg)
{
......@@ -334,7 +334,7 @@ static inline int32_t mavlink_msg_deepstall_get_landing_lon(const mavlink_messag
/**
* @brief Get field path_lat from deepstall message
*
* @return Final heading start point, latitude (deg * 1E7)
* @return Final heading start point, latitude.
*/
static inline int32_t mavlink_msg_deepstall_get_path_lat(const mavlink_message_t* msg)
{
......@@ -344,7 +344,7 @@ static inline int32_t mavlink_msg_deepstall_get_path_lat(const mavlink_message_t
/**
* @brief Get field path_lon from deepstall message
*
* @return Final heading start point, longitude (deg * 1E7)
* @return Final heading start point, longitude.
*/
static inline int32_t mavlink_msg_deepstall_get_path_lon(const mavlink_message_t* msg)
{
......@@ -354,7 +354,7 @@ static inline int32_t mavlink_msg_deepstall_get_path_lon(const mavlink_message_t
/**
* @brief Get field arc_entry_lat from deepstall message
*
* @return Arc entry point, latitude (deg * 1E7)
* @return Arc entry point, latitude.
*/
static inline int32_t mavlink_msg_deepstall_get_arc_entry_lat(const mavlink_message_t* msg)
{
......@@ -364,7 +364,7 @@ static inline int32_t mavlink_msg_deepstall_get_arc_entry_lat(const mavlink_mess
/**
* @brief Get field arc_entry_lon from deepstall message
*
* @return Arc entry point, longitude (deg * 1E7)
* @return Arc entry point, longitude.
*/
static inline int32_t mavlink_msg_deepstall_get_arc_entry_lon(const mavlink_message_t* msg)
{
......@@ -374,7 +374,7 @@ static inline int32_t mavlink_msg_deepstall_get_arc_entry_lon(const mavlink_mess
/**
* @brief Get field altitude from deepstall message
*
* @return Altitude (meters)
* @return Altitude.
*/
static inline float mavlink_msg_deepstall_get_altitude(const mavlink_message_t* msg)
{
......@@ -384,7 +384,7 @@ static inline float mavlink_msg_deepstall_get_altitude(const mavlink_message_t*
/**
* @brief Get field expected_travel_distance from deepstall message
*
* @return Distance the aircraft expects to travel during the deepstall
* @return Distance the aircraft expects to travel during the deepstall.
*/
static inline float mavlink_msg_deepstall_get_expected_travel_distance(const mavlink_message_t* msg)
{
......@@ -394,7 +394,7 @@ static inline float mavlink_msg_deepstall_get_expected_travel_distance(const mav
/**
* @brief Get field cross_track_error from deepstall message
*
* @return Deepstall cross track error in meters (only valid when in DEEPSTALL_STAGE_LAND)
* @return Deepstall cross track error (only valid when in DEEPSTALL_STAGE_LAND).
*/
static inline float mavlink_msg_deepstall_get_cross_track_error(const mavlink_message_t* msg)
{
......@@ -404,7 +404,7 @@ static inline float mavlink_msg_deepstall_get_cross_track_error(const mavlink_me
/**
* @brief Get field stage from deepstall message
*
* @return Deepstall stage, see enum MAV_DEEPSTALL_STAGE
* @return Deepstall stage.
*/
static inline uint8_t mavlink_msg_deepstall_get_stage(const mavlink_message_t* msg)
{
......
......@@ -5,15 +5,15 @@
MAVPACKED(
typedef struct __mavlink_device_op_read_t {
uint32_t request_id; /*< request ID - copied to reply*/
uint8_t target_system; /*< System ID*/
uint8_t target_component; /*< Component ID*/
uint8_t bustype; /*< The bus type*/
uint8_t bus; /*< Bus number*/
uint8_t address; /*< Bus address*/
char busname[40]; /*< Name of device on bus (for SPI)*/
uint8_t regstart; /*< First register to read*/
uint8_t count; /*< count of registers to read*/
uint32_t request_id; /*< Request ID - copied to reply.*/
uint8_t target_system; /*< System ID.*/
uint8_t target_component; /*< Component ID.*/
uint8_t bustype; /*< The bus type.*/
uint8_t bus; /*< Bus number.*/
uint8_t address; /*< Bus address.*/
char busname[40]; /*< Name of device on bus (for SPI).*/
uint8_t regstart; /*< First register to read.*/
uint8_t count; /*< Count of registers to read.*/
}) mavlink_device_op_read_t;
#define MAVLINK_MSG_ID_DEVICE_OP_READ_LEN 51
......@@ -65,15 +65,15 @@ typedef struct __mavlink_device_op_read_t {
* @param component_id ID of this component (e.g. 200 for IMU)
* @param msg The MAVLink message to compress the data into
*
* @param target_system System ID
* @param target_component Component ID
* @param request_id request ID - copied to reply
* @param bustype The bus type
* @param bus Bus number
* @param address Bus address
* @param busname Name of device on bus (for SPI)
* @param regstart First register to read
* @param count count of registers to read
* @param target_system System ID.
* @param target_component Component ID.
* @param request_id Request ID - copied to reply.
* @param bustype The bus type.
* @param bus Bus number.
* @param address Bus address.
* @param busname Name of device on bus (for SPI).
* @param regstart First register to read.
* @param count Count of registers to read.
* @return length of the message in bytes (excluding serial stream start sign)
*/
static inline uint16_t mavlink_msg_device_op_read_pack(uint8_t system_id, uint8_t component_id, mavlink_message_t* msg,
......@@ -115,15 +115,15 @@ static inline uint16_t mavlink_msg_device_op_read_pack(uint8_t system_id, uint8_
* @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 target_system System ID
* @param target_component Component ID
* @param request_id request ID - copied to reply
* @param bustype The bus type
* @param bus Bus number
* @param address Bus address
* @param busname Name of device on bus (for SPI)
* @param regstart First register to read
* @param count count of registers to read
* @param target_system System ID.
* @param target_component Component ID.
* @param request_id Request ID - copied to reply.
* @param bustype The bus type.
* @param bus Bus number.
* @param address Bus address.
* @param busname Name of device on bus (for SPI).
* @param regstart First register to read.
* @param count Count of registers to read.
* @return length of the message in bytes (excluding serial stream start sign)
*/
static inline uint16_t mavlink_msg_device_op_read_pack_chan(uint8_t system_id, uint8_t component_id, uint8_t chan,
......@@ -191,15 +191,15 @@ static inline uint16_t mavlink_msg_device_op_read_encode_chan(uint8_t system_id,
* @brief Send a device_op_read message
* @param chan MAVLink channel to send the message
*
* @param target_system System ID
* @param target_component Component ID
* @param request_id request ID - copied to reply
* @param bustype The bus type
* @param bus Bus number
* @param address Bus address
* @param busname Name of device on bus (for SPI)
* @param regstart First register to read
* @param count count of registers to read
* @param target_system System ID.
* @param target_component Component ID.
* @param request_id Request ID - copied to reply.
* @param bustype The bus type.
* @param bus Bus number.
* @param address Bus address.
* @param busname Name of device on bus (for SPI).
* @param regstart First register to read.
* @param count Count of registers to read.
*/
#ifdef MAVLINK_USE_CONVENIENCE_FUNCTIONS
......@@ -292,7 +292,7 @@ static inline void mavlink_msg_device_op_read_send_buf(mavlink_message_t *msgbuf
/**
* @brief Get field target_system from device_op_read message
*
* @return System ID
* @return System ID.
*/
static inline uint8_t mavlink_msg_device_op_read_get_target_system(const mavlink_message_t* msg)
{
......@@ -302,7 +302,7 @@ static inline uint8_t mavlink_msg_device_op_read_get_target_system(const mavlink
/**
* @brief Get field target_component from device_op_read message
*
* @return Component ID
* @return Component ID.
*/
static inline uint8_t mavlink_msg_device_op_read_get_target_component(const mavlink_message_t* msg)
{
......@@ -312,7 +312,7 @@ static inline uint8_t mavlink_msg_device_op_read_get_target_component(const mavl
/**
* @brief Get field request_id from device_op_read message
*
* @return request ID - copied to reply
* @return Request ID - copied to reply.
*/
static inline uint32_t mavlink_msg_device_op_read_get_request_id(const mavlink_message_t* msg)
{
......@@ -322,7 +322,7 @@ static inline uint32_t mavlink_msg_device_op_read_get_request_id(const mavlink_m
/**
* @brief Get field bustype from device_op_read message
*
* @return The bus type
* @return The bus type.
*/
static inline uint8_t mavlink_msg_device_op_read_get_bustype(const mavlink_message_t* msg)
{
......@@ -332,7 +332,7 @@ static inline uint8_t mavlink_msg_device_op_read_get_bustype(const mavlink_messa
/**
* @brief Get field bus from device_op_read message
*
* @return Bus number
* @return Bus number.
*/
static inline uint8_t mavlink_msg_device_op_read_get_bus(const mavlink_message_t* msg)
{
......@@ -342,7 +342,7 @@ static inline uint8_t mavlink_msg_device_op_read_get_bus(const mavlink_message_t
/**
* @brief Get field address from device_op_read message
*
* @return Bus address
* @return Bus address.
*/
static inline uint8_t mavlink_msg_device_op_read_get_address(const mavlink_message_t* msg)
{
......@@ -352,7 +352,7 @@ static inline uint8_t mavlink_msg_device_op_read_get_address(const mavlink_messa
/**
* @brief Get field busname from device_op_read message
*
* @return Name of device on bus (for SPI)
* @return Name of device on bus (for SPI).
*/
static inline uint16_t mavlink_msg_device_op_read_get_busname(const mavlink_message_t* msg, char *busname)
{
......@@ -362,7 +362,7 @@ static inline uint16_t mavlink_msg_device_op_read_get_busname(const mavlink_mess
/**
* @brief Get field regstart from device_op_read message
*
* @return First register to read
* @return First register to read.
*/
static inline uint8_t mavlink_msg_device_op_read_get_regstart(const mavlink_message_t* msg)
{
......@@ -372,7 +372,7 @@ static inline uint8_t mavlink_msg_device_op_read_get_regstart(const mavlink_mess
/**
* @brief Get field count from device_op_read message
*
* @return count of registers to read
* @return Count of registers to read.
*/
static inline uint8_t mavlink_msg_device_op_read_get_count(const mavlink_message_t* msg)
{
......
......@@ -5,11 +5,11 @@
MAVPACKED(
typedef struct __mavlink_device_op_read_reply_t {
uint32_t request_id; /*< request ID - copied from request*/
uint8_t result; /*< 0 for success, anything else is failure code*/
uint8_t regstart; /*< starting register*/
uint8_t count; /*< count of bytes read*/
uint8_t data[128]; /*< reply data*/
uint32_t request_id; /*< Request ID - copied from request.*/
uint8_t result; /*< 0 for success, anything else is failure code.*/
uint8_t regstart; /*< Starting register.*/
uint8_t count; /*< Count of bytes read.*/
uint8_t data[128]; /*< Reply data.*/
}) mavlink_device_op_read_reply_t;
#define MAVLINK_MSG_ID_DEVICE_OP_READ_REPLY_LEN 135
......@@ -53,11 +53,11 @@ typedef struct __mavlink_device_op_read_reply_t {
* @param component_id ID of this component (e.g. 200 for IMU)
* @param msg The MAVLink message to compress the data into
*
* @param request_id request ID - copied from request
* @param result 0 for success, anything else is failure code
* @param regstart starting register
* @param count count of bytes read
* @param data reply data
* @param request_id Request ID - copied from request.
* @param result 0 for success, anything else is failure code.
* @param regstart Starting register.
* @param count Count of bytes read.
* @param data Reply data.
* @return length of the message in bytes (excluding serial stream start sign)
*/
static inline uint16_t mavlink_msg_device_op_read_reply_pack(uint8_t system_id, uint8_t component_id, mavlink_message_t* msg,
......@@ -91,11 +91,11 @@ static inline uint16_t mavlink_msg_device_op_read_reply_pack(uint8_t system_id,
* @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 request_id request ID - copied from request
* @param result 0 for success, anything else is failure code
* @param regstart starting register
* @param count count of bytes read
* @param data reply data
* @param request_id Request ID - copied from request.
* @param result 0 for success, anything else is failure code.
* @param regstart Starting register.
* @param count Count of bytes read.
* @param data Reply data.
* @return length of the message in bytes (excluding serial stream start sign)
*/
static inline uint16_t mavlink_msg_device_op_read_reply_pack_chan(uint8_t system_id, uint8_t component_id, uint8_t chan,
......@@ -155,11 +155,11 @@ static inline uint16_t mavlink_msg_device_op_read_reply_encode_chan(uint8_t syst
* @brief Send a device_op_read_reply message
* @param chan MAVLink channel to send the message
*
* @param request_id request ID - copied from request
* @param result 0 for success, anything else is failure code
* @param regstart starting register
* @param count count of bytes read
* @param data reply data
* @param request_id Request ID - copied from request.
* @param result 0 for success, anything else is failure code.
* @param regstart Starting register.
* @param count Count of bytes read.
* @param data Reply data.
*/
#ifdef MAVLINK_USE_CONVENIENCE_FUNCTIONS
......@@ -236,7 +236,7 @@ static inline void mavlink_msg_device_op_read_reply_send_buf(mavlink_message_t *
/**
* @brief Get field request_id from device_op_read_reply message
*
* @return request ID - copied from request
* @return Request ID - copied from request.
*/
static inline uint32_t mavlink_msg_device_op_read_reply_get_request_id(const mavlink_message_t* msg)
{
......@@ -246,7 +246,7 @@ static inline uint32_t mavlink_msg_device_op_read_reply_get_request_id(const mav
/**
* @brief Get field result from device_op_read_reply message
*
* @return 0 for success, anything else is failure code
* @return 0 for success, anything else is failure code.
*/
static inline uint8_t mavlink_msg_device_op_read_reply_get_result(const mavlink_message_t* msg)
{
......@@ -256,7 +256,7 @@ static inline uint8_t mavlink_msg_device_op_read_reply_get_result(const mavlink_
/**
* @brief Get field regstart from device_op_read_reply message
*
* @return starting register
* @return Starting register.
*/
static inline uint8_t mavlink_msg_device_op_read_reply_get_regstart(const mavlink_message_t* msg)
{
......@@ -266,7 +266,7 @@ static inline uint8_t mavlink_msg_device_op_read_reply_get_regstart(const mavlin
/**
* @brief Get field count from device_op_read_reply message
*
* @return count of bytes read
* @return Count of bytes read.
*/
static inline uint8_t mavlink_msg_device_op_read_reply_get_count(const mavlink_message_t* msg)
{
......@@ -276,7 +276,7 @@ static inline uint8_t mavlink_msg_device_op_read_reply_get_count(const mavlink_m
/**
* @brief Get field data from device_op_read_reply message
*
* @return reply data
* @return Reply data.
*/
static inline uint16_t mavlink_msg_device_op_read_reply_get_data(const mavlink_message_t* msg, uint8_t *data)
{
......
......@@ -5,16 +5,16 @@
MAVPACKED(
typedef struct __mavlink_device_op_write_t {
uint32_t request_id; /*< request ID - copied to reply*/
uint8_t target_system; /*< System ID*/
uint8_t target_component; /*< Component ID*/
uint8_t bustype; /*< The bus type*/
uint8_t bus; /*< Bus number*/
uint8_t address; /*< Bus address*/
char busname[40]; /*< Name of device on bus (for SPI)*/
uint8_t regstart; /*< First register to write*/
uint8_t count; /*< count of registers to write*/
uint8_t data[128]; /*< write data*/
uint32_t request_id; /*< Request ID - copied to reply.*/
uint8_t target_system; /*< System ID.*/
uint8_t target_component; /*< Component ID.*/
uint8_t bustype; /*< The bus type.*/
uint8_t bus; /*< Bus number.*/
uint8_t address; /*< Bus address.*/
char busname[40]; /*< Name of device on bus (for SPI).*/
uint8_t regstart; /*< First register to write.*/
uint8_t count; /*< Count of registers to write.*/
uint8_t data[128]; /*< Write data.*/
}) mavlink_device_op_write_t;
#define MAVLINK_MSG_ID_DEVICE_OP_WRITE_LEN 179
......@@ -69,16 +69,16 @@ typedef struct __mavlink_device_op_write_t {
* @param component_id ID of this component (e.g. 200 for IMU)
* @param msg The MAVLink message to compress the data into
*
* @param target_system System ID
* @param target_component Component ID
* @param request_id request ID - copied to reply
* @param bustype The bus type
* @param bus Bus number
* @param address Bus address
* @param busname Name of device on bus (for SPI)
* @param regstart First register to write
* @param count count of registers to write
* @param data write data
* @param target_system System ID.
* @param target_component Component ID.
* @param request_id Request ID - copied to reply.
* @param bustype The bus type.
* @param bus Bus number.
* @param address Bus address.
* @param busname Name of device on bus (for SPI).
* @param regstart First register to write.
* @param count Count of registers to write.
* @param data Write data.
* @return length of the message in bytes (excluding serial stream start sign)
*/
static inline uint16_t mavlink_msg_device_op_write_pack(uint8_t system_id, uint8_t component_id, mavlink_message_t* msg,
......@@ -122,16 +122,16 @@ static inline uint16_t mavlink_msg_device_op_write_pack(uint8_t system_id, uint8
* @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 target_system System ID
* @param target_component Component ID
* @param request_id request ID - copied to reply
* @param bustype The bus type
* @param bus Bus number
* @param address Bus address
* @param busname Name of device on bus (for SPI)
* @param regstart First register to write
* @param count count of registers to write
* @param data write data
* @param target_system System ID.
* @param target_component Component ID.
* @param request_id Request ID - copied to reply.
* @param bustype The bus type.
* @param bus Bus number.
* @param address Bus address.
* @param busname Name of device on bus (for SPI).
* @param regstart First register to write.
* @param count Count of registers to write.
* @param data Write data.
* @return length of the message in bytes (excluding serial stream start sign)
*/
static inline uint16_t mavlink_msg_device_op_write_pack_chan(uint8_t system_id, uint8_t component_id, uint8_t chan,
......@@ -201,16 +201,16 @@ static inline uint16_t mavlink_msg_device_op_write_encode_chan(uint8_t system_id
* @brief Send a device_op_write message
* @param chan MAVLink channel to send the message
*
* @param target_system System ID
* @param target_component Component ID
* @param request_id request ID - copied to reply
* @param bustype The bus type
* @param bus Bus number
* @param address Bus address
* @param busname Name of device on bus (for SPI)
* @param regstart First register to write
* @param count count of registers to write
* @param data write data
* @param target_system System ID.
* @param target_component Component ID.
* @param request_id Request ID - copied to reply.
* @param bustype The bus type.
* @param bus Bus number.
* @param address Bus address.
* @param busname Name of device on bus (for SPI).
* @param regstart First register to write.
* @param count Count of registers to write.
* @param data Write data.
*/
#ifdef MAVLINK_USE_CONVENIENCE_FUNCTIONS
......@@ -307,7 +307,7 @@ static inline void mavlink_msg_device_op_write_send_buf(mavlink_message_t *msgbu
/**
* @brief Get field target_system from device_op_write message
*
* @return System ID
* @return System ID.
*/
static inline uint8_t mavlink_msg_device_op_write_get_target_system(const mavlink_message_t* msg)
{
......@@ -317,7 +317,7 @@ static inline uint8_t mavlink_msg_device_op_write_get_target_system(const mavlin
/**
* @brief Get field target_component from device_op_write message
*
* @return Component ID
* @return Component ID.
*/
static inline uint8_t mavlink_msg_device_op_write_get_target_component(const mavlink_message_t* msg)
{
......@@ -327,7 +327,7 @@ static inline uint8_t mavlink_msg_device_op_write_get_target_component(const mav
/**
* @brief Get field request_id from device_op_write message
*
* @return request ID - copied to reply
* @return Request ID - copied to reply.
*/
static inline uint32_t mavlink_msg_device_op_write_get_request_id(const mavlink_message_t* msg)
{
......@@ -337,7 +337,7 @@ static inline uint32_t mavlink_msg_device_op_write_get_request_id(const mavlink_
/**
* @brief Get field bustype from device_op_write message
*
* @return The bus type
* @return The bus type.
*/
static inline uint8_t mavlink_msg_device_op_write_get_bustype(const mavlink_message_t* msg)
{
......@@ -347,7 +347,7 @@ static inline uint8_t mavlink_msg_device_op_write_get_bustype(const mavlink_mess
/**
* @brief Get field bus from device_op_write message
*
* @return Bus number
* @return Bus number.
*/
static inline uint8_t mavlink_msg_device_op_write_get_bus(const mavlink_message_t* msg)
{
......@@ -357,7 +357,7 @@ static inline uint8_t mavlink_msg_device_op_write_get_bus(const mavlink_message_
/**
* @brief Get field address from device_op_write message
*
* @return Bus address
* @return Bus address.
*/
static inline uint8_t mavlink_msg_device_op_write_get_address(const mavlink_message_t* msg)
{
......@@ -367,7 +367,7 @@ static inline uint8_t mavlink_msg_device_op_write_get_address(const mavlink_mess
/**
* @brief Get field busname from device_op_write message
*
* @return Name of device on bus (for SPI)
* @return Name of device on bus (for SPI).
*/
static inline uint16_t mavlink_msg_device_op_write_get_busname(const mavlink_message_t* msg, char *busname)
{
......@@ -377,7 +377,7 @@ static inline uint16_t mavlink_msg_device_op_write_get_busname(const mavlink_mes
/**
* @brief Get field regstart from device_op_write message
*
* @return First register to write
* @return First register to write.
*/
static inline uint8_t mavlink_msg_device_op_write_get_regstart(const mavlink_message_t* msg)
{
......@@ -387,7 +387,7 @@ static inline uint8_t mavlink_msg_device_op_write_get_regstart(const mavlink_mes
/**
* @brief Get field count from device_op_write message
*
* @return count of registers to write
* @return Count of registers to write.
*/
static inline uint8_t mavlink_msg_device_op_write_get_count(const mavlink_message_t* msg)
{
......@@ -397,7 +397,7 @@ static inline uint8_t mavlink_msg_device_op_write_get_count(const mavlink_messag
/**
* @brief Get field data from device_op_write message
*
* @return write data
* @return Write data.
*/
static inline uint16_t mavlink_msg_device_op_write_get_data(const mavlink_message_t* msg, uint8_t *data)
{
......
......@@ -5,8 +5,8 @@
MAVPACKED(
typedef struct __mavlink_device_op_write_reply_t {
uint32_t request_id; /*< request ID - copied from request*/
uint8_t result; /*< 0 for success, anything else is failure code*/
uint32_t request_id; /*< Request ID - copied from request.*/
uint8_t result; /*< 0 for success, anything else is failure code.*/
}) mavlink_device_op_write_reply_t;
#define MAVLINK_MSG_ID_DEVICE_OP_WRITE_REPLY_LEN 5
......@@ -44,8 +44,8 @@ typedef struct __mavlink_device_op_write_reply_t {
* @param component_id ID of this component (e.g. 200 for IMU)
* @param msg The MAVLink message to compress the data into
*
* @param request_id request ID - copied from request
* @param result 0 for success, anything else is failure code
* @param request_id Request ID - copied from request.
* @param result 0 for success, anything else is failure code.
* @return length of the message in bytes (excluding serial stream start sign)
*/
static inline uint16_t mavlink_msg_device_op_write_reply_pack(uint8_t system_id, uint8_t component_id, mavlink_message_t* msg,
......@@ -75,8 +75,8 @@ static inline uint16_t mavlink_msg_device_op_write_reply_pack(uint8_t system_id,
* @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 request_id request ID - copied from request
* @param result 0 for success, anything else is failure code
* @param request_id Request ID - copied from request.
* @param result 0 for success, anything else is failure code.
* @return length of the message in bytes (excluding serial stream start sign)
*/
static inline uint16_t mavlink_msg_device_op_write_reply_pack_chan(uint8_t system_id, uint8_t component_id, uint8_t chan,
......@@ -132,8 +132,8 @@ static inline uint16_t mavlink_msg_device_op_write_reply_encode_chan(uint8_t sys
* @brief Send a device_op_write_reply message
* @param chan MAVLink channel to send the message
*
* @param request_id request ID - copied from request
* @param result 0 for success, anything else is failure code
* @param request_id Request ID - copied from request.
* @param result 0 for success, anything else is failure code.
*/
#ifdef MAVLINK_USE_CONVENIENCE_FUNCTIONS
......@@ -202,7 +202,7 @@ static inline void mavlink_msg_device_op_write_reply_send_buf(mavlink_message_t
/**
* @brief Get field request_id from device_op_write_reply message
*
* @return request ID - copied from request
* @return Request ID - copied from request.
*/
static inline uint32_t mavlink_msg_device_op_write_reply_get_request_id(const mavlink_message_t* msg)
{
......@@ -212,7 +212,7 @@ static inline uint32_t mavlink_msg_device_op_write_reply_get_request_id(const ma
/**
* @brief Get field result from device_op_write_reply message
*
* @return 0 for success, anything else is failure code
* @return 0 for success, anything else is failure code.
*/
static inline uint8_t mavlink_msg_device_op_write_reply_get_result(const mavlink_message_t* msg)
{
......
This diff is collapsed.
......@@ -5,13 +5,13 @@
MAVPACKED(
typedef struct __mavlink_ekf_status_report_t {
float velocity_variance; /*< Velocity variance*/
float pos_horiz_variance; /*< Horizontal Position variance*/
float pos_vert_variance; /*< Vertical Position variance*/
float compass_variance; /*< Compass variance*/
float terrain_alt_variance; /*< Terrain Altitude variance*/
uint16_t flags; /*< Flags*/
float airspeed_variance; /*< Airspeed variance*/
float velocity_variance; /*< Velocity variance.*/
float pos_horiz_variance; /*< Horizontal Position variance.*/
float pos_vert_variance; /*< Vertical Position variance.*/
float compass_variance; /*< Compass variance.*/
float terrain_alt_variance; /*< Terrain Altitude variance.*/
uint16_t flags; /*< Flags.*/
float airspeed_variance; /*< Airspeed variance.*/
}) mavlink_ekf_status_report_t;
#define MAVLINK_MSG_ID_EKF_STATUS_REPORT_LEN 26
......@@ -59,13 +59,13 @@ typedef struct __mavlink_ekf_status_report_t {
* @param component_id ID of this component (e.g. 200 for IMU)
* @param msg The MAVLink message to compress the data into
*
* @param flags Flags
* @param velocity_variance Velocity variance
* @param pos_horiz_variance Horizontal Position variance
* @param pos_vert_variance Vertical Position variance
* @param compass_variance Compass variance
* @param terrain_alt_variance Terrain Altitude variance
* @param airspeed_variance Airspeed variance
* @param flags Flags.
* @param velocity_variance Velocity variance.
* @param pos_horiz_variance Horizontal Position variance.
* @param pos_vert_variance Vertical Position variance.
* @param compass_variance Compass variance.
* @param terrain_alt_variance Terrain Altitude variance.
* @param airspeed_variance Airspeed variance.
* @return length of the message in bytes (excluding serial stream start sign)
*/
static inline uint16_t mavlink_msg_ekf_status_report_pack(uint8_t system_id, uint8_t component_id, mavlink_message_t* msg,
......@@ -105,13 +105,13 @@ static inline uint16_t mavlink_msg_ekf_status_report_pack(uint8_t system_id, uin
* @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 flags Flags
* @param velocity_variance Velocity variance
* @param pos_horiz_variance Horizontal Position variance
* @param pos_vert_variance Vertical Position variance
* @param compass_variance Compass variance
* @param terrain_alt_variance Terrain Altitude variance
* @param airspeed_variance Airspeed variance
* @param flags Flags.
* @param velocity_variance Velocity variance.
* @param pos_horiz_variance Horizontal Position variance.
* @param pos_vert_variance Vertical Position variance.
* @param compass_variance Compass variance.
* @param terrain_alt_variance Terrain Altitude variance.
* @param airspeed_variance Airspeed variance.
* @return length of the message in bytes (excluding serial stream start sign)
*/
static inline uint16_t mavlink_msg_ekf_status_report_pack_chan(uint8_t system_id, uint8_t component_id, uint8_t chan,
......@@ -177,13 +177,13 @@ static inline uint16_t mavlink_msg_ekf_status_report_encode_chan(uint8_t system_
* @brief Send a ekf_status_report message
* @param chan MAVLink channel to send the message
*
* @param flags Flags
* @param velocity_variance Velocity variance
* @param pos_horiz_variance Horizontal Position variance
* @param pos_vert_variance Vertical Position variance
* @param compass_variance Compass variance
* @param terrain_alt_variance Terrain Altitude variance
* @param airspeed_variance Airspeed variance
* @param flags Flags.
* @param velocity_variance Velocity variance.
* @param pos_horiz_variance Horizontal Position variance.
* @param pos_vert_variance Vertical Position variance.
* @param compass_variance Compass variance.
* @param terrain_alt_variance Terrain Altitude variance.
* @param airspeed_variance Airspeed variance.
*/
#ifdef MAVLINK_USE_CONVENIENCE_FUNCTIONS
......@@ -272,7 +272,7 @@ static inline void mavlink_msg_ekf_status_report_send_buf(mavlink_message_t *msg
/**
* @brief Get field flags from ekf_status_report message
*
* @return Flags
* @return Flags.
*/
static inline uint16_t mavlink_msg_ekf_status_report_get_flags(const mavlink_message_t* msg)
{
......@@ -282,7 +282,7 @@ static inline uint16_t mavlink_msg_ekf_status_report_get_flags(const mavlink_mes
/**
* @brief Get field velocity_variance from ekf_status_report message
*
* @return Velocity variance
* @return Velocity variance.
*/
static inline float mavlink_msg_ekf_status_report_get_velocity_variance(const mavlink_message_t* msg)
{
......@@ -292,7 +292,7 @@ static inline float mavlink_msg_ekf_status_report_get_velocity_variance(const ma
/**
* @brief Get field pos_horiz_variance from ekf_status_report message
*
* @return Horizontal Position variance
* @return Horizontal Position variance.
*/
static inline float mavlink_msg_ekf_status_report_get_pos_horiz_variance(const mavlink_message_t* msg)
{
......@@ -302,7 +302,7 @@ static inline float mavlink_msg_ekf_status_report_get_pos_horiz_variance(const m
/**
* @brief Get field pos_vert_variance from ekf_status_report message
*
* @return Vertical Position variance
* @return Vertical Position variance.
*/
static inline float mavlink_msg_ekf_status_report_get_pos_vert_variance(const mavlink_message_t* msg)
{
......@@ -312,7 +312,7 @@ static inline float mavlink_msg_ekf_status_report_get_pos_vert_variance(const ma
/**
* @brief Get field compass_variance from ekf_status_report message
*
* @return Compass variance
* @return Compass variance.
*/
static inline float mavlink_msg_ekf_status_report_get_compass_variance(const mavlink_message_t* msg)
{
......@@ -322,7 +322,7 @@ static inline float mavlink_msg_ekf_status_report_get_compass_variance(const mav
/**
* @brief Get field terrain_alt_variance from ekf_status_report message
*
* @return Terrain Altitude variance
* @return Terrain Altitude variance.
*/
static inline float mavlink_msg_ekf_status_report_get_terrain_alt_variance(const mavlink_message_t* msg)
{
......@@ -332,7 +332,7 @@ static inline float mavlink_msg_ekf_status_report_get_terrain_alt_variance(const
/**
* @brief Get field airspeed_variance from ekf_status_report message
*
* @return Airspeed variance
* @return Airspeed variance.
*/
static inline float mavlink_msg_ekf_status_report_get_airspeed_variance(const mavlink_message_t* msg)
{
......
......@@ -5,9 +5,9 @@
MAVPACKED(
typedef struct __mavlink_fence_fetch_point_t {
uint8_t target_system; /*< System ID*/
uint8_t target_component; /*< Component ID*/
uint8_t idx; /*< point index (first point is 1, 0 is for return point)*/
uint8_t target_system; /*< System ID.*/
uint8_t target_component; /*< Component ID.*/
uint8_t idx; /*< Point index (first point is 1, 0 is for return point).*/
}) mavlink_fence_fetch_point_t;
#define MAVLINK_MSG_ID_FENCE_FETCH_POINT_LEN 3
......@@ -47,9 +47,9 @@ typedef struct __mavlink_fence_fetch_point_t {
* @param component_id ID of this component (e.g. 200 for IMU)
* @param msg The MAVLink message to compress the data into
*
* @param target_system System ID
* @param target_component Component ID
* @param idx point index (first point is 1, 0 is for return point)
* @param target_system System ID.
* @param target_component Component ID.
* @param idx Point index (first point is 1, 0 is for return point).
* @return length of the message in bytes (excluding serial stream start sign)
*/
static inline uint16_t mavlink_msg_fence_fetch_point_pack(uint8_t system_id, uint8_t component_id, mavlink_message_t* msg,
......@@ -81,9 +81,9 @@ static inline uint16_t mavlink_msg_fence_fetch_point_pack(uint8_t system_id, uin
* @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 target_system System ID
* @param target_component Component ID
* @param idx point index (first point is 1, 0 is for return point)
* @param target_system System ID.
* @param target_component Component ID.
* @param idx Point index (first point is 1, 0 is for return point).
* @return length of the message in bytes (excluding serial stream start sign)
*/
static inline uint16_t mavlink_msg_fence_fetch_point_pack_chan(uint8_t system_id, uint8_t component_id, uint8_t chan,
......@@ -141,9 +141,9 @@ static inline uint16_t mavlink_msg_fence_fetch_point_encode_chan(uint8_t system_
* @brief Send a fence_fetch_point message
* @param chan MAVLink channel to send the message
*
* @param target_system System ID
* @param target_component Component ID
* @param idx point index (first point is 1, 0 is for return point)
* @param target_system System ID.
* @param target_component Component ID.
* @param idx Point index (first point is 1, 0 is for return point).
*/
#ifdef MAVLINK_USE_CONVENIENCE_FUNCTIONS
......@@ -216,7 +216,7 @@ static inline void mavlink_msg_fence_fetch_point_send_buf(mavlink_message_t *msg
/**
* @brief Get field target_system from fence_fetch_point message
*
* @return System ID
* @return System ID.
*/
static inline uint8_t mavlink_msg_fence_fetch_point_get_target_system(const mavlink_message_t* msg)
{
......@@ -226,7 +226,7 @@ static inline uint8_t mavlink_msg_fence_fetch_point_get_target_system(const mavl
/**
* @brief Get field target_component from fence_fetch_point message
*
* @return Component ID
* @return Component ID.
*/
static inline uint8_t mavlink_msg_fence_fetch_point_get_target_component(const mavlink_message_t* msg)
{
......@@ -236,7 +236,7 @@ static inline uint8_t mavlink_msg_fence_fetch_point_get_target_component(const m
/**
* @brief Get field idx from fence_fetch_point message
*
* @return point index (first point is 1, 0 is for return point)
* @return Point index (first point is 1, 0 is for return point).
*/
static inline uint8_t mavlink_msg_fence_fetch_point_get_idx(const mavlink_message_t* msg)
{
......
......@@ -5,12 +5,12 @@
MAVPACKED(
typedef struct __mavlink_fence_point_t {
float lat; /*< Latitude of point*/
float lng; /*< Longitude of point*/
uint8_t target_system; /*< System ID*/
uint8_t target_component; /*< Component ID*/
uint8_t idx; /*< point index (first point is 1, 0 is for return point)*/
uint8_t count; /*< total number of points (for sanity checking)*/
float lat; /*< Latitude of point.*/
float lng; /*< Longitude of point.*/
uint8_t target_system; /*< System ID.*/
uint8_t target_component; /*< Component ID.*/
uint8_t idx; /*< Point index (first point is 1, 0 is for return point).*/
uint8_t count; /*< Total number of points (for sanity checking).*/
}) mavlink_fence_point_t;
#define MAVLINK_MSG_ID_FENCE_POINT_LEN 12
......@@ -56,12 +56,12 @@ typedef struct __mavlink_fence_point_t {
* @param component_id ID of this component (e.g. 200 for IMU)
* @param msg The MAVLink message to compress the data into
*
* @param target_system System ID
* @param target_component Component ID
* @param idx point index (first point is 1, 0 is for return point)
* @param count total number of points (for sanity checking)
* @param lat Latitude of point
* @param lng Longitude of point
* @param target_system System ID.
* @param target_component Component ID.
* @param idx Point index (first point is 1, 0 is for return point).
* @param count Total number of points (for sanity checking).
* @param lat Latitude of point.
* @param lng Longitude of point.
* @return length of the message in bytes (excluding serial stream start sign)
*/
static inline uint16_t mavlink_msg_fence_point_pack(uint8_t system_id, uint8_t component_id, mavlink_message_t* msg,
......@@ -99,12 +99,12 @@ static inline uint16_t mavlink_msg_fence_point_pack(uint8_t system_id, uint8_t c
* @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 target_system System ID
* @param target_component Component ID
* @param idx point index (first point is 1, 0 is for return point)
* @param count total number of points (for sanity checking)
* @param lat Latitude of point
* @param lng Longitude of point
* @param target_system System ID.
* @param target_component Component ID.
* @param idx Point index (first point is 1, 0 is for return point).
* @param count Total number of points (for sanity checking).
* @param lat Latitude of point.
* @param lng Longitude of point.
* @return length of the message in bytes (excluding serial stream start sign)
*/
static inline uint16_t mavlink_msg_fence_point_pack_chan(uint8_t system_id, uint8_t component_id, uint8_t chan,
......@@ -168,12 +168,12 @@ static inline uint16_t mavlink_msg_fence_point_encode_chan(uint8_t system_id, ui
* @brief Send a fence_point message
* @param chan MAVLink channel to send the message
*
* @param target_system System ID
* @param target_component Component ID
* @param idx point index (first point is 1, 0 is for return point)
* @param count total number of points (for sanity checking)
* @param lat Latitude of point
* @param lng Longitude of point
* @param target_system System ID.
* @param target_component Component ID.
* @param idx Point index (first point is 1, 0 is for return point).
* @param count Total number of points (for sanity checking).
* @param lat Latitude of point.
* @param lng Longitude of point.
*/
#ifdef MAVLINK_USE_CONVENIENCE_FUNCTIONS
......@@ -258,7 +258,7 @@ static inline void mavlink_msg_fence_point_send_buf(mavlink_message_t *msgbuf, m
/**
* @brief Get field target_system from fence_point message
*
* @return System ID
* @return System ID.
*/
static inline uint8_t mavlink_msg_fence_point_get_target_system(const mavlink_message_t* msg)
{
......@@ -268,7 +268,7 @@ static inline uint8_t mavlink_msg_fence_point_get_target_system(const mavlink_me
/**
* @brief Get field target_component from fence_point message
*
* @return Component ID
* @return Component ID.
*/
static inline uint8_t mavlink_msg_fence_point_get_target_component(const mavlink_message_t* msg)
{
......@@ -278,7 +278,7 @@ static inline uint8_t mavlink_msg_fence_point_get_target_component(const mavlink
/**
* @brief Get field idx from fence_point message
*
* @return point index (first point is 1, 0 is for return point)
* @return Point index (first point is 1, 0 is for return point).
*/
static inline uint8_t mavlink_msg_fence_point_get_idx(const mavlink_message_t* msg)
{
......@@ -288,7 +288,7 @@ static inline uint8_t mavlink_msg_fence_point_get_idx(const mavlink_message_t* m
/**
* @brief Get field count from fence_point message
*
* @return total number of points (for sanity checking)
* @return Total number of points (for sanity checking).
*/
static inline uint8_t mavlink_msg_fence_point_get_count(const mavlink_message_t* msg)
{
......@@ -298,7 +298,7 @@ static inline uint8_t mavlink_msg_fence_point_get_count(const mavlink_message_t*
/**
* @brief Get field lat from fence_point message
*
* @return Latitude of point
* @return Latitude of point.
*/
static inline float mavlink_msg_fence_point_get_lat(const mavlink_message_t* msg)
{
......@@ -308,7 +308,7 @@ static inline float mavlink_msg_fence_point_get_lat(const mavlink_message_t* msg
/**
* @brief Get field lng from fence_point message
*
* @return Longitude of point
* @return Longitude of point.
*/
static inline float mavlink_msg_fence_point_get_lng(const mavlink_message_t* msg)
{
......
......@@ -5,10 +5,10 @@
MAVPACKED(
typedef struct __mavlink_fence_status_t {
uint32_t breach_time; /*< time of last breach in milliseconds since boot*/
uint16_t breach_count; /*< number of fence breaches*/
uint8_t breach_status; /*< 0 if currently inside fence, 1 if outside*/
uint8_t breach_type; /*< last breach type (see FENCE_BREACH_* enum)*/
uint32_t breach_time; /*< Time (since boot) of last breach.*/
uint16_t breach_count; /*< Number of fence breaches.*/
uint8_t breach_status; /*< Breach status (0 if currently inside fence, 1 if outside).*/
uint8_t breach_type; /*< Last breach type.*/
}) mavlink_fence_status_t;
#define MAVLINK_MSG_ID_FENCE_STATUS_LEN 8
......@@ -50,10 +50,10 @@ typedef struct __mavlink_fence_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 breach_status 0 if currently inside fence, 1 if outside
* @param breach_count number of fence breaches
* @param breach_type last breach type (see FENCE_BREACH_* enum)
* @param breach_time time of last breach in milliseconds since boot
* @param breach_status Breach status (0 if currently inside fence, 1 if outside).
* @param breach_count Number of fence breaches.
* @param breach_type Last breach type.
* @param breach_time Time (since boot) of last breach.
* @return length of the message in bytes (excluding serial stream start sign)
*/
static inline uint16_t mavlink_msg_fence_status_pack(uint8_t system_id, uint8_t component_id, mavlink_message_t* msg,
......@@ -87,10 +87,10 @@ static inline uint16_t mavlink_msg_fence_status_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 breach_status 0 if currently inside fence, 1 if outside
* @param breach_count number of fence breaches
* @param breach_type last breach type (see FENCE_BREACH_* enum)
* @param breach_time time of last breach in milliseconds since boot
* @param breach_status Breach status (0 if currently inside fence, 1 if outside).
* @param breach_count Number of fence breaches.
* @param breach_type Last breach type.
* @param breach_time Time (since boot) of last breach.
* @return length of the message in bytes (excluding serial stream start sign)
*/
static inline uint16_t mavlink_msg_fence_status_pack_chan(uint8_t system_id, uint8_t component_id, uint8_t chan,
......@@ -150,10 +150,10 @@ static inline uint16_t mavlink_msg_fence_status_encode_chan(uint8_t system_id, u
* @brief Send a fence_status message
* @param chan MAVLink channel to send the message
*
* @param breach_status 0 if currently inside fence, 1 if outside
* @param breach_count number of fence breaches
* @param breach_type last breach type (see FENCE_BREACH_* enum)
* @param breach_time time of last breach in milliseconds since boot
* @param breach_status Breach status (0 if currently inside fence, 1 if outside).
* @param breach_count Number of fence breaches.
* @param breach_type Last breach type.
* @param breach_time Time (since boot) of last breach.
*/
#ifdef MAVLINK_USE_CONVENIENCE_FUNCTIONS
......@@ -230,7 +230,7 @@ static inline void mavlink_msg_fence_status_send_buf(mavlink_message_t *msgbuf,
/**
* @brief Get field breach_status from fence_status message
*
* @return 0 if currently inside fence, 1 if outside
* @return Breach status (0 if currently inside fence, 1 if outside).
*/
static inline uint8_t mavlink_msg_fence_status_get_breach_status(const mavlink_message_t* msg)
{
......@@ -240,7 +240,7 @@ static inline uint8_t mavlink_msg_fence_status_get_breach_status(const mavlink_m
/**
* @brief Get field breach_count from fence_status message
*
* @return number of fence breaches
* @return Number of fence breaches.
*/
static inline uint16_t mavlink_msg_fence_status_get_breach_count(const mavlink_message_t* msg)
{
......@@ -250,7 +250,7 @@ static inline uint16_t mavlink_msg_fence_status_get_breach_count(const mavlink_m
/**
* @brief Get field breach_type from fence_status message
*
* @return last breach type (see FENCE_BREACH_* enum)
* @return Last breach type.
*/
static inline uint8_t mavlink_msg_fence_status_get_breach_type(const mavlink_message_t* msg)
{
......@@ -260,7 +260,7 @@ static inline uint8_t mavlink_msg_fence_status_get_breach_type(const mavlink_mes
/**
* @brief Get field breach_time from fence_status message
*
* @return time of last breach in milliseconds since boot
* @return Time (since boot) of last breach.
*/
static inline uint32_t mavlink_msg_fence_status_get_breach_time(const mavlink_message_t* msg)
{
......
......@@ -5,11 +5,11 @@
MAVPACKED(
typedef struct __mavlink_gimbal_control_t {
float demanded_rate_x; /*< Demanded angular rate X (rad/s)*/
float demanded_rate_y; /*< Demanded angular rate Y (rad/s)*/
float demanded_rate_z; /*< Demanded angular rate Z (rad/s)*/
uint8_t target_system; /*< System ID*/
uint8_t target_component; /*< Component ID*/
float demanded_rate_x; /*< Demanded angular rate X.*/
float demanded_rate_y; /*< Demanded angular rate Y.*/
float demanded_rate_z; /*< Demanded angular rate Z.*/
uint8_t target_system; /*< System ID.*/
uint8_t target_component; /*< Component ID.*/
}) mavlink_gimbal_control_t;
#define MAVLINK_MSG_ID_GIMBAL_CONTROL_LEN 14
......@@ -53,11 +53,11 @@ typedef struct __mavlink_gimbal_control_t {
* @param component_id ID of this component (e.g. 200 for IMU)
* @param msg The MAVLink message to compress the data into
*
* @param target_system System ID
* @param target_component Component ID
* @param demanded_rate_x Demanded angular rate X (rad/s)
* @param demanded_rate_y Demanded angular rate Y (rad/s)
* @param demanded_rate_z Demanded angular rate Z (rad/s)
* @param target_system System ID.
* @param target_component Component ID.
* @param demanded_rate_x Demanded angular rate X.
* @param demanded_rate_y Demanded angular rate Y.
* @param demanded_rate_z Demanded angular rate Z.
* @return length of the message in bytes (excluding serial stream start sign)
*/
static inline uint16_t mavlink_msg_gimbal_control_pack(uint8_t system_id, uint8_t component_id, mavlink_message_t* msg,
......@@ -93,11 +93,11 @@ static inline uint16_t mavlink_msg_gimbal_control_pack(uint8_t system_id, uint8_
* @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 target_system System ID
* @param target_component Component ID
* @param demanded_rate_x Demanded angular rate X (rad/s)
* @param demanded_rate_y Demanded angular rate Y (rad/s)
* @param demanded_rate_z Demanded angular rate Z (rad/s)
* @param target_system System ID.
* @param target_component Component ID.
* @param demanded_rate_x Demanded angular rate X.
* @param demanded_rate_y Demanded angular rate Y.
* @param demanded_rate_z Demanded angular rate Z.
* @return length of the message in bytes (excluding serial stream start sign)
*/
static inline uint16_t mavlink_msg_gimbal_control_pack_chan(uint8_t system_id, uint8_t component_id, uint8_t chan,
......@@ -159,11 +159,11 @@ static inline uint16_t mavlink_msg_gimbal_control_encode_chan(uint8_t system_id,
* @brief Send a gimbal_control message
* @param chan MAVLink channel to send the message
*
* @param target_system System ID
* @param target_component Component ID
* @param demanded_rate_x Demanded angular rate X (rad/s)
* @param demanded_rate_y Demanded angular rate Y (rad/s)
* @param demanded_rate_z Demanded angular rate Z (rad/s)
* @param target_system System ID.
* @param target_component Component ID.
* @param demanded_rate_x Demanded angular rate X.
* @param demanded_rate_y Demanded angular rate Y.
* @param demanded_rate_z Demanded angular rate Z.
*/
#ifdef MAVLINK_USE_CONVENIENCE_FUNCTIONS
......@@ -244,7 +244,7 @@ static inline void mavlink_msg_gimbal_control_send_buf(mavlink_message_t *msgbuf
/**
* @brief Get field target_system from gimbal_control message
*
* @return System ID
* @return System ID.
*/
static inline uint8_t mavlink_msg_gimbal_control_get_target_system(const mavlink_message_t* msg)
{
......@@ -254,7 +254,7 @@ static inline uint8_t mavlink_msg_gimbal_control_get_target_system(const mavlink
/**
* @brief Get field target_component from gimbal_control message
*
* @return Component ID
* @return Component ID.
*/
static inline uint8_t mavlink_msg_gimbal_control_get_target_component(const mavlink_message_t* msg)
{
......@@ -264,7 +264,7 @@ static inline uint8_t mavlink_msg_gimbal_control_get_target_component(const mavl
/**
* @brief Get field demanded_rate_x from gimbal_control message
*
* @return Demanded angular rate X (rad/s)
* @return Demanded angular rate X.
*/
static inline float mavlink_msg_gimbal_control_get_demanded_rate_x(const mavlink_message_t* msg)
{
......@@ -274,7 +274,7 @@ static inline float mavlink_msg_gimbal_control_get_demanded_rate_x(const mavlink
/**
* @brief Get field demanded_rate_y from gimbal_control message
*
* @return Demanded angular rate Y (rad/s)
* @return Demanded angular rate Y.
*/
static inline float mavlink_msg_gimbal_control_get_demanded_rate_y(const mavlink_message_t* msg)
{
......@@ -284,7 +284,7 @@ static inline float mavlink_msg_gimbal_control_get_demanded_rate_y(const mavlink
/**
* @brief Get field demanded_rate_z from gimbal_control message
*
* @return Demanded angular rate Z (rad/s)
* @return Demanded angular rate Z.
*/
static inline float mavlink_msg_gimbal_control_get_demanded_rate_z(const mavlink_message_t* msg)
{
......
......@@ -5,18 +5,18 @@
MAVPACKED(
typedef struct __mavlink_gimbal_report_t {
float delta_time; /*< Time since last update (seconds)*/
float delta_angle_x; /*< Delta angle X (radians)*/
float delta_angle_y; /*< Delta angle Y (radians)*/
float delta_angle_z; /*< Delta angle X (radians)*/
float delta_velocity_x; /*< Delta velocity X (m/s)*/
float delta_velocity_y; /*< Delta velocity Y (m/s)*/
float delta_velocity_z; /*< Delta velocity Z (m/s)*/
float joint_roll; /*< Joint ROLL (radians)*/
float joint_el; /*< Joint EL (radians)*/
float joint_az; /*< Joint AZ (radians)*/
uint8_t target_system; /*< System ID*/
uint8_t target_component; /*< Component ID*/
float delta_time; /*< Time since last update.*/
float delta_angle_x; /*< Delta angle X.*/
float delta_angle_y; /*< Delta angle Y.*/
float delta_angle_z; /*< Delta angle X.*/
float delta_velocity_x; /*< Delta velocity X.*/
float delta_velocity_y; /*< Delta velocity Y.*/
float delta_velocity_z; /*< Delta velocity Z.*/
float joint_roll; /*< Joint ROLL.*/
float joint_el; /*< Joint EL.*/
float joint_az; /*< Joint AZ.*/
uint8_t target_system; /*< System ID.*/
uint8_t target_component; /*< Component ID.*/
}) mavlink_gimbal_report_t;
#define MAVLINK_MSG_ID_GIMBAL_REPORT_LEN 42
......@@ -74,18 +74,18 @@ typedef struct __mavlink_gimbal_report_t {
* @param component_id ID of this component (e.g. 200 for IMU)
* @param msg The MAVLink message to compress the data into
*
* @param target_system System ID
* @param target_component Component ID
* @param delta_time Time since last update (seconds)
* @param delta_angle_x Delta angle X (radians)
* @param delta_angle_y Delta angle Y (radians)
* @param delta_angle_z Delta angle X (radians)
* @param delta_velocity_x Delta velocity X (m/s)
* @param delta_velocity_y Delta velocity Y (m/s)
* @param delta_velocity_z Delta velocity Z (m/s)
* @param joint_roll Joint ROLL (radians)
* @param joint_el Joint EL (radians)
* @param joint_az Joint AZ (radians)
* @param target_system System ID.
* @param target_component Component ID.
* @param delta_time Time since last update.
* @param delta_angle_x Delta angle X.
* @param delta_angle_y Delta angle Y.
* @param delta_angle_z Delta angle X.
* @param delta_velocity_x Delta velocity X.
* @param delta_velocity_y Delta velocity Y.
* @param delta_velocity_z Delta velocity Z.
* @param joint_roll Joint ROLL.
* @param joint_el Joint EL.
* @param joint_az Joint AZ.
* @return length of the message in bytes (excluding serial stream start sign)
*/
static inline uint16_t mavlink_msg_gimbal_report_pack(uint8_t system_id, uint8_t component_id, mavlink_message_t* msg,
......@@ -135,18 +135,18 @@ static inline uint16_t mavlink_msg_gimbal_report_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 target_system System ID
* @param target_component Component ID
* @param delta_time Time since last update (seconds)
* @param delta_angle_x Delta angle X (radians)
* @param delta_angle_y Delta angle Y (radians)
* @param delta_angle_z Delta angle X (radians)
* @param delta_velocity_x Delta velocity X (m/s)
* @param delta_velocity_y Delta velocity Y (m/s)
* @param delta_velocity_z Delta velocity Z (m/s)
* @param joint_roll Joint ROLL (radians)
* @param joint_el Joint EL (radians)
* @param joint_az Joint AZ (radians)
* @param target_system System ID.
* @param target_component Component ID.
* @param delta_time Time since last update.
* @param delta_angle_x Delta angle X.
* @param delta_angle_y Delta angle Y.
* @param delta_angle_z Delta angle X.
* @param delta_velocity_x Delta velocity X.
* @param delta_velocity_y Delta velocity Y.
* @param delta_velocity_z Delta velocity Z.
* @param joint_roll Joint ROLL.
* @param joint_el Joint EL.
* @param joint_az Joint AZ.
* @return length of the message in bytes (excluding serial stream start sign)
*/
static inline uint16_t mavlink_msg_gimbal_report_pack_chan(uint8_t system_id, uint8_t component_id, uint8_t chan,
......@@ -222,18 +222,18 @@ static inline uint16_t mavlink_msg_gimbal_report_encode_chan(uint8_t system_id,
* @brief Send a gimbal_report message
* @param chan MAVLink channel to send the message
*
* @param target_system System ID
* @param target_component Component ID
* @param delta_time Time since last update (seconds)
* @param delta_angle_x Delta angle X (radians)
* @param delta_angle_y Delta angle Y (radians)
* @param delta_angle_z Delta angle X (radians)
* @param delta_velocity_x Delta velocity X (m/s)
* @param delta_velocity_y Delta velocity Y (m/s)
* @param delta_velocity_z Delta velocity Z (m/s)
* @param joint_roll Joint ROLL (radians)
* @param joint_el Joint EL (radians)
* @param joint_az Joint AZ (radians)
* @param target_system System ID.
* @param target_component Component ID.
* @param delta_time Time since last update.
* @param delta_angle_x Delta angle X.
* @param delta_angle_y Delta angle Y.
* @param delta_angle_z Delta angle X.
* @param delta_velocity_x Delta velocity X.
* @param delta_velocity_y Delta velocity Y.
* @param delta_velocity_z Delta velocity Z.
* @param joint_roll Joint ROLL.
* @param joint_el Joint EL.
* @param joint_az Joint AZ.
*/
#ifdef MAVLINK_USE_CONVENIENCE_FUNCTIONS
......@@ -342,7 +342,7 @@ static inline void mavlink_msg_gimbal_report_send_buf(mavlink_message_t *msgbuf,
/**
* @brief Get field target_system from gimbal_report message
*
* @return System ID
* @return System ID.
*/
static inline uint8_t mavlink_msg_gimbal_report_get_target_system(const mavlink_message_t* msg)
{
......@@ -352,7 +352,7 @@ static inline uint8_t mavlink_msg_gimbal_report_get_target_system(const mavlink_
/**
* @brief Get field target_component from gimbal_report message
*
* @return Component ID
* @return Component ID.
*/
static inline uint8_t mavlink_msg_gimbal_report_get_target_component(const mavlink_message_t* msg)
{
......@@ -362,7 +362,7 @@ static inline uint8_t mavlink_msg_gimbal_report_get_target_component(const mavli
/**
* @brief Get field delta_time from gimbal_report message
*
* @return Time since last update (seconds)
* @return Time since last update.
*/
static inline float mavlink_msg_gimbal_report_get_delta_time(const mavlink_message_t* msg)
{
......@@ -372,7 +372,7 @@ static inline float mavlink_msg_gimbal_report_get_delta_time(const mavlink_messa
/**
* @brief Get field delta_angle_x from gimbal_report message
*
* @return Delta angle X (radians)
* @return Delta angle X.
*/
static inline float mavlink_msg_gimbal_report_get_delta_angle_x(const mavlink_message_t* msg)
{
......@@ -382,7 +382,7 @@ static inline float mavlink_msg_gimbal_report_get_delta_angle_x(const mavlink_me
/**
* @brief Get field delta_angle_y from gimbal_report message
*
* @return Delta angle Y (radians)
* @return Delta angle Y.
*/
static inline float mavlink_msg_gimbal_report_get_delta_angle_y(const mavlink_message_t* msg)
{
......@@ -392,7 +392,7 @@ static inline float mavlink_msg_gimbal_report_get_delta_angle_y(const mavlink_me
/**
* @brief Get field delta_angle_z from gimbal_report message
*
* @return Delta angle X (radians)
* @return Delta angle X.
*/
static inline float mavlink_msg_gimbal_report_get_delta_angle_z(const mavlink_message_t* msg)
{
......@@ -402,7 +402,7 @@ static inline float mavlink_msg_gimbal_report_get_delta_angle_z(const mavlink_me
/**
* @brief Get field delta_velocity_x from gimbal_report message
*
* @return Delta velocity X (m/s)
* @return Delta velocity X.
*/
static inline float mavlink_msg_gimbal_report_get_delta_velocity_x(const mavlink_message_t* msg)
{
......@@ -412,7 +412,7 @@ static inline float mavlink_msg_gimbal_report_get_delta_velocity_x(const mavlink
/**
* @brief Get field delta_velocity_y from gimbal_report message
*
* @return Delta velocity Y (m/s)
* @return Delta velocity Y.
*/
static inline float mavlink_msg_gimbal_report_get_delta_velocity_y(const mavlink_message_t* msg)
{
......@@ -422,7 +422,7 @@ static inline float mavlink_msg_gimbal_report_get_delta_velocity_y(const mavlink
/**
* @brief Get field delta_velocity_z from gimbal_report message
*
* @return Delta velocity Z (m/s)
* @return Delta velocity Z.
*/
static inline float mavlink_msg_gimbal_report_get_delta_velocity_z(const mavlink_message_t* msg)
{
......@@ -432,7 +432,7 @@ static inline float mavlink_msg_gimbal_report_get_delta_velocity_z(const mavlink
/**
* @brief Get field joint_roll from gimbal_report message
*
* @return Joint ROLL (radians)
* @return Joint ROLL.
*/
static inline float mavlink_msg_gimbal_report_get_joint_roll(const mavlink_message_t* msg)
{
......@@ -442,7 +442,7 @@ static inline float mavlink_msg_gimbal_report_get_joint_roll(const mavlink_messa
/**
* @brief Get field joint_el from gimbal_report message
*
* @return Joint EL (radians)
* @return Joint EL.
*/
static inline float mavlink_msg_gimbal_report_get_joint_el(const mavlink_message_t* msg)
{
......@@ -452,7 +452,7 @@ static inline float mavlink_msg_gimbal_report_get_joint_el(const mavlink_message
/**
* @brief Get field joint_az from gimbal_report message
*
* @return Joint AZ (radians)
* @return Joint AZ.
*/
static inline float mavlink_msg_gimbal_report_get_joint_az(const mavlink_message_t* msg)
{
......
......@@ -5,11 +5,11 @@
MAVPACKED(
typedef struct __mavlink_gimbal_torque_cmd_report_t {
int16_t rl_torque_cmd; /*< Roll Torque Command*/
int16_t el_torque_cmd; /*< Elevation Torque Command*/
int16_t az_torque_cmd; /*< Azimuth Torque Command*/
uint8_t target_system; /*< System ID*/
uint8_t target_component; /*< Component ID*/
int16_t rl_torque_cmd; /*< Roll Torque Command.*/
int16_t el_torque_cmd; /*< Elevation Torque Command.*/
int16_t az_torque_cmd; /*< Azimuth Torque Command.*/
uint8_t target_system; /*< System ID.*/
uint8_t target_component; /*< Component ID.*/
}) mavlink_gimbal_torque_cmd_report_t;
#define MAVLINK_MSG_ID_GIMBAL_TORQUE_CMD_REPORT_LEN 8
......@@ -53,11 +53,11 @@ typedef struct __mavlink_gimbal_torque_cmd_report_t {
* @param component_id ID of this component (e.g. 200 for IMU)
* @param msg The MAVLink message to compress the data into
*
* @param target_system System ID
* @param target_component Component ID
* @param rl_torque_cmd Roll Torque Command
* @param el_torque_cmd Elevation Torque Command
* @param az_torque_cmd Azimuth Torque Command
* @param target_system System ID.
* @param target_component Component ID.
* @param rl_torque_cmd Roll Torque Command.
* @param el_torque_cmd Elevation Torque Command.
* @param az_torque_cmd Azimuth Torque Command.
* @return length of the message in bytes (excluding serial stream start sign)
*/
static inline uint16_t mavlink_msg_gimbal_torque_cmd_report_pack(uint8_t system_id, uint8_t component_id, mavlink_message_t* msg,
......@@ -93,11 +93,11 @@ static inline uint16_t mavlink_msg_gimbal_torque_cmd_report_pack(uint8_t system_
* @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 target_system System ID
* @param target_component Component ID
* @param rl_torque_cmd Roll Torque Command
* @param el_torque_cmd Elevation Torque Command
* @param az_torque_cmd Azimuth Torque Command
* @param target_system System ID.
* @param target_component Component ID.
* @param rl_torque_cmd Roll Torque Command.
* @param el_torque_cmd Elevation Torque Command.
* @param az_torque_cmd Azimuth Torque Command.
* @return length of the message in bytes (excluding serial stream start sign)
*/
static inline uint16_t mavlink_msg_gimbal_torque_cmd_report_pack_chan(uint8_t system_id, uint8_t component_id, uint8_t chan,
......@@ -159,11 +159,11 @@ static inline uint16_t mavlink_msg_gimbal_torque_cmd_report_encode_chan(uint8_t
* @brief Send a gimbal_torque_cmd_report message
* @param chan MAVLink channel to send the message
*
* @param target_system System ID
* @param target_component Component ID
* @param rl_torque_cmd Roll Torque Command
* @param el_torque_cmd Elevation Torque Command
* @param az_torque_cmd Azimuth Torque Command
* @param target_system System ID.
* @param target_component Component ID.
* @param rl_torque_cmd Roll Torque Command.
* @param el_torque_cmd Elevation Torque Command.
* @param az_torque_cmd Azimuth Torque Command.
*/
#ifdef MAVLINK_USE_CONVENIENCE_FUNCTIONS
......@@ -244,7 +244,7 @@ static inline void mavlink_msg_gimbal_torque_cmd_report_send_buf(mavlink_message
/**
* @brief Get field target_system from gimbal_torque_cmd_report message
*
* @return System ID
* @return System ID.
*/
static inline uint8_t mavlink_msg_gimbal_torque_cmd_report_get_target_system(const mavlink_message_t* msg)
{
......@@ -254,7 +254,7 @@ static inline uint8_t mavlink_msg_gimbal_torque_cmd_report_get_target_system(con
/**
* @brief Get field target_component from gimbal_torque_cmd_report message
*
* @return Component ID
* @return Component ID.
*/
static inline uint8_t mavlink_msg_gimbal_torque_cmd_report_get_target_component(const mavlink_message_t* msg)
{
......@@ -264,7 +264,7 @@ static inline uint8_t mavlink_msg_gimbal_torque_cmd_report_get_target_component(
/**
* @brief Get field rl_torque_cmd from gimbal_torque_cmd_report message
*
* @return Roll Torque Command
* @return Roll Torque Command.
*/
static inline int16_t mavlink_msg_gimbal_torque_cmd_report_get_rl_torque_cmd(const mavlink_message_t* msg)
{
......@@ -274,7 +274,7 @@ static inline int16_t mavlink_msg_gimbal_torque_cmd_report_get_rl_torque_cmd(con
/**
* @brief Get field el_torque_cmd from gimbal_torque_cmd_report message
*
* @return Elevation Torque Command
* @return Elevation Torque Command.
*/
static inline int16_t mavlink_msg_gimbal_torque_cmd_report_get_el_torque_cmd(const mavlink_message_t* msg)
{
......@@ -284,7 +284,7 @@ static inline int16_t mavlink_msg_gimbal_torque_cmd_report_get_el_torque_cmd(con
/**
* @brief Get field az_torque_cmd from gimbal_torque_cmd_report message
*
* @return Azimuth Torque Command
* @return Azimuth Torque Command.
*/
static inline int16_t mavlink_msg_gimbal_torque_cmd_report_get_az_torque_cmd(const mavlink_message_t* msg)
{
......
......@@ -5,9 +5,9 @@
MAVPACKED(
typedef struct __mavlink_gopro_get_request_t {
uint8_t target_system; /*< System ID*/
uint8_t target_component; /*< Component ID*/
uint8_t cmd_id; /*< Command ID*/
uint8_t target_system; /*< System ID.*/
uint8_t target_component; /*< Component ID.*/
uint8_t cmd_id; /*< Command ID.*/
}) mavlink_gopro_get_request_t;
#define MAVLINK_MSG_ID_GOPRO_GET_REQUEST_LEN 3
......@@ -47,9 +47,9 @@ typedef struct __mavlink_gopro_get_request_t {
* @param component_id ID of this component (e.g. 200 for IMU)
* @param msg The MAVLink message to compress the data into
*
* @param target_system System ID
* @param target_component Component ID
* @param cmd_id Command ID
* @param target_system System ID.
* @param target_component Component ID.
* @param cmd_id Command ID.
* @return length of the message in bytes (excluding serial stream start sign)
*/
static inline uint16_t mavlink_msg_gopro_get_request_pack(uint8_t system_id, uint8_t component_id, mavlink_message_t* msg,
......@@ -81,9 +81,9 @@ static inline uint16_t mavlink_msg_gopro_get_request_pack(uint8_t system_id, uin
* @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 target_system System ID
* @param target_component Component ID
* @param cmd_id Command ID
* @param target_system System ID.
* @param target_component Component ID.
* @param cmd_id Command ID.
* @return length of the message in bytes (excluding serial stream start sign)
*/
static inline uint16_t mavlink_msg_gopro_get_request_pack_chan(uint8_t system_id, uint8_t component_id, uint8_t chan,
......@@ -141,9 +141,9 @@ static inline uint16_t mavlink_msg_gopro_get_request_encode_chan(uint8_t system_
* @brief Send a gopro_get_request message
* @param chan MAVLink channel to send the message
*
* @param target_system System ID
* @param target_component Component ID
* @param cmd_id Command ID
* @param target_system System ID.
* @param target_component Component ID.
* @param cmd_id Command ID.
*/
#ifdef MAVLINK_USE_CONVENIENCE_FUNCTIONS
......@@ -216,7 +216,7 @@ static inline void mavlink_msg_gopro_get_request_send_buf(mavlink_message_t *msg
/**
* @brief Get field target_system from gopro_get_request message
*
* @return System ID
* @return System ID.
*/
static inline uint8_t mavlink_msg_gopro_get_request_get_target_system(const mavlink_message_t* msg)
{
......@@ -226,7 +226,7 @@ static inline uint8_t mavlink_msg_gopro_get_request_get_target_system(const mavl
/**
* @brief Get field target_component from gopro_get_request message
*
* @return Component ID
* @return Component ID.
*/
static inline uint8_t mavlink_msg_gopro_get_request_get_target_component(const mavlink_message_t* msg)
{
......@@ -236,7 +236,7 @@ static inline uint8_t mavlink_msg_gopro_get_request_get_target_component(const m
/**
* @brief Get field cmd_id from gopro_get_request message
*
* @return Command ID
* @return Command ID.
*/
static inline uint8_t mavlink_msg_gopro_get_request_get_cmd_id(const mavlink_message_t* msg)
{
......
......@@ -5,9 +5,9 @@
MAVPACKED(
typedef struct __mavlink_gopro_get_response_t {
uint8_t cmd_id; /*< Command ID*/
uint8_t status; /*< Status*/
uint8_t value[4]; /*< Value*/
uint8_t cmd_id; /*< Command ID.*/
uint8_t status; /*< Status.*/
uint8_t value[4]; /*< Value.*/
}) mavlink_gopro_get_response_t;
#define MAVLINK_MSG_ID_GOPRO_GET_RESPONSE_LEN 6
......@@ -47,9 +47,9 @@ typedef struct __mavlink_gopro_get_response_t {
* @param component_id ID of this component (e.g. 200 for IMU)
* @param msg The MAVLink message to compress the data into
*
* @param cmd_id Command ID
* @param status Status
* @param value Value
* @param cmd_id Command ID.
* @param status Status.
* @param value Value.
* @return length of the message in bytes (excluding serial stream start sign)
*/
static inline uint16_t mavlink_msg_gopro_get_response_pack(uint8_t system_id, uint8_t component_id, mavlink_message_t* msg,
......@@ -79,9 +79,9 @@ static inline uint16_t mavlink_msg_gopro_get_response_pack(uint8_t system_id, ui
* @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 cmd_id Command ID
* @param status Status
* @param value Value
* @param cmd_id Command ID.
* @param status Status.
* @param value Value.
* @return length of the message in bytes (excluding serial stream start sign)
*/
static inline uint16_t mavlink_msg_gopro_get_response_pack_chan(uint8_t system_id, uint8_t component_id, uint8_t chan,
......@@ -137,9 +137,9 @@ static inline uint16_t mavlink_msg_gopro_get_response_encode_chan(uint8_t system
* @brief Send a gopro_get_response message
* @param chan MAVLink channel to send the message
*
* @param cmd_id Command ID
* @param status Status
* @param value Value
* @param cmd_id Command ID.
* @param status Status.
* @param value Value.
*/
#ifdef MAVLINK_USE_CONVENIENCE_FUNCTIONS
......@@ -208,7 +208,7 @@ static inline void mavlink_msg_gopro_get_response_send_buf(mavlink_message_t *ms
/**
* @brief Get field cmd_id from gopro_get_response message
*
* @return Command ID
* @return Command ID.
*/
static inline uint8_t mavlink_msg_gopro_get_response_get_cmd_id(const mavlink_message_t* msg)
{
......@@ -218,7 +218,7 @@ static inline uint8_t mavlink_msg_gopro_get_response_get_cmd_id(const mavlink_me
/**
* @brief Get field status from gopro_get_response message
*
* @return Status
* @return Status.
*/
static inline uint8_t mavlink_msg_gopro_get_response_get_status(const mavlink_message_t* msg)
{
......@@ -228,7 +228,7 @@ static inline uint8_t mavlink_msg_gopro_get_response_get_status(const mavlink_me
/**
* @brief Get field value from gopro_get_response message
*
* @return Value
* @return Value.
*/
static inline uint16_t mavlink_msg_gopro_get_response_get_value(const mavlink_message_t* msg, uint8_t *value)
{
......
......@@ -5,9 +5,9 @@
MAVPACKED(
typedef struct __mavlink_gopro_heartbeat_t {
uint8_t status; /*< Status*/
uint8_t capture_mode; /*< Current capture mode*/
uint8_t flags; /*< additional status bits*/
uint8_t status; /*< Status.*/
uint8_t capture_mode; /*< Current capture mode.*/
uint8_t flags; /*< Additional status bits.*/
}) mavlink_gopro_heartbeat_t;
#define MAVLINK_MSG_ID_GOPRO_HEARTBEAT_LEN 3
......@@ -47,9 +47,9 @@ typedef struct __mavlink_gopro_heartbeat_t {
* @param component_id ID of this component (e.g. 200 for IMU)
* @param msg The MAVLink message to compress the data into
*
* @param status Status
* @param capture_mode Current capture mode
* @param flags additional status bits
* @param status Status.
* @param capture_mode Current capture mode.
* @param flags Additional status bits.
* @return length of the message in bytes (excluding serial stream start sign)
*/
static inline uint16_t mavlink_msg_gopro_heartbeat_pack(uint8_t system_id, uint8_t component_id, mavlink_message_t* msg,
......@@ -81,9 +81,9 @@ static inline uint16_t mavlink_msg_gopro_heartbeat_pack(uint8_t system_id, uint8
* @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 status Status
* @param capture_mode Current capture mode
* @param flags additional status bits
* @param status Status.
* @param capture_mode Current capture mode.
* @param flags Additional status bits.
* @return length of the message in bytes (excluding serial stream start sign)
*/
static inline uint16_t mavlink_msg_gopro_heartbeat_pack_chan(uint8_t system_id, uint8_t component_id, uint8_t chan,
......@@ -141,9 +141,9 @@ static inline uint16_t mavlink_msg_gopro_heartbeat_encode_chan(uint8_t system_id
* @brief Send a gopro_heartbeat message
* @param chan MAVLink channel to send the message
*
* @param status Status
* @param capture_mode Current capture mode
* @param flags additional status bits
* @param status Status.
* @param capture_mode Current capture mode.
* @param flags Additional status bits.
*/
#ifdef MAVLINK_USE_CONVENIENCE_FUNCTIONS
......@@ -216,7 +216,7 @@ static inline void mavlink_msg_gopro_heartbeat_send_buf(mavlink_message_t *msgbu
/**
* @brief Get field status from gopro_heartbeat message
*
* @return Status
* @return Status.
*/
static inline uint8_t mavlink_msg_gopro_heartbeat_get_status(const mavlink_message_t* msg)
{
......@@ -226,7 +226,7 @@ static inline uint8_t mavlink_msg_gopro_heartbeat_get_status(const mavlink_messa
/**
* @brief Get field capture_mode from gopro_heartbeat message
*
* @return Current capture mode
* @return Current capture mode.
*/
static inline uint8_t mavlink_msg_gopro_heartbeat_get_capture_mode(const mavlink_message_t* msg)
{
......@@ -236,7 +236,7 @@ static inline uint8_t mavlink_msg_gopro_heartbeat_get_capture_mode(const mavlink
/**
* @brief Get field flags from gopro_heartbeat message
*
* @return additional status bits
* @return Additional status bits.
*/
static inline uint8_t mavlink_msg_gopro_heartbeat_get_flags(const mavlink_message_t* msg)
{
......
......@@ -5,10 +5,10 @@
MAVPACKED(
typedef struct __mavlink_gopro_set_request_t {
uint8_t target_system; /*< System ID*/
uint8_t target_component; /*< Component ID*/
uint8_t cmd_id; /*< Command ID*/
uint8_t value[4]; /*< Value*/
uint8_t target_system; /*< System ID.*/
uint8_t target_component; /*< Component ID.*/
uint8_t cmd_id; /*< Command ID.*/
uint8_t value[4]; /*< Value.*/
}) mavlink_gopro_set_request_t;
#define MAVLINK_MSG_ID_GOPRO_SET_REQUEST_LEN 7
......@@ -50,10 +50,10 @@ typedef struct __mavlink_gopro_set_request_t {
* @param component_id ID of this component (e.g. 200 for IMU)
* @param msg The MAVLink message to compress the data into
*
* @param target_system System ID
* @param target_component Component ID
* @param cmd_id Command ID
* @param value Value
* @param target_system System ID.
* @param target_component Component ID.
* @param cmd_id Command ID.
* @param value Value.
* @return length of the message in bytes (excluding serial stream start sign)
*/
static inline uint16_t mavlink_msg_gopro_set_request_pack(uint8_t system_id, uint8_t component_id, mavlink_message_t* msg,
......@@ -85,10 +85,10 @@ static inline uint16_t mavlink_msg_gopro_set_request_pack(uint8_t system_id, uin
* @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 target_system System ID
* @param target_component Component ID
* @param cmd_id Command ID
* @param value Value
* @param target_system System ID.
* @param target_component Component ID.
* @param cmd_id Command ID.
* @param value Value.
* @return length of the message in bytes (excluding serial stream start sign)
*/
static inline uint16_t mavlink_msg_gopro_set_request_pack_chan(uint8_t system_id, uint8_t component_id, uint8_t chan,
......@@ -146,10 +146,10 @@ static inline uint16_t mavlink_msg_gopro_set_request_encode_chan(uint8_t system_
* @brief Send a gopro_set_request message
* @param chan MAVLink channel to send the message
*
* @param target_system System ID
* @param target_component Component ID
* @param cmd_id Command ID
* @param value Value
* @param target_system System ID.
* @param target_component Component ID.
* @param cmd_id Command ID.
* @param value Value.
*/
#ifdef MAVLINK_USE_CONVENIENCE_FUNCTIONS
......@@ -222,7 +222,7 @@ static inline void mavlink_msg_gopro_set_request_send_buf(mavlink_message_t *msg
/**
* @brief Get field target_system from gopro_set_request message
*
* @return System ID
* @return System ID.
*/
static inline uint8_t mavlink_msg_gopro_set_request_get_target_system(const mavlink_message_t* msg)
{
......@@ -232,7 +232,7 @@ static inline uint8_t mavlink_msg_gopro_set_request_get_target_system(const mavl
/**
* @brief Get field target_component from gopro_set_request message
*
* @return Component ID
* @return Component ID.
*/
static inline uint8_t mavlink_msg_gopro_set_request_get_target_component(const mavlink_message_t* msg)
{
......@@ -242,7 +242,7 @@ static inline uint8_t mavlink_msg_gopro_set_request_get_target_component(const m
/**
* @brief Get field cmd_id from gopro_set_request message
*
* @return Command ID
* @return Command ID.
*/
static inline uint8_t mavlink_msg_gopro_set_request_get_cmd_id(const mavlink_message_t* msg)
{
......@@ -252,7 +252,7 @@ static inline uint8_t mavlink_msg_gopro_set_request_get_cmd_id(const mavlink_mes
/**
* @brief Get field value from gopro_set_request message
*
* @return Value
* @return Value.
*/
static inline uint16_t mavlink_msg_gopro_set_request_get_value(const mavlink_message_t* msg, uint8_t *value)
{
......
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
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