Commit 420c60ee authored by PX4BuildBot's avatar PX4BuildBot

autogenerated headers for rev...

autogenerated headers for rev https://github.com/mavlink/mavlink/tree/b4b29d91d9ced7a4c53ce81dd33cc5ba7a41d73a
parent 3d268139
......@@ -54,7 +54,7 @@ typedef enum MAV_CMD
MAV_CMD_DO_FOLLOW=32, /* Being following a target |System ID (the system ID of the FOLLOW_TARGET beacon). Send 0 to disable follow-me and return to the default position hold mode| RESERVED| RESERVED| altitude flag: 0: Keep current altitude, 1: keep altitude difference to target, 2: go to a fixed altitude above home| altitude| RESERVED| TTL in seconds in which the MAV should go to the default position hold mode after a message rx timeout| */
MAV_CMD_DO_FOLLOW_REPOSITION=33, /* Reposition the MAV after a follow target command has been sent |Camera q1 (where 0 is on the ray from the camera to the tracking device)| Camera q2| Camera q3| Camera q4| altitude offset from target (m)| X offset from target (m)| Y offset from target (m)| */
MAV_CMD_DO_ORBIT=34, /* WIP: Start orbiting on the circumference of a circle defined by the parameters. Setting any value NaN results in using defaults. |Radius of the circle in meters. positive: Orbit clockwise. negative: Orbit counter-clockwise. | Velocity tangential in m/s. NaN: Vehicle configuration default.| Yaw behaviour of the vehicle. 0: vehicle front points to the center (default). 1: Hold last heading. 2: Leave yaw uncontrolled.| Reserved (e.g. for dynamic center beacon options)| Center point latitude (if no MAV_FRAME specified) / X coordinate according to MAV_FRAME. NaN: Use current vehicle position or current center if already orbiting.| Center point longitude (if no MAV_FRAME specified) / Y coordinate according to MAV_FRAME. NaN: Use current vehicle position or current center if already orbiting.| Center point altitude (AMSL) (if no MAV_FRAME specified) / Z coordinate according to MAV_FRAME. NaN: Use current vehicle position or current center if already orbiting.| */
MAV_CMD_NAV_ROI=80, /* THIS INTERFACE IS DEPRECATED AS OF JANUARY 2018. Please use MAV_CMD_DO_SET_ROI_* messages instead. Sets the region of interest (ROI) for a sensor set or the vehicle itself. This can then be used by the vehicles control system to control the vehicle attitude and the attitude of various sensors such as cameras. |Region of interest mode. (see MAV_ROI enum)| Waypoint index/ target ID. (see MAV_ROI enum)| ROI index (allows a vehicle to manage multiple ROI's)| Empty| x the location of the fixed ROI (see MAV_FRAME)| y| z| */
MAV_CMD_NAV_ROI=80, /* Sets the region of interest (ROI) for a sensor set or the vehicle itself. This can then be used by the vehicles control system to control the vehicle attitude and the attitude of various sensors such as cameras. |Region of interest mode. (see MAV_ROI enum)| Waypoint index/ target ID. (see MAV_ROI enum)| ROI index (allows a vehicle to manage multiple ROI's)| Empty| x the location of the fixed ROI (see MAV_FRAME)| y| z| */
MAV_CMD_NAV_PATHPLANNING=81, /* Control autonomous path planning on the MAV. |0: Disable local obstacle avoidance / local path planning (without resetting map), 1: Enable local path planning, 2: Enable and reset local path planning| 0: Disable full path planning (without resetting map), 1: Enable, 2: Enable and reset map/occupancy grid, 3: Enable and reset planned route, but not occupancy grid| Empty| Yaw angle at goal, in compass degrees, [0..360]| Latitude/X of goal| Longitude/Y of goal| Altitude/Z of goal| */
MAV_CMD_NAV_SPLINE_WAYPOINT=82, /* Navigate to waypoint using a spline path. |Hold time in decimal seconds. (ignored by fixed wing, time to stay at waypoint for rotary wing)| Empty| Empty| Empty| Latitude/X of goal| Longitude/Y of goal| Altitude/Z of goal| */
MAV_CMD_NAV_VTOL_TAKEOFF=84, /* Takeoff from ground using VTOL mode |Empty| Front transition heading, see VTOL_TRANSITION_HEADING enum.| Empty| Yaw angle in degrees. NaN for unchanged.| Latitude| Longitude| Altitude| */
......@@ -89,7 +89,7 @@ typedef enum MAV_CMD
MAV_CMD_DO_SET_ROI_WPNEXT_OFFSET=196, /* Sets the region of interest (ROI) to be toward next waypoint, with optional pitch/roll/yaw offset. This can then be used by the vehicles control system to control the vehicle attitude and the attitude of various sensors such as cameras. |Empty| Empty| Empty| Empty| pitch offset from next waypoint| roll offset from next waypoint| yaw offset from next waypoint| */
MAV_CMD_DO_SET_ROI_NONE=197, /* Cancels any previous ROI command returning the vehicle/sensors to default flight characteristics. This can then be used by the vehicles control system to control the vehicle attitude and the attitude of various sensors such as cameras. |Empty| Empty| Empty| Empty| Empty| Empty| Empty| */
MAV_CMD_DO_CONTROL_VIDEO=200, /* Control onboard camera system. |Camera ID (-1 for all)| Transmission: 0: disabled, 1: enabled compressed, 2: enabled raw| Transmission mode: 0: video stream, >0: single images every n seconds (decimal)| Recording: 0: disabled, 1: enabled compressed, 2: enabled raw| Empty| Empty| Empty| */
MAV_CMD_DO_SET_ROI=201, /* THIS INTERFACE IS DEPRECATED AS OF JANUARY 2018. Please use MAV_CMD_DO_SET_ROI_* messages instead. Sets the region of interest (ROI) for a sensor set or the vehicle itself. This can then be used by the vehicles control system to control the vehicle attitude and the attitude of various sensors such as cameras. |Region of interest mode. (see MAV_ROI enum)| Waypoint index/ target ID. (see MAV_ROI enum)| ROI index (allows a vehicle to manage multiple ROI's)| Empty| MAV_ROI_WPNEXT: pitch offset from next waypoint, MAV_ROI_LOCATION: latitude| MAV_ROI_WPNEXT: roll offset from next waypoint, MAV_ROI_LOCATION: longitude| MAV_ROI_WPNEXT: yaw offset from next waypoint, MAV_ROI_LOCATION: altitude| */
MAV_CMD_DO_SET_ROI=201, /* Sets the region of interest (ROI) for a sensor set or the vehicle itself. This can then be used by the vehicles control system to control the vehicle attitude and the attitude of various sensors such as cameras. |Region of interest mode. (see MAV_ROI enum)| Waypoint index/ target ID. (see MAV_ROI enum)| ROI index (allows a vehicle to manage multiple ROI's)| Empty| MAV_ROI_WPNEXT: pitch offset from next waypoint, MAV_ROI_LOCATION: latitude| MAV_ROI_WPNEXT: roll offset from next waypoint, MAV_ROI_LOCATION: longitude| MAV_ROI_WPNEXT: yaw offset from next waypoint, MAV_ROI_LOCATION: altitude| */
MAV_CMD_DO_DIGICAM_CONFIGURE=202, /* THIS INTERFACE IS DEPRECATED since 2018-01. Please use PARAM_EXT_XXX messages and the camera definition format described in https://mavlink.io/en/protocol/camera_def.html. |Modes: P, TV, AV, M, Etc| Shutter speed: Divisor number for one second| Aperture: F stop number| ISO number e.g. 80, 100, 200, Etc| Exposure type enumerator| Command Identity| Main engine cut-off time before camera trigger in seconds/10 (0 means no cut-off)| */
MAV_CMD_DO_DIGICAM_CONTROL=203, /* THIS INTERFACE IS DEPRECATED since 2018-01. Please use PARAM_EXT_XXX messages and the camera definition format described in https://mavlink.io/en/protocol/camera_def.html. |Session control e.g. show/hide lens| Zoom's absolute position| Zooming step value to offset zoom from the current position| Focus Locking, Unlocking or Re-locking| Shooting Command| Command Identity| Test shot identifier. If set to 1, image will only be captured, but not counted towards internal frame count.| */
MAV_CMD_DO_MOUNT_CONFIGURE=204, /* Mission command to configure a camera or antenna mount |Mount operation mode (see MAV_MOUNT_MODE enum)| stabilize roll? (1 = yes, 0 = no)| stabilize pitch? (1 = yes, 0 = no)| stabilize yaw? (1 = yes, 0 = no)| roll input (0 = angle body frame, 1 = angular rate, 2 = angle absolute frame)| pitch input (0 = angle body frame, 1 = angular rate, 2 = angle absolute frame)| yaw input (0 = angle body frame, 1 = angular rate, 2 = angle absolute frame)| */
......
......@@ -5,14 +5,14 @@
MAVPACKED(
typedef struct __mavlink_asl_obctrl_t {
uint64_t timestamp; /*< Time since system start*/
float uElev; /*< Elevator command [~]*/
float uThrot; /*< Throttle command [~]*/
float uThrot2; /*< Throttle 2 command [~]*/
float uAilL; /*< Left aileron command [~]*/
float uAilR; /*< Right aileron command [~]*/
float uRud; /*< Rudder command [~]*/
uint8_t obctrl_status; /*< Off-board computer status*/
uint64_t timestamp; /*< [us] Time since system start*/
float uElev; /*< Elevator command [~]*/
float uThrot; /*< Throttle command [~]*/
float uThrot2; /*< Throttle 2 command [~]*/
float uAilL; /*< Left aileron command [~]*/
float uAilR; /*< Right aileron command [~]*/
float uRud; /*< Rudder command [~]*/
uint8_t obctrl_status; /*< Off-board computer status*/
}) mavlink_asl_obctrl_t;
#define MAVLINK_MSG_ID_ASL_OBCTRL_LEN 33
......@@ -62,14 +62,14 @@ typedef struct __mavlink_asl_obctrl_t {
* @param component_id ID of this component (e.g. 200 for IMU)
* @param msg The MAVLink message to compress the data into
*
* @param timestamp Time since system start
* @param uElev Elevator command [~]
* @param uThrot Throttle command [~]
* @param uThrot2 Throttle 2 command [~]
* @param uAilL Left aileron command [~]
* @param uAilR Right aileron command [~]
* @param uRud Rudder command [~]
* @param obctrl_status Off-board computer status
* @param timestamp [us] Time since system start
* @param uElev Elevator command [~]
* @param uThrot Throttle command [~]
* @param uThrot2 Throttle 2 command [~]
* @param uAilL Left aileron command [~]
* @param uAilR Right aileron command [~]
* @param uRud Rudder command [~]
* @param obctrl_status Off-board computer status
* @return length of the message in bytes (excluding serial stream start sign)
*/
static inline uint16_t mavlink_msg_asl_obctrl_pack(uint8_t system_id, uint8_t component_id, mavlink_message_t* msg,
......@@ -111,14 +111,14 @@ static inline uint16_t mavlink_msg_asl_obctrl_pack(uint8_t system_id, uint8_t co
* @param component_id ID of this component (e.g. 200 for IMU)
* @param chan The MAVLink channel this message will be sent over
* @param msg The MAVLink message to compress the data into
* @param timestamp Time since system start
* @param uElev Elevator command [~]
* @param uThrot Throttle command [~]
* @param uThrot2 Throttle 2 command [~]
* @param uAilL Left aileron command [~]
* @param uAilR Right aileron command [~]
* @param uRud Rudder command [~]
* @param obctrl_status Off-board computer status
* @param timestamp [us] Time since system start
* @param uElev Elevator command [~]
* @param uThrot Throttle command [~]
* @param uThrot2 Throttle 2 command [~]
* @param uAilL Left aileron command [~]
* @param uAilR Right aileron command [~]
* @param uRud Rudder command [~]
* @param obctrl_status Off-board computer status
* @return length of the message in bytes (excluding serial stream start sign)
*/
static inline uint16_t mavlink_msg_asl_obctrl_pack_chan(uint8_t system_id, uint8_t component_id, uint8_t chan,
......@@ -186,14 +186,14 @@ static inline uint16_t mavlink_msg_asl_obctrl_encode_chan(uint8_t system_id, uin
* @brief Send a asl_obctrl message
* @param chan MAVLink channel to send the message
*
* @param timestamp Time since system start
* @param uElev Elevator command [~]
* @param uThrot Throttle command [~]
* @param uThrot2 Throttle 2 command [~]
* @param uAilL Left aileron command [~]
* @param uAilR Right aileron command [~]
* @param uRud Rudder command [~]
* @param obctrl_status Off-board computer status
* @param timestamp [us] Time since system start
* @param uElev Elevator command [~]
* @param uThrot Throttle command [~]
* @param uThrot2 Throttle 2 command [~]
* @param uAilL Left aileron command [~]
* @param uAilR Right aileron command [~]
* @param uRud Rudder command [~]
* @param obctrl_status Off-board computer status
*/
#ifdef MAVLINK_USE_CONVENIENCE_FUNCTIONS
......@@ -286,7 +286,7 @@ static inline void mavlink_msg_asl_obctrl_send_buf(mavlink_message_t *msgbuf, ma
/**
* @brief Get field timestamp from asl_obctrl message
*
* @return Time since system start
* @return [us] Time since system start
*/
static inline uint64_t mavlink_msg_asl_obctrl_get_timestamp(const mavlink_message_t* msg)
{
......@@ -296,7 +296,7 @@ static inline uint64_t mavlink_msg_asl_obctrl_get_timestamp(const mavlink_messag
/**
* @brief Get field uElev from asl_obctrl message
*
* @return Elevator command [~]
* @return Elevator command [~]
*/
static inline float mavlink_msg_asl_obctrl_get_uElev(const mavlink_message_t* msg)
{
......@@ -306,7 +306,7 @@ static inline float mavlink_msg_asl_obctrl_get_uElev(const mavlink_message_t* ms
/**
* @brief Get field uThrot from asl_obctrl message
*
* @return Throttle command [~]
* @return Throttle command [~]
*/
static inline float mavlink_msg_asl_obctrl_get_uThrot(const mavlink_message_t* msg)
{
......@@ -316,7 +316,7 @@ static inline float mavlink_msg_asl_obctrl_get_uThrot(const mavlink_message_t* m
/**
* @brief Get field uThrot2 from asl_obctrl message
*
* @return Throttle 2 command [~]
* @return Throttle 2 command [~]
*/
static inline float mavlink_msg_asl_obctrl_get_uThrot2(const mavlink_message_t* msg)
{
......@@ -326,7 +326,7 @@ static inline float mavlink_msg_asl_obctrl_get_uThrot2(const mavlink_message_t*
/**
* @brief Get field uAilL from asl_obctrl message
*
* @return Left aileron command [~]
* @return Left aileron command [~]
*/
static inline float mavlink_msg_asl_obctrl_get_uAilL(const mavlink_message_t* msg)
{
......@@ -336,7 +336,7 @@ static inline float mavlink_msg_asl_obctrl_get_uAilL(const mavlink_message_t* ms
/**
* @brief Get field uAilR from asl_obctrl message
*
* @return Right aileron command [~]
* @return Right aileron command [~]
*/
static inline float mavlink_msg_asl_obctrl_get_uAilR(const mavlink_message_t* msg)
{
......@@ -346,7 +346,7 @@ static inline float mavlink_msg_asl_obctrl_get_uAilR(const mavlink_message_t* ms
/**
* @brief Get field uRud from asl_obctrl message
*
* @return Rudder command [~]
* @return Rudder command [~]
*/
static inline float mavlink_msg_asl_obctrl_get_uRud(const mavlink_message_t* msg)
{
......@@ -356,7 +356,7 @@ static inline float mavlink_msg_asl_obctrl_get_uRud(const mavlink_message_t* msg
/**
* @brief Get field obctrl_status from asl_obctrl message
*
* @return Off-board computer status
* @return Off-board computer status
*/
static inline uint8_t mavlink_msg_asl_obctrl_get_obctrl_status(const mavlink_message_t* msg)
{
......
This diff is collapsed.
......@@ -5,17 +5,17 @@
MAVPACKED(
typedef struct __mavlink_aslctrl_debug_t {
uint32_t i32_1; /*< Debug data*/
float f_1; /*< Debug data */
float f_2; /*< Debug data*/
float f_3; /*< Debug data*/
float f_4; /*< Debug data*/
float f_5; /*< Debug data*/
float f_6; /*< Debug data*/
float f_7; /*< Debug data*/
float f_8; /*< Debug data*/
uint8_t i8_1; /*< Debug data*/
uint8_t i8_2; /*< Debug data*/
uint32_t i32_1; /*< Debug data*/
float f_1; /*< Debug data */
float f_2; /*< Debug data*/
float f_3; /*< Debug data*/
float f_4; /*< Debug data*/
float f_5; /*< Debug data*/
float f_6; /*< Debug data*/
float f_7; /*< Debug data*/
float f_8; /*< Debug data*/
uint8_t i8_1; /*< Debug data*/
uint8_t i8_2; /*< Debug data*/
}) mavlink_aslctrl_debug_t;
#define MAVLINK_MSG_ID_ASLCTRL_DEBUG_LEN 38
......@@ -71,17 +71,17 @@ typedef struct __mavlink_aslctrl_debug_t {
* @param component_id ID of this component (e.g. 200 for IMU)
* @param msg The MAVLink message to compress the data into
*
* @param i32_1 Debug data
* @param i8_1 Debug data
* @param i8_2 Debug data
* @param f_1 Debug data
* @param f_2 Debug data
* @param f_3 Debug data
* @param f_4 Debug data
* @param f_5 Debug data
* @param f_6 Debug data
* @param f_7 Debug data
* @param f_8 Debug data
* @param i32_1 Debug data
* @param i8_1 Debug data
* @param i8_2 Debug data
* @param f_1 Debug data
* @param f_2 Debug data
* @param f_3 Debug data
* @param f_4 Debug data
* @param f_5 Debug data
* @param f_6 Debug data
* @param f_7 Debug data
* @param f_8 Debug data
* @return length of the message in bytes (excluding serial stream start sign)
*/
static inline uint16_t mavlink_msg_aslctrl_debug_pack(uint8_t system_id, uint8_t component_id, mavlink_message_t* msg,
......@@ -129,17 +129,17 @@ static inline uint16_t mavlink_msg_aslctrl_debug_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 i32_1 Debug data
* @param i8_1 Debug data
* @param i8_2 Debug data
* @param f_1 Debug data
* @param f_2 Debug data
* @param f_3 Debug data
* @param f_4 Debug data
* @param f_5 Debug data
* @param f_6 Debug data
* @param f_7 Debug data
* @param f_8 Debug data
* @param i32_1 Debug data
* @param i8_1 Debug data
* @param i8_2 Debug data
* @param f_1 Debug data
* @param f_2 Debug data
* @param f_3 Debug data
* @param f_4 Debug data
* @param f_5 Debug data
* @param f_6 Debug data
* @param f_7 Debug data
* @param f_8 Debug data
* @return length of the message in bytes (excluding serial stream start sign)
*/
static inline uint16_t mavlink_msg_aslctrl_debug_pack_chan(uint8_t system_id, uint8_t component_id, uint8_t chan,
......@@ -213,17 +213,17 @@ static inline uint16_t mavlink_msg_aslctrl_debug_encode_chan(uint8_t system_id,
* @brief Send a aslctrl_debug message
* @param chan MAVLink channel to send the message
*
* @param i32_1 Debug data
* @param i8_1 Debug data
* @param i8_2 Debug data
* @param f_1 Debug data
* @param f_2 Debug data
* @param f_3 Debug data
* @param f_4 Debug data
* @param f_5 Debug data
* @param f_6 Debug data
* @param f_7 Debug data
* @param f_8 Debug data
* @param i32_1 Debug data
* @param i8_1 Debug data
* @param i8_2 Debug data
* @param f_1 Debug data
* @param f_2 Debug data
* @param f_3 Debug data
* @param f_4 Debug data
* @param f_5 Debug data
* @param f_6 Debug data
* @param f_7 Debug data
* @param f_8 Debug data
*/
#ifdef MAVLINK_USE_CONVENIENCE_FUNCTIONS
......@@ -328,7 +328,7 @@ static inline void mavlink_msg_aslctrl_debug_send_buf(mavlink_message_t *msgbuf,
/**
* @brief Get field i32_1 from aslctrl_debug message
*
* @return Debug data
* @return Debug data
*/
static inline uint32_t mavlink_msg_aslctrl_debug_get_i32_1(const mavlink_message_t* msg)
{
......@@ -338,7 +338,7 @@ static inline uint32_t mavlink_msg_aslctrl_debug_get_i32_1(const mavlink_message
/**
* @brief Get field i8_1 from aslctrl_debug message
*
* @return Debug data
* @return Debug data
*/
static inline uint8_t mavlink_msg_aslctrl_debug_get_i8_1(const mavlink_message_t* msg)
{
......@@ -348,7 +348,7 @@ static inline uint8_t mavlink_msg_aslctrl_debug_get_i8_1(const mavlink_message_t
/**
* @brief Get field i8_2 from aslctrl_debug message
*
* @return Debug data
* @return Debug data
*/
static inline uint8_t mavlink_msg_aslctrl_debug_get_i8_2(const mavlink_message_t* msg)
{
......@@ -358,7 +358,7 @@ static inline uint8_t mavlink_msg_aslctrl_debug_get_i8_2(const mavlink_message_t
/**
* @brief Get field f_1 from aslctrl_debug message
*
* @return Debug data
* @return Debug data
*/
static inline float mavlink_msg_aslctrl_debug_get_f_1(const mavlink_message_t* msg)
{
......@@ -368,7 +368,7 @@ static inline float mavlink_msg_aslctrl_debug_get_f_1(const mavlink_message_t* m
/**
* @brief Get field f_2 from aslctrl_debug message
*
* @return Debug data
* @return Debug data
*/
static inline float mavlink_msg_aslctrl_debug_get_f_2(const mavlink_message_t* msg)
{
......@@ -378,7 +378,7 @@ static inline float mavlink_msg_aslctrl_debug_get_f_2(const mavlink_message_t* m
/**
* @brief Get field f_3 from aslctrl_debug message
*
* @return Debug data
* @return Debug data
*/
static inline float mavlink_msg_aslctrl_debug_get_f_3(const mavlink_message_t* msg)
{
......@@ -388,7 +388,7 @@ static inline float mavlink_msg_aslctrl_debug_get_f_3(const mavlink_message_t* m
/**
* @brief Get field f_4 from aslctrl_debug message
*
* @return Debug data
* @return Debug data
*/
static inline float mavlink_msg_aslctrl_debug_get_f_4(const mavlink_message_t* msg)
{
......@@ -398,7 +398,7 @@ static inline float mavlink_msg_aslctrl_debug_get_f_4(const mavlink_message_t* m
/**
* @brief Get field f_5 from aslctrl_debug message
*
* @return Debug data
* @return Debug data
*/
static inline float mavlink_msg_aslctrl_debug_get_f_5(const mavlink_message_t* msg)
{
......@@ -408,7 +408,7 @@ static inline float mavlink_msg_aslctrl_debug_get_f_5(const mavlink_message_t* m
/**
* @brief Get field f_6 from aslctrl_debug message
*
* @return Debug data
* @return Debug data
*/
static inline float mavlink_msg_aslctrl_debug_get_f_6(const mavlink_message_t* msg)
{
......@@ -418,7 +418,7 @@ static inline float mavlink_msg_aslctrl_debug_get_f_6(const mavlink_message_t* m
/**
* @brief Get field f_7 from aslctrl_debug message
*
* @return Debug data
* @return Debug data
*/
static inline float mavlink_msg_aslctrl_debug_get_f_7(const mavlink_message_t* msg)
{
......@@ -428,7 +428,7 @@ static inline float mavlink_msg_aslctrl_debug_get_f_7(const mavlink_message_t* m
/**
* @brief Get field f_8 from aslctrl_debug message
*
* @return Debug data
* @return Debug data
*/
static inline float mavlink_msg_aslctrl_debug_get_f_8(const mavlink_message_t* msg)
{
......
......@@ -5,10 +5,10 @@
MAVPACKED(
typedef struct __mavlink_asluav_status_t {
float Motor_rpm; /*< Motor RPM */
uint8_t LED_status; /*< Status of the position-indicator LEDs*/
uint8_t SATCOM_status; /*< Status of the IRIDIUM satellite communication system*/
uint8_t Servo_status[8]; /*< Status vector for up to 8 servos*/
float Motor_rpm; /*< Motor RPM */
uint8_t LED_status; /*< Status of the position-indicator LEDs*/
uint8_t SATCOM_status; /*< Status of the IRIDIUM satellite communication system*/
uint8_t Servo_status[8]; /*< Status vector for up to 8 servos*/
}) mavlink_asluav_status_t;
#define MAVLINK_MSG_ID_ASLUAV_STATUS_LEN 14
......@@ -50,10 +50,10 @@ typedef struct __mavlink_asluav_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 LED_status Status of the position-indicator LEDs
* @param SATCOM_status Status of the IRIDIUM satellite communication system
* @param Servo_status Status vector for up to 8 servos
* @param Motor_rpm Motor RPM
* @param LED_status Status of the position-indicator LEDs
* @param SATCOM_status Status of the IRIDIUM satellite communication system
* @param Servo_status Status vector for up to 8 servos
* @param Motor_rpm Motor RPM
* @return length of the message in bytes (excluding serial stream start sign)
*/
static inline uint16_t mavlink_msg_asluav_status_pack(uint8_t system_id, uint8_t component_id, mavlink_message_t* msg,
......@@ -85,10 +85,10 @@ static inline uint16_t mavlink_msg_asluav_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 LED_status Status of the position-indicator LEDs
* @param SATCOM_status Status of the IRIDIUM satellite communication system
* @param Servo_status Status vector for up to 8 servos
* @param Motor_rpm Motor RPM
* @param LED_status Status of the position-indicator LEDs
* @param SATCOM_status Status of the IRIDIUM satellite communication system
* @param Servo_status Status vector for up to 8 servos
* @param Motor_rpm Motor RPM
* @return length of the message in bytes (excluding serial stream start sign)
*/
static inline uint16_t mavlink_msg_asluav_status_pack_chan(uint8_t system_id, uint8_t component_id, uint8_t chan,
......@@ -146,10 +146,10 @@ static inline uint16_t mavlink_msg_asluav_status_encode_chan(uint8_t system_id,
* @brief Send a asluav_status message
* @param chan MAVLink channel to send the message
*
* @param LED_status Status of the position-indicator LEDs
* @param SATCOM_status Status of the IRIDIUM satellite communication system
* @param Servo_status Status vector for up to 8 servos
* @param Motor_rpm Motor RPM
* @param LED_status Status of the position-indicator LEDs
* @param SATCOM_status Status of the IRIDIUM satellite communication system
* @param Servo_status Status vector for up to 8 servos
* @param Motor_rpm Motor RPM
*/
#ifdef MAVLINK_USE_CONVENIENCE_FUNCTIONS
......@@ -222,7 +222,7 @@ static inline void mavlink_msg_asluav_status_send_buf(mavlink_message_t *msgbuf,
/**
* @brief Get field LED_status from asluav_status message
*
* @return Status of the position-indicator LEDs
* @return Status of the position-indicator LEDs
*/
static inline uint8_t mavlink_msg_asluav_status_get_LED_status(const mavlink_message_t* msg)
{
......@@ -232,7 +232,7 @@ static inline uint8_t mavlink_msg_asluav_status_get_LED_status(const mavlink_mes
/**
* @brief Get field SATCOM_status from asluav_status message
*
* @return Status of the IRIDIUM satellite communication system
* @return Status of the IRIDIUM satellite communication system
*/
static inline uint8_t mavlink_msg_asluav_status_get_SATCOM_status(const mavlink_message_t* msg)
{
......@@ -242,7 +242,7 @@ static inline uint8_t mavlink_msg_asluav_status_get_SATCOM_status(const mavlink_
/**
* @brief Get field Servo_status from asluav_status message
*
* @return Status vector for up to 8 servos
* @return Status vector for up to 8 servos
*/
static inline uint16_t mavlink_msg_asluav_status_get_Servo_status(const mavlink_message_t* msg, uint8_t *Servo_status)
{
......@@ -252,7 +252,7 @@ static inline uint16_t mavlink_msg_asluav_status_get_Servo_status(const mavlink_
/**
* @brief Get field Motor_rpm from asluav_status message
*
* @return Motor RPM
* @return Motor RPM
*/
static inline float mavlink_msg_asluav_status_get_Motor_rpm(const mavlink_message_t* msg)
{
......
This diff is collapsed.
This diff is collapsed.
......@@ -5,13 +5,13 @@
MAVPACKED(
typedef struct __mavlink_ekf_ext_t {
uint64_t timestamp; /*< Time since system start*/
float Windspeed; /*< Magnitude of wind velocity (in lateral inertial plane)*/
float WindDir; /*< Wind heading angle from North*/
float WindZ; /*< Z (Down) component of inertial wind velocity*/
float Airspeed; /*< Magnitude of air velocity*/
float beta; /*< Sideslip angle*/
float alpha; /*< Angle of attack*/
uint64_t timestamp; /*< [us] Time since system start*/
float Windspeed; /*< [m/s] Magnitude of wind velocity (in lateral inertial plane)*/
float WindDir; /*< [rad] Wind heading angle from North*/
float WindZ; /*< [m/s] Z (Down) component of inertial wind velocity*/
float Airspeed; /*< [m/s] Magnitude of air velocity*/
float beta; /*< [rad] Sideslip angle*/
float alpha; /*< [rad] Angle of attack*/
}) mavlink_ekf_ext_t;
#define MAVLINK_MSG_ID_EKF_EXT_LEN 32
......@@ -59,13 +59,13 @@ typedef struct __mavlink_ekf_ext_t {
* @param component_id ID of this component (e.g. 200 for IMU)
* @param msg The MAVLink message to compress the data into
*
* @param timestamp Time since system start
* @param Windspeed Magnitude of wind velocity (in lateral inertial plane)
* @param WindDir Wind heading angle from North
* @param WindZ Z (Down) component of inertial wind velocity
* @param Airspeed Magnitude of air velocity
* @param beta Sideslip angle
* @param alpha Angle of attack
* @param timestamp [us] Time since system start
* @param Windspeed [m/s] Magnitude of wind velocity (in lateral inertial plane)
* @param WindDir [rad] Wind heading angle from North
* @param WindZ [m/s] Z (Down) component of inertial wind velocity
* @param Airspeed [m/s] Magnitude of air velocity
* @param beta [rad] Sideslip angle
* @param alpha [rad] Angle of attack
* @return length of the message in bytes (excluding serial stream start sign)
*/
static inline uint16_t mavlink_msg_ekf_ext_pack(uint8_t system_id, uint8_t component_id, mavlink_message_t* msg,
......@@ -105,13 +105,13 @@ static inline uint16_t mavlink_msg_ekf_ext_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 timestamp Time since system start
* @param Windspeed Magnitude of wind velocity (in lateral inertial plane)
* @param WindDir Wind heading angle from North
* @param WindZ Z (Down) component of inertial wind velocity
* @param Airspeed Magnitude of air velocity
* @param beta Sideslip angle
* @param alpha Angle of attack
* @param timestamp [us] Time since system start
* @param Windspeed [m/s] Magnitude of wind velocity (in lateral inertial plane)
* @param WindDir [rad] Wind heading angle from North
* @param WindZ [m/s] Z (Down) component of inertial wind velocity
* @param Airspeed [m/s] Magnitude of air velocity
* @param beta [rad] Sideslip angle
* @param alpha [rad] Angle of attack
* @return length of the message in bytes (excluding serial stream start sign)
*/
static inline uint16_t mavlink_msg_ekf_ext_pack_chan(uint8_t system_id, uint8_t component_id, uint8_t chan,
......@@ -177,13 +177,13 @@ static inline uint16_t mavlink_msg_ekf_ext_encode_chan(uint8_t system_id, uint8_
* @brief Send a ekf_ext message
* @param chan MAVLink channel to send the message
*
* @param timestamp Time since system start
* @param Windspeed Magnitude of wind velocity (in lateral inertial plane)
* @param WindDir Wind heading angle from North
* @param WindZ Z (Down) component of inertial wind velocity
* @param Airspeed Magnitude of air velocity
* @param beta Sideslip angle
* @param alpha Angle of attack
* @param timestamp [us] Time since system start
* @param Windspeed [m/s] Magnitude of wind velocity (in lateral inertial plane)
* @param WindDir [rad] Wind heading angle from North
* @param WindZ [m/s] Z (Down) component of inertial wind velocity
* @param Airspeed [m/s] Magnitude of air velocity
* @param beta [rad] Sideslip angle
* @param alpha [rad] Angle of attack
*/
#ifdef MAVLINK_USE_CONVENIENCE_FUNCTIONS
......@@ -272,7 +272,7 @@ static inline void mavlink_msg_ekf_ext_send_buf(mavlink_message_t *msgbuf, mavli
/**
* @brief Get field timestamp from ekf_ext message
*
* @return Time since system start
* @return [us] Time since system start
*/
static inline uint64_t mavlink_msg_ekf_ext_get_timestamp(const mavlink_message_t* msg)
{
......@@ -282,7 +282,7 @@ static inline uint64_t mavlink_msg_ekf_ext_get_timestamp(const mavlink_message_t
/**
* @brief Get field Windspeed from ekf_ext message
*
* @return Magnitude of wind velocity (in lateral inertial plane)
* @return [m/s] Magnitude of wind velocity (in lateral inertial plane)
*/
static inline float mavlink_msg_ekf_ext_get_Windspeed(const mavlink_message_t* msg)
{
......@@ -292,7 +292,7 @@ static inline float mavlink_msg_ekf_ext_get_Windspeed(const mavlink_message_t* m
/**
* @brief Get field WindDir from ekf_ext message
*
* @return Wind heading angle from North
* @return [rad] Wind heading angle from North
*/
static inline float mavlink_msg_ekf_ext_get_WindDir(const mavlink_message_t* msg)
{
......@@ -302,7 +302,7 @@ static inline float mavlink_msg_ekf_ext_get_WindDir(const mavlink_message_t* msg
/**
* @brief Get field WindZ from ekf_ext message
*
* @return Z (Down) component of inertial wind velocity
* @return [m/s] Z (Down) component of inertial wind velocity
*/
static inline float mavlink_msg_ekf_ext_get_WindZ(const mavlink_message_t* msg)
{
......@@ -312,7 +312,7 @@ static inline float mavlink_msg_ekf_ext_get_WindZ(const mavlink_message_t* msg)
/**
* @brief Get field Airspeed from ekf_ext message
*
* @return Magnitude of air velocity
* @return [m/s] Magnitude of air velocity
*/
static inline float mavlink_msg_ekf_ext_get_Airspeed(const mavlink_message_t* msg)
{
......@@ -322,7 +322,7 @@ static inline float mavlink_msg_ekf_ext_get_Airspeed(const mavlink_message_t* ms
/**
* @brief Get field beta from ekf_ext message
*
* @return Sideslip angle
* @return [rad] Sideslip angle
*/
static inline float mavlink_msg_ekf_ext_get_beta(const mavlink_message_t* msg)
{
......@@ -332,7 +332,7 @@ static inline float mavlink_msg_ekf_ext_get_beta(const mavlink_message_t* msg)
/**
* @brief Get field alpha from ekf_ext message
*
* @return Angle of attack
* @return [rad] Angle of attack
*/
static inline float mavlink_msg_ekf_ext_get_alpha(const mavlink_message_t* msg)
{
......
This diff is collapsed.
......@@ -5,8 +5,8 @@
MAVPACKED(
typedef struct __mavlink_sens_atmos_t {
float TempAmbient; /*< Ambient temperature*/
float Humidity; /*< Relative humidity*/
float TempAmbient; /*< [degC] Ambient temperature*/
float Humidity; /*< [%] Relative humidity*/
}) mavlink_sens_atmos_t;
#define MAVLINK_MSG_ID_SENS_ATMOS_LEN 8
......@@ -44,8 +44,8 @@ typedef struct __mavlink_sens_atmos_t {
* @param component_id ID of this component (e.g. 200 for IMU)
* @param msg The MAVLink message to compress the data into
*
* @param TempAmbient Ambient temperature
* @param Humidity Relative humidity
* @param TempAmbient [degC] Ambient temperature
* @param Humidity [%] Relative humidity
* @return length of the message in bytes (excluding serial stream start sign)
*/
static inline uint16_t mavlink_msg_sens_atmos_pack(uint8_t system_id, uint8_t component_id, mavlink_message_t* msg,
......@@ -75,8 +75,8 @@ static inline uint16_t mavlink_msg_sens_atmos_pack(uint8_t system_id, uint8_t co
* @param component_id ID of this component (e.g. 200 for IMU)
* @param chan The MAVLink channel this message will be sent over
* @param msg The MAVLink message to compress the data into
* @param TempAmbient Ambient temperature
* @param Humidity Relative humidity
* @param TempAmbient [degC] Ambient temperature
* @param Humidity [%] Relative humidity
* @return length of the message in bytes (excluding serial stream start sign)
*/
static inline uint16_t mavlink_msg_sens_atmos_pack_chan(uint8_t system_id, uint8_t component_id, uint8_t chan,
......@@ -132,8 +132,8 @@ static inline uint16_t mavlink_msg_sens_atmos_encode_chan(uint8_t system_id, uin
* @brief Send a sens_atmos message
* @param chan MAVLink channel to send the message
*
* @param TempAmbient Ambient temperature
* @param Humidity Relative humidity
* @param TempAmbient [degC] Ambient temperature
* @param Humidity [%] Relative humidity
*/
#ifdef MAVLINK_USE_CONVENIENCE_FUNCTIONS
......@@ -202,7 +202,7 @@ static inline void mavlink_msg_sens_atmos_send_buf(mavlink_message_t *msgbuf, ma
/**
* @brief Get field TempAmbient from sens_atmos message
*
* @return Ambient temperature
* @return [degC] Ambient temperature
*/
static inline float mavlink_msg_sens_atmos_get_TempAmbient(const mavlink_message_t* msg)
{
......@@ -212,7 +212,7 @@ static inline float mavlink_msg_sens_atmos_get_TempAmbient(const mavlink_message
/**
* @brief Get field Humidity from sens_atmos message
*
* @return Relative humidity
* @return [%] Relative humidity
*/
static inline float mavlink_msg_sens_atmos_get_Humidity(const mavlink_message_t* msg)
{
......
This diff is collapsed.
......@@ -5,19 +5,19 @@
MAVPACKED(
typedef struct __mavlink_sens_mppt_t {
uint64_t mppt_timestamp; /*< MPPT last timestamp */
float mppt1_volt; /*< MPPT1 voltage */
float mppt1_amp; /*< MPPT1 current */
float mppt2_volt; /*< MPPT2 voltage */
float mppt2_amp; /*< MPPT2 current */
float mppt3_volt; /*< MPPT3 voltage */
float mppt3_amp; /*< MPPT3 current */
uint16_t mppt1_pwm; /*< MPPT1 pwm */
uint16_t mppt2_pwm; /*< MPPT2 pwm */
uint16_t mppt3_pwm; /*< MPPT3 pwm */
uint8_t mppt1_status; /*< MPPT1 status */
uint8_t mppt2_status; /*< MPPT2 status */
uint8_t mppt3_status; /*< MPPT3 status */
uint64_t mppt_timestamp; /*< [us] MPPT last timestamp */
float mppt1_volt; /*< [V] MPPT1 voltage */
float mppt1_amp; /*< [A] MPPT1 current */
float mppt2_volt; /*< [V] MPPT2 voltage */
float mppt2_amp; /*< [A] MPPT2 current */
float mppt3_volt; /*< [V] MPPT3 voltage */
float mppt3_amp; /*< [A] MPPT3 current */
uint16_t mppt1_pwm; /*< [us] MPPT1 pwm */
uint16_t mppt2_pwm; /*< [us] MPPT2 pwm */
uint16_t mppt3_pwm; /*< [us] MPPT3 pwm */
uint8_t mppt1_status; /*< MPPT1 status */
uint8_t mppt2_status; /*< MPPT2 status */
uint8_t mppt3_status; /*< MPPT3 status */
}) mavlink_sens_mppt_t;
#define MAVLINK_MSG_ID_SENS_MPPT_LEN 41
......@@ -77,19 +77,19 @@ typedef struct __mavlink_sens_mppt_t {
* @param component_id ID of this component (e.g. 200 for IMU)
* @param msg The MAVLink message to compress the data into
*
* @param mppt_timestamp MPPT last timestamp
* @param mppt1_volt MPPT1 voltage
* @param mppt1_amp MPPT1 current
* @param mppt1_pwm MPPT1 pwm
* @param mppt1_status MPPT1 status
* @param mppt2_volt MPPT2 voltage
* @param mppt2_amp MPPT2 current
* @param mppt2_pwm MPPT2 pwm
* @param mppt2_status MPPT2 status
* @param mppt3_volt MPPT3 voltage
* @param mppt3_amp MPPT3 current
* @param mppt3_pwm MPPT3 pwm
* @param mppt3_status MPPT3 status
* @param mppt_timestamp [us] MPPT last timestamp
* @param mppt1_volt [V] MPPT1 voltage
* @param mppt1_amp [A] MPPT1 current
* @param mppt1_pwm [us] MPPT1 pwm
* @param mppt1_status MPPT1 status
* @param mppt2_volt [V] MPPT2 voltage
* @param mppt2_amp [A] MPPT2 current
* @param mppt2_pwm [us] MPPT2 pwm
* @param mppt2_status MPPT2 status
* @param mppt3_volt [V] MPPT3 voltage
* @param mppt3_amp [A] MPPT3 current
* @param mppt3_pwm [us] MPPT3 pwm
* @param mppt3_status MPPT3 status
* @return length of the message in bytes (excluding serial stream start sign)
*/
static inline uint16_t mavlink_msg_sens_mppt_pack(uint8_t system_id, uint8_t component_id, mavlink_message_t* msg,
......@@ -141,19 +141,19 @@ static inline uint16_t mavlink_msg_sens_mppt_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 mppt_timestamp MPPT last timestamp
* @param mppt1_volt MPPT1 voltage
* @param mppt1_amp MPPT1 current
* @param mppt1_pwm MPPT1 pwm
* @param mppt1_status MPPT1 status
* @param mppt2_volt MPPT2 voltage
* @param mppt2_amp MPPT2 current
* @param mppt2_pwm MPPT2 pwm
* @param mppt2_status MPPT2 status
* @param mppt3_volt MPPT3 voltage
* @param mppt3_amp MPPT3 current
* @param mppt3_pwm MPPT3 pwm
* @param mppt3_status MPPT3 status
* @param mppt_timestamp [us] MPPT last timestamp
* @param mppt1_volt [V] MPPT1 voltage
* @param mppt1_amp [A] MPPT1 current
* @param mppt1_pwm [us] MPPT1 pwm
* @param mppt1_status MPPT1 status
* @param mppt2_volt [V] MPPT2 voltage
* @param mppt2_amp [A] MPPT2 current
* @param mppt2_pwm [us] MPPT2 pwm
* @param mppt2_status MPPT2 status
* @param mppt3_volt [V] MPPT3 voltage
* @param mppt3_amp [A] MPPT3 current
* @param mppt3_pwm [us] MPPT3 pwm
* @param mppt3_status MPPT3 status
* @return length of the message in bytes (excluding serial stream start sign)
*/
static inline uint16_t mavlink_msg_sens_mppt_pack_chan(uint8_t system_id, uint8_t component_id, uint8_t chan,
......@@ -231,19 +231,19 @@ static inline uint16_t mavlink_msg_sens_mppt_encode_chan(uint8_t system_id, uint
* @brief Send a sens_mppt message
* @param chan MAVLink channel to send the message
*
* @param mppt_timestamp MPPT last timestamp
* @param mppt1_volt MPPT1 voltage
* @param mppt1_amp MPPT1 current
* @param mppt1_pwm MPPT1 pwm
* @param mppt1_status MPPT1 status
* @param mppt2_volt MPPT2 voltage
* @param mppt2_amp MPPT2 current
* @param mppt2_pwm MPPT2 pwm
* @param mppt2_status MPPT2 status
* @param mppt3_volt MPPT3 voltage
* @param mppt3_amp MPPT3 current
* @param mppt3_pwm MPPT3 pwm
* @param mppt3_status MPPT3 status
* @param mppt_timestamp [us] MPPT last timestamp
* @param mppt1_volt [V] MPPT1 voltage
* @param mppt1_amp [A] MPPT1 current
* @param mppt1_pwm [us] MPPT1 pwm
* @param mppt1_status MPPT1 status
* @param mppt2_volt [V] MPPT2 voltage
* @param mppt2_amp [A] MPPT2 current
* @param mppt2_pwm [us] MPPT2 pwm
* @param mppt2_status MPPT2 status
* @param mppt3_volt [V] MPPT3 voltage
* @param mppt3_amp [A] MPPT3 current
* @param mppt3_pwm [us] MPPT3 pwm
* @param mppt3_status MPPT3 status
*/
#ifdef MAVLINK_USE_CONVENIENCE_FUNCTIONS
......@@ -356,7 +356,7 @@ static inline void mavlink_msg_sens_mppt_send_buf(mavlink_message_t *msgbuf, mav
/**
* @brief Get field mppt_timestamp from sens_mppt message
*
* @return MPPT last timestamp
* @return [us] MPPT last timestamp
*/
static inline uint64_t mavlink_msg_sens_mppt_get_mppt_timestamp(const mavlink_message_t* msg)
{
......@@ -366,7 +366,7 @@ static inline uint64_t mavlink_msg_sens_mppt_get_mppt_timestamp(const mavlink_me
/**
* @brief Get field mppt1_volt from sens_mppt message
*
* @return MPPT1 voltage
* @return [V] MPPT1 voltage
*/
static inline float mavlink_msg_sens_mppt_get_mppt1_volt(const mavlink_message_t* msg)
{
......@@ -376,7 +376,7 @@ static inline float mavlink_msg_sens_mppt_get_mppt1_volt(const mavlink_message_t
/**
* @brief Get field mppt1_amp from sens_mppt message
*
* @return MPPT1 current
* @return [A] MPPT1 current
*/
static inline float mavlink_msg_sens_mppt_get_mppt1_amp(const mavlink_message_t* msg)
{
......@@ -386,7 +386,7 @@ static inline float mavlink_msg_sens_mppt_get_mppt1_amp(const mavlink_message_t*
/**
* @brief Get field mppt1_pwm from sens_mppt message
*
* @return MPPT1 pwm
* @return [us] MPPT1 pwm
*/
static inline uint16_t mavlink_msg_sens_mppt_get_mppt1_pwm(const mavlink_message_t* msg)
{
......@@ -396,7 +396,7 @@ static inline uint16_t mavlink_msg_sens_mppt_get_mppt1_pwm(const mavlink_message
/**
* @brief Get field mppt1_status from sens_mppt message
*
* @return MPPT1 status
* @return MPPT1 status
*/
static inline uint8_t mavlink_msg_sens_mppt_get_mppt1_status(const mavlink_message_t* msg)
{
......@@ -406,7 +406,7 @@ static inline uint8_t mavlink_msg_sens_mppt_get_mppt1_status(const mavlink_messa
/**
* @brief Get field mppt2_volt from sens_mppt message
*
* @return MPPT2 voltage
* @return [V] MPPT2 voltage
*/
static inline float mavlink_msg_sens_mppt_get_mppt2_volt(const mavlink_message_t* msg)
{
......@@ -416,7 +416,7 @@ static inline float mavlink_msg_sens_mppt_get_mppt2_volt(const mavlink_message_t
/**
* @brief Get field mppt2_amp from sens_mppt message
*
* @return MPPT2 current
* @return [A] MPPT2 current
*/
static inline float mavlink_msg_sens_mppt_get_mppt2_amp(const mavlink_message_t* msg)
{
......@@ -426,7 +426,7 @@ static inline float mavlink_msg_sens_mppt_get_mppt2_amp(const mavlink_message_t*
/**
* @brief Get field mppt2_pwm from sens_mppt message
*
* @return MPPT2 pwm
* @return [us] MPPT2 pwm
*/
static inline uint16_t mavlink_msg_sens_mppt_get_mppt2_pwm(const mavlink_message_t* msg)
{
......@@ -436,7 +436,7 @@ static inline uint16_t mavlink_msg_sens_mppt_get_mppt2_pwm(const mavlink_message
/**
* @brief Get field mppt2_status from sens_mppt message
*
* @return MPPT2 status
* @return MPPT2 status
*/
static inline uint8_t mavlink_msg_sens_mppt_get_mppt2_status(const mavlink_message_t* msg)
{
......@@ -446,7 +446,7 @@ static inline uint8_t mavlink_msg_sens_mppt_get_mppt2_status(const mavlink_messa
/**
* @brief Get field mppt3_volt from sens_mppt message
*
* @return MPPT3 voltage
* @return [V] MPPT3 voltage
*/
static inline float mavlink_msg_sens_mppt_get_mppt3_volt(const mavlink_message_t* msg)
{
......@@ -456,7 +456,7 @@ static inline float mavlink_msg_sens_mppt_get_mppt3_volt(const mavlink_message_t
/**
* @brief Get field mppt3_amp from sens_mppt message
*
* @return MPPT3 current
* @return [A] MPPT3 current
*/
static inline float mavlink_msg_sens_mppt_get_mppt3_amp(const mavlink_message_t* msg)
{
......@@ -466,7 +466,7 @@ static inline float mavlink_msg_sens_mppt_get_mppt3_amp(const mavlink_message_t*
/**
* @brief Get field mppt3_pwm from sens_mppt message
*
* @return MPPT3 pwm
* @return [us] MPPT3 pwm
*/
static inline uint16_t mavlink_msg_sens_mppt_get_mppt3_pwm(const mavlink_message_t* msg)
{
......@@ -476,7 +476,7 @@ static inline uint16_t mavlink_msg_sens_mppt_get_mppt3_pwm(const mavlink_message
/**
* @brief Get field mppt3_status from sens_mppt message
*
* @return MPPT3 status
* @return MPPT3 status
*/
static inline uint8_t mavlink_msg_sens_mppt_get_mppt3_status(const mavlink_message_t* msg)
{
......
......@@ -5,10 +5,10 @@
MAVPACKED(
typedef struct __mavlink_sens_power_t {
float adc121_vspb_volt; /*< Power board voltage sensor reading*/
float adc121_cspb_amp; /*< Power board current sensor reading*/
float adc121_cs1_amp; /*< Board current sensor 1 reading*/
float adc121_cs2_amp; /*< Board current sensor 2 reading*/
float adc121_vspb_volt; /*< [V] Power board voltage sensor reading*/
float adc121_cspb_amp; /*< [A] Power board current sensor reading*/
float adc121_cs1_amp; /*< [A] Board current sensor 1 reading*/
float adc121_cs2_amp; /*< [A] Board current sensor 2 reading*/
}) mavlink_sens_power_t;
#define MAVLINK_MSG_ID_SENS_POWER_LEN 16
......@@ -50,10 +50,10 @@ typedef struct __mavlink_sens_power_t {
* @param component_id ID of this component (e.g. 200 for IMU)
* @param msg The MAVLink message to compress the data into
*
* @param adc121_vspb_volt Power board voltage sensor reading
* @param adc121_cspb_amp Power board current sensor reading
* @param adc121_cs1_amp Board current sensor 1 reading
* @param adc121_cs2_amp Board current sensor 2 reading
* @param adc121_vspb_volt [V] Power board voltage sensor reading
* @param adc121_cspb_amp [A] Power board current sensor reading
* @param adc121_cs1_amp [A] Board current sensor 1 reading
* @param adc121_cs2_amp [A] Board current sensor 2 reading
* @return length of the message in bytes (excluding serial stream start sign)
*/
static inline uint16_t mavlink_msg_sens_power_pack(uint8_t system_id, uint8_t component_id, mavlink_message_t* msg,
......@@ -87,10 +87,10 @@ static inline uint16_t mavlink_msg_sens_power_pack(uint8_t system_id, uint8_t co
* @param component_id ID of this component (e.g. 200 for IMU)
* @param chan The MAVLink channel this message will be sent over
* @param msg The MAVLink message to compress the data into
* @param adc121_vspb_volt Power board voltage sensor reading
* @param adc121_cspb_amp Power board current sensor reading
* @param adc121_cs1_amp Board current sensor 1 reading
* @param adc121_cs2_amp Board current sensor 2 reading
* @param adc121_vspb_volt [V] Power board voltage sensor reading
* @param adc121_cspb_amp [A] Power board current sensor reading
* @param adc121_cs1_amp [A] Board current sensor 1 reading
* @param adc121_cs2_amp [A] Board current sensor 2 reading
* @return length of the message in bytes (excluding serial stream start sign)
*/
static inline uint16_t mavlink_msg_sens_power_pack_chan(uint8_t system_id, uint8_t component_id, uint8_t chan,
......@@ -150,10 +150,10 @@ static inline uint16_t mavlink_msg_sens_power_encode_chan(uint8_t system_id, uin
* @brief Send a sens_power message
* @param chan MAVLink channel to send the message
*
* @param adc121_vspb_volt Power board voltage sensor reading
* @param adc121_cspb_amp Power board current sensor reading
* @param adc121_cs1_amp Board current sensor 1 reading
* @param adc121_cs2_amp Board current sensor 2 reading
* @param adc121_vspb_volt [V] Power board voltage sensor reading
* @param adc121_cspb_amp [A] Power board current sensor reading
* @param adc121_cs1_amp [A] Board current sensor 1 reading
* @param adc121_cs2_amp [A] Board current sensor 2 reading
*/
#ifdef MAVLINK_USE_CONVENIENCE_FUNCTIONS
......@@ -230,7 +230,7 @@ static inline void mavlink_msg_sens_power_send_buf(mavlink_message_t *msgbuf, ma
/**
* @brief Get field adc121_vspb_volt from sens_power message
*
* @return Power board voltage sensor reading
* @return [V] Power board voltage sensor reading
*/
static inline float mavlink_msg_sens_power_get_adc121_vspb_volt(const mavlink_message_t* msg)
{
......@@ -240,7 +240,7 @@ static inline float mavlink_msg_sens_power_get_adc121_vspb_volt(const mavlink_me
/**
* @brief Get field adc121_cspb_amp from sens_power message
*
* @return Power board current sensor reading
* @return [A] Power board current sensor reading
*/
static inline float mavlink_msg_sens_power_get_adc121_cspb_amp(const mavlink_message_t* msg)
{
......@@ -250,7 +250,7 @@ static inline float mavlink_msg_sens_power_get_adc121_cspb_amp(const mavlink_mes
/**
* @brief Get field adc121_cs1_amp from sens_power message
*
* @return Board current sensor 1 reading
* @return [A] Board current sensor 1 reading
*/
static inline float mavlink_msg_sens_power_get_adc121_cs1_amp(const mavlink_message_t* msg)
{
......@@ -260,7 +260,7 @@ static inline float mavlink_msg_sens_power_get_adc121_cs1_amp(const mavlink_mess
/**
* @brief Get field adc121_cs2_amp from sens_power message
*
* @return Board current sensor 2 reading
* @return [A] Board current sensor 2 reading
*/
static inline float mavlink_msg_sens_power_get_adc121_cs2_amp(const mavlink_message_t* msg)
{
......
This diff is collapsed.
......@@ -5,14 +5,14 @@
MAVPACKED(
typedef struct __mavlink_sensorpod_status_t {
uint64_t timestamp; /*< Timestamp in linuxtime (since 1.1.1970)*/
uint16_t free_space; /*< Free space available in recordings directory in [Gb] * 1e2*/
uint8_t visensor_rate_1; /*< Rate of ROS topic 1*/
uint8_t visensor_rate_2; /*< Rate of ROS topic 2*/
uint8_t visensor_rate_3; /*< Rate of ROS topic 3*/
uint8_t visensor_rate_4; /*< Rate of ROS topic 4*/
uint8_t recording_nodes_count; /*< Number of recording nodes*/
uint8_t cpu_temp; /*< Temperature of sensorpod CPU in*/
uint64_t timestamp; /*< [ms] Timestamp in linuxtime (since 1.1.1970)*/
uint16_t free_space; /*< Free space available in recordings directory in [Gb] * 1e2*/
uint8_t visensor_rate_1; /*< Rate of ROS topic 1*/
uint8_t visensor_rate_2; /*< Rate of ROS topic 2*/
uint8_t visensor_rate_3; /*< Rate of ROS topic 3*/
uint8_t visensor_rate_4; /*< Rate of ROS topic 4*/
uint8_t recording_nodes_count; /*< Number of recording nodes*/
uint8_t cpu_temp; /*< [degC] Temperature of sensorpod CPU in*/
}) mavlink_sensorpod_status_t;
#define MAVLINK_MSG_ID_SENSORPOD_STATUS_LEN 16
......@@ -62,14 +62,14 @@ typedef struct __mavlink_sensorpod_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 timestamp Timestamp in linuxtime (since 1.1.1970)
* @param visensor_rate_1 Rate of ROS topic 1
* @param visensor_rate_2 Rate of ROS topic 2
* @param visensor_rate_3 Rate of ROS topic 3
* @param visensor_rate_4 Rate of ROS topic 4
* @param recording_nodes_count Number of recording nodes
* @param cpu_temp Temperature of sensorpod CPU in
* @param free_space Free space available in recordings directory in [Gb] * 1e2
* @param timestamp [ms] Timestamp in linuxtime (since 1.1.1970)
* @param visensor_rate_1 Rate of ROS topic 1
* @param visensor_rate_2 Rate of ROS topic 2
* @param visensor_rate_3 Rate of ROS topic 3
* @param visensor_rate_4 Rate of ROS topic 4
* @param recording_nodes_count Number of recording nodes
* @param cpu_temp [degC] Temperature of sensorpod CPU in
* @param free_space Free space available in recordings directory in [Gb] * 1e2
* @return length of the message in bytes (excluding serial stream start sign)
*/
static inline uint16_t mavlink_msg_sensorpod_status_pack(uint8_t system_id, uint8_t component_id, mavlink_message_t* msg,
......@@ -111,14 +111,14 @@ static inline uint16_t mavlink_msg_sensorpod_status_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 timestamp Timestamp in linuxtime (since 1.1.1970)
* @param visensor_rate_1 Rate of ROS topic 1
* @param visensor_rate_2 Rate of ROS topic 2
* @param visensor_rate_3 Rate of ROS topic 3
* @param visensor_rate_4 Rate of ROS topic 4
* @param recording_nodes_count Number of recording nodes
* @param cpu_temp Temperature of sensorpod CPU in
* @param free_space Free space available in recordings directory in [Gb] * 1e2
* @param timestamp [ms] Timestamp in linuxtime (since 1.1.1970)
* @param visensor_rate_1 Rate of ROS topic 1
* @param visensor_rate_2 Rate of ROS topic 2
* @param visensor_rate_3 Rate of ROS topic 3
* @param visensor_rate_4 Rate of ROS topic 4
* @param recording_nodes_count Number of recording nodes
* @param cpu_temp [degC] Temperature of sensorpod CPU in
* @param free_space Free space available in recordings directory in [Gb] * 1e2
* @return length of the message in bytes (excluding serial stream start sign)
*/
static inline uint16_t mavlink_msg_sensorpod_status_pack_chan(uint8_t system_id, uint8_t component_id, uint8_t chan,
......@@ -186,14 +186,14 @@ static inline uint16_t mavlink_msg_sensorpod_status_encode_chan(uint8_t system_i
* @brief Send a sensorpod_status message
* @param chan MAVLink channel to send the message
*
* @param timestamp Timestamp in linuxtime (since 1.1.1970)
* @param visensor_rate_1 Rate of ROS topic 1
* @param visensor_rate_2 Rate of ROS topic 2
* @param visensor_rate_3 Rate of ROS topic 3
* @param visensor_rate_4 Rate of ROS topic 4
* @param recording_nodes_count Number of recording nodes
* @param cpu_temp Temperature of sensorpod CPU in
* @param free_space Free space available in recordings directory in [Gb] * 1e2
* @param timestamp [ms] Timestamp in linuxtime (since 1.1.1970)
* @param visensor_rate_1 Rate of ROS topic 1
* @param visensor_rate_2 Rate of ROS topic 2
* @param visensor_rate_3 Rate of ROS topic 3
* @param visensor_rate_4 Rate of ROS topic 4
* @param recording_nodes_count Number of recording nodes
* @param cpu_temp [degC] Temperature of sensorpod CPU in
* @param free_space Free space available in recordings directory in [Gb] * 1e2
*/
#ifdef MAVLINK_USE_CONVENIENCE_FUNCTIONS
......@@ -286,7 +286,7 @@ static inline void mavlink_msg_sensorpod_status_send_buf(mavlink_message_t *msgb
/**
* @brief Get field timestamp from sensorpod_status message
*
* @return Timestamp in linuxtime (since 1.1.1970)
* @return [ms] Timestamp in linuxtime (since 1.1.1970)
*/
static inline uint64_t mavlink_msg_sensorpod_status_get_timestamp(const mavlink_message_t* msg)
{
......@@ -296,7 +296,7 @@ static inline uint64_t mavlink_msg_sensorpod_status_get_timestamp(const mavlink_
/**
* @brief Get field visensor_rate_1 from sensorpod_status message
*
* @return Rate of ROS topic 1
* @return Rate of ROS topic 1
*/
static inline uint8_t mavlink_msg_sensorpod_status_get_visensor_rate_1(const mavlink_message_t* msg)
{
......@@ -306,7 +306,7 @@ static inline uint8_t mavlink_msg_sensorpod_status_get_visensor_rate_1(const mav
/**
* @brief Get field visensor_rate_2 from sensorpod_status message
*
* @return Rate of ROS topic 2
* @return Rate of ROS topic 2
*/
static inline uint8_t mavlink_msg_sensorpod_status_get_visensor_rate_2(const mavlink_message_t* msg)
{
......@@ -316,7 +316,7 @@ static inline uint8_t mavlink_msg_sensorpod_status_get_visensor_rate_2(const mav
/**
* @brief Get field visensor_rate_3 from sensorpod_status message
*
* @return Rate of ROS topic 3
* @return Rate of ROS topic 3
*/
static inline uint8_t mavlink_msg_sensorpod_status_get_visensor_rate_3(const mavlink_message_t* msg)
{
......@@ -326,7 +326,7 @@ static inline uint8_t mavlink_msg_sensorpod_status_get_visensor_rate_3(const mav
/**
* @brief Get field visensor_rate_4 from sensorpod_status message
*
* @return Rate of ROS topic 4
* @return Rate of ROS topic 4
*/
static inline uint8_t mavlink_msg_sensorpod_status_get_visensor_rate_4(const mavlink_message_t* msg)
{
......@@ -336,7 +336,7 @@ static inline uint8_t mavlink_msg_sensorpod_status_get_visensor_rate_4(const mav
/**
* @brief Get field recording_nodes_count from sensorpod_status message
*
* @return Number of recording nodes
* @return Number of recording nodes
*/
static inline uint8_t mavlink_msg_sensorpod_status_get_recording_nodes_count(const mavlink_message_t* msg)
{
......@@ -346,7 +346,7 @@ static inline uint8_t mavlink_msg_sensorpod_status_get_recording_nodes_count(con
/**
* @brief Get field cpu_temp from sensorpod_status message
*
* @return Temperature of sensorpod CPU in
* @return [degC] Temperature of sensorpod CPU in
*/
static inline uint8_t mavlink_msg_sensorpod_status_get_cpu_temp(const mavlink_message_t* msg)
{
......@@ -356,7 +356,7 @@ static inline uint8_t mavlink_msg_sensorpod_status_get_cpu_temp(const mavlink_me
/**
* @brief Get field free_space from sensorpod_status message
*
* @return Free space available in recordings directory in [Gb] * 1e2
* @return Free space available in recordings directory in [Gb] * 1e2
*/
static inline uint16_t mavlink_msg_sensorpod_status_get_free_space(const mavlink_message_t* msg)
{
......
......@@ -71,7 +71,7 @@ typedef enum MAV_CMD
MAV_CMD_DO_FOLLOW=32, /* Being following a target |System ID (the system ID of the FOLLOW_TARGET beacon). Send 0 to disable follow-me and return to the default position hold mode| RESERVED| RESERVED| altitude flag: 0: Keep current altitude, 1: keep altitude difference to target, 2: go to a fixed altitude above home| altitude| RESERVED| TTL in seconds in which the MAV should go to the default position hold mode after a message rx timeout| */
MAV_CMD_DO_FOLLOW_REPOSITION=33, /* Reposition the MAV after a follow target command has been sent |Camera q1 (where 0 is on the ray from the camera to the tracking device)| Camera q2| Camera q3| Camera q4| altitude offset from target (m)| X offset from target (m)| Y offset from target (m)| */
MAV_CMD_DO_ORBIT=34, /* WIP: Start orbiting on the circumference of a circle defined by the parameters. Setting any value NaN results in using defaults. |Radius of the circle in meters. positive: Orbit clockwise. negative: Orbit counter-clockwise. | Velocity tangential in m/s. NaN: Vehicle configuration default.| Yaw behaviour of the vehicle. 0: vehicle front points to the center (default). 1: Hold last heading. 2: Leave yaw uncontrolled.| Reserved (e.g. for dynamic center beacon options)| Center point latitude (if no MAV_FRAME specified) / X coordinate according to MAV_FRAME. NaN: Use current vehicle position or current center if already orbiting.| Center point longitude (if no MAV_FRAME specified) / Y coordinate according to MAV_FRAME. NaN: Use current vehicle position or current center if already orbiting.| Center point altitude (AMSL) (if no MAV_FRAME specified) / Z coordinate according to MAV_FRAME. NaN: Use current vehicle position or current center if already orbiting.| */
MAV_CMD_NAV_ROI=80, /* THIS INTERFACE IS DEPRECATED AS OF JANUARY 2018. Please use MAV_CMD_DO_SET_ROI_* messages instead. Sets the region of interest (ROI) for a sensor set or the vehicle itself. This can then be used by the vehicles control system to control the vehicle attitude and the attitude of various sensors such as cameras. |Region of interest mode. (see MAV_ROI enum)| Waypoint index/ target ID. (see MAV_ROI enum)| ROI index (allows a vehicle to manage multiple ROI's)| Empty| x the location of the fixed ROI (see MAV_FRAME)| y| z| */
MAV_CMD_NAV_ROI=80, /* Sets the region of interest (ROI) for a sensor set or the vehicle itself. This can then be used by the vehicles control system to control the vehicle attitude and the attitude of various sensors such as cameras. |Region of interest mode. (see MAV_ROI enum)| Waypoint index/ target ID. (see MAV_ROI enum)| ROI index (allows a vehicle to manage multiple ROI's)| Empty| x the location of the fixed ROI (see MAV_FRAME)| y| z| */
MAV_CMD_NAV_PATHPLANNING=81, /* Control autonomous path planning on the MAV. |0: Disable local obstacle avoidance / local path planning (without resetting map), 1: Enable local path planning, 2: Enable and reset local path planning| 0: Disable full path planning (without resetting map), 1: Enable, 2: Enable and reset map/occupancy grid, 3: Enable and reset planned route, but not occupancy grid| Empty| Yaw angle at goal, in compass degrees, [0..360]| Latitude/X of goal| Longitude/Y of goal| Altitude/Z of goal| */
MAV_CMD_NAV_SPLINE_WAYPOINT=82, /* Navigate to waypoint using a spline path. |Hold time in decimal seconds. (ignored by fixed wing, time to stay at waypoint for rotary wing)| Empty| Empty| Empty| Latitude/X of goal| Longitude/Y of goal| Altitude/Z of goal| */
MAV_CMD_NAV_ALTITUDE_WAIT=83, /* Mission command to wait for an altitude or downwards vertical speed. This is meant for high altitude balloon launches, allowing the aircraft to be idle until either an altitude is reached or a negative vertical speed is reached (indicating early balloon burst). The wiggle time is how often to wiggle the control surfaces to prevent them seizing up. |Altitude (m).| Descent speed (m/s).| Wiggle Time (s).| Empty.| Empty.| Empty.| Empty.| */
......@@ -107,7 +107,7 @@ typedef enum MAV_CMD
MAV_CMD_DO_SET_ROI_WPNEXT_OFFSET=196, /* Sets the region of interest (ROI) to be toward next waypoint, with optional pitch/roll/yaw offset. This can then be used by the vehicles control system to control the vehicle attitude and the attitude of various sensors such as cameras. |Empty| Empty| Empty| Empty| pitch offset from next waypoint| roll offset from next waypoint| yaw offset from next waypoint| */
MAV_CMD_DO_SET_ROI_NONE=197, /* Cancels any previous ROI command returning the vehicle/sensors to default flight characteristics. This can then be used by the vehicles control system to control the vehicle attitude and the attitude of various sensors such as cameras. |Empty| Empty| Empty| Empty| Empty| Empty| Empty| */
MAV_CMD_DO_CONTROL_VIDEO=200, /* Control onboard camera system. |Camera ID (-1 for all)| Transmission: 0: disabled, 1: enabled compressed, 2: enabled raw| Transmission mode: 0: video stream, >0: single images every n seconds (decimal)| Recording: 0: disabled, 1: enabled compressed, 2: enabled raw| Empty| Empty| Empty| */
MAV_CMD_DO_SET_ROI=201, /* THIS INTERFACE IS DEPRECATED AS OF JANUARY 2018. Please use MAV_CMD_DO_SET_ROI_* messages instead. Sets the region of interest (ROI) for a sensor set or the vehicle itself. This can then be used by the vehicles control system to control the vehicle attitude and the attitude of various sensors such as cameras. |Region of interest mode. (see MAV_ROI enum)| Waypoint index/ target ID. (see MAV_ROI enum)| ROI index (allows a vehicle to manage multiple ROI's)| Empty| MAV_ROI_WPNEXT: pitch offset from next waypoint, MAV_ROI_LOCATION: latitude| MAV_ROI_WPNEXT: roll offset from next waypoint, MAV_ROI_LOCATION: longitude| MAV_ROI_WPNEXT: yaw offset from next waypoint, MAV_ROI_LOCATION: altitude| */
MAV_CMD_DO_SET_ROI=201, /* Sets the region of interest (ROI) for a sensor set or the vehicle itself. This can then be used by the vehicles control system to control the vehicle attitude and the attitude of various sensors such as cameras. |Region of interest mode. (see MAV_ROI enum)| Waypoint index/ target ID. (see MAV_ROI enum)| ROI index (allows a vehicle to manage multiple ROI's)| Empty| MAV_ROI_WPNEXT: pitch offset from next waypoint, MAV_ROI_LOCATION: latitude| MAV_ROI_WPNEXT: roll offset from next waypoint, MAV_ROI_LOCATION: longitude| MAV_ROI_WPNEXT: yaw offset from next waypoint, MAV_ROI_LOCATION: altitude| */
MAV_CMD_DO_DIGICAM_CONFIGURE=202, /* THIS INTERFACE IS DEPRECATED since 2018-01. Please use PARAM_EXT_XXX messages and the camera definition format described in https://mavlink.io/en/protocol/camera_def.html. |Modes: P, TV, AV, M, Etc| Shutter speed: Divisor number for one second| Aperture: F stop number| ISO number e.g. 80, 100, 200, Etc| Exposure type enumerator| Command Identity| Main engine cut-off time before camera trigger in seconds/10 (0 means no cut-off)| */
MAV_CMD_DO_DIGICAM_CONTROL=203, /* THIS INTERFACE IS DEPRECATED since 2018-01. Please use PARAM_EXT_XXX messages and the camera definition format described in https://mavlink.io/en/protocol/camera_def.html. |Session control e.g. show/hide lens| Zoom's absolute position| Zooming step value to offset zoom from the current position| Focus Locking, Unlocking or Re-locking| Shooting Command| Command Identity| Test shot identifier. If set to 1, image will only be captured, but not counted towards internal frame count.| */
MAV_CMD_DO_MOUNT_CONFIGURE=204, /* Mission command to configure a camera or antenna mount |Mount operation mode (see MAV_MOUNT_MODE enum)| stabilize roll? (1 = yes, 0 = no)| stabilize pitch? (1 = yes, 0 = no)| stabilize yaw? (1 = yes, 0 = no)| roll input (0 = angle body frame, 1 = angular rate, 2 = angle absolute frame)| pitch input (0 = angle body frame, 1 = angular rate, 2 = angle absolute frame)| yaw input (0 = angle body frame, 1 = angular rate, 2 = angle absolute frame)| */
......
......@@ -5,19 +5,19 @@
MAVPACKED(
typedef struct __mavlink_adap_tuning_t {
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.*/
float desired; /*< [deg/s] Desired rate.*/
float achieved; /*< [deg/s] 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.
* @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.
* @param axis Axis.
* @param desired [deg/s] Desired rate.
* @param achieved [deg/s] 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.
* @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.
* @param axis Axis.
* @param desired [deg/s] Desired rate.
* @param achieved [deg/s] 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.
* @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.
* @param axis Axis.
* @param desired [deg/s] Desired rate.
* @param achieved [deg/s] 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.
* @return [deg/s] 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.
* @return [deg/s] 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.*/
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.*/
float omegaIx; /*< [rad/s] X gyro drift estimate.*/
float omegaIy; /*< [rad/s] Y gyro drift estimate.*/
float omegaIz; /*< [rad/s] 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.
* @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.
* @param omegaIx [rad/s] X gyro drift estimate.
* @param omegaIy [rad/s] Y gyro drift estimate.
* @param omegaIz [rad/s] 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.
* @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.
* @param omegaIx [rad/s] X gyro drift estimate.
* @param omegaIy [rad/s] Y gyro drift estimate.
* @param omegaIz [rad/s] 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.
* @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.
* @param omegaIx [rad/s] X gyro drift estimate.
* @param omegaIy [rad/s] Y gyro drift estimate.
* @param omegaIz [rad/s] 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.
* @return [rad/s] 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.
* @return [rad/s] 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.
* @return [rad/s] 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.*/
float pitch; /*< Pitch angle.*/
float yaw; /*< Yaw angle.*/
float altitude; /*< Altitude (MSL).*/
int32_t lat; /*< Latitude.*/
int32_t lng; /*< Longitude.*/
float roll; /*< [rad] Roll angle.*/
float pitch; /*< [rad] Pitch angle.*/
float yaw; /*< [rad] Yaw angle.*/
float altitude; /*< [m] Altitude (MSL).*/
int32_t lat; /*< [degE7] Latitude.*/
int32_t lng; /*< [degE7] 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.
* @param pitch Pitch angle.
* @param yaw Yaw angle.
* @param altitude Altitude (MSL).
* @param lat Latitude.
* @param lng Longitude.
* @param roll [rad] Roll angle.
* @param pitch [rad] Pitch angle.
* @param yaw [rad] Yaw angle.
* @param altitude [m] Altitude (MSL).
* @param lat [degE7] Latitude.
* @param lng [degE7] 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.
* @param pitch Pitch angle.
* @param yaw Yaw angle.
* @param altitude Altitude (MSL).
* @param lat Latitude.
* @param lng Longitude.
* @param roll [rad] Roll angle.
* @param pitch [rad] Pitch angle.
* @param yaw [rad] Yaw angle.
* @param altitude [m] Altitude (MSL).
* @param lat [degE7] Latitude.
* @param lng [degE7] 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.
* @param pitch Pitch angle.
* @param yaw Yaw angle.
* @param altitude Altitude (MSL).
* @param lat Latitude.
* @param lng Longitude.
* @param roll [rad] Roll angle.
* @param pitch [rad] Pitch angle.
* @param yaw [rad] Yaw angle.
* @param altitude [m] Altitude (MSL).
* @param lat [degE7] Latitude.
* @param lng [degE7] 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.
* @return [rad] 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.
* @return [rad] 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.
* @return [rad] 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 [m] 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.
* @return [degE7] 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.
* @return [degE7] 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.*/
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.*/
float roll; /*< [rad] Roll angle.*/
float pitch; /*< [rad] Pitch angle.*/
float yaw; /*< [rad] Yaw angle.*/
float altitude; /*< [m] Altitude (MSL).*/
int32_t lat; /*< [degE7] Latitude.*/
int32_t lng; /*< [degE7] 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.
* @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.
* @param roll [rad] Roll angle.
* @param pitch [rad] Pitch angle.
* @param yaw [rad] Yaw angle.
* @param altitude [m] Altitude (MSL).
* @param lat [degE7] Latitude.
* @param lng [degE7] 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.
* @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.
* @param roll [rad] Roll angle.
* @param pitch [rad] Pitch angle.
* @param yaw [rad] Yaw angle.
* @param altitude [m] Altitude (MSL).
* @param lat [degE7] Latitude.
* @param lng [degE7] 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.
* @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.
* @param roll [rad] Roll angle.
* @param pitch [rad] Pitch angle.
* @param yaw [rad] Yaw angle.
* @param altitude [m] Altitude (MSL).
* @param lat [degE7] Latitude.
* @param lng [degE7] 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.
* @return [rad] 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.
* @return [rad] 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.
* @return [rad] 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 [m] 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.
* @return [degE7] 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.
* @return [degE7] 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.*/
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.*/
float vx; /*< [m/s] GPS velocity north.*/
float vy; /*< [m/s] GPS velocity east.*/
float vz; /*< [m/s] GPS velocity down.*/
float diff_pressure; /*< [Pa] Differential pressure.*/
float EAS2TAS; /*< Estimated to true airspeed ratio.*/
float ratio; /*< Airspeed ratio.*/
float state_x; /*< EKF state x.*/
float state_y; /*< EKF state y.*/
float state_z; /*< EKF state z.*/
float Pax; /*< EKF Pax.*/
float Pby; /*< EKF Pby.*/
float Pcz; /*< EKF Pcz.*/
}) mavlink_airspeed_autocal_t;
#define MAVLINK_MSG_ID_AIRSPEED_AUTOCAL_LEN 48
......@@ -74,18 +74,18 @@ typedef struct __mavlink_airspeed_autocal_t {
* @param component_id ID of this component (e.g. 200 for IMU)
* @param msg The MAVLink message to compress the data into
*
* @param vx 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.
* @param vx [m/s] GPS velocity north.
* @param vy [m/s] GPS velocity east.
* @param vz [m/s] GPS velocity down.
* @param diff_pressure [Pa] Differential pressure.
* @param EAS2TAS Estimated to true airspeed ratio.
* @param ratio Airspeed ratio.
* @param state_x EKF state x.
* @param state_y EKF state y.
* @param state_z EKF state z.
* @param Pax EKF Pax.
* @param Pby EKF Pby.
* @param Pcz EKF Pcz.
* @return length of the message in bytes (excluding serial stream start sign)
*/
static inline uint16_t mavlink_msg_airspeed_autocal_pack(uint8_t system_id, uint8_t component_id, mavlink_message_t* msg,
......@@ -135,18 +135,18 @@ static inline uint16_t mavlink_msg_airspeed_autocal_pack(uint8_t system_id, uint
* @param component_id ID of this component (e.g. 200 for IMU)
* @param chan The MAVLink channel this message will be sent over
* @param msg The MAVLink message to compress the data into
* @param vx 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.
* @param vx [m/s] GPS velocity north.
* @param vy [m/s] GPS velocity east.
* @param vz [m/s] GPS velocity down.
* @param diff_pressure [Pa] Differential pressure.
* @param EAS2TAS Estimated to true airspeed ratio.
* @param ratio Airspeed ratio.
* @param state_x EKF state x.
* @param state_y EKF state y.
* @param state_z EKF state z.
* @param Pax EKF Pax.
* @param Pby EKF Pby.
* @param Pcz EKF Pcz.
* @return length of the message in bytes (excluding serial stream start sign)
*/
static inline uint16_t mavlink_msg_airspeed_autocal_pack_chan(uint8_t system_id, uint8_t component_id, uint8_t chan,
......@@ -222,18 +222,18 @@ static inline uint16_t mavlink_msg_airspeed_autocal_encode_chan(uint8_t system_i
* @brief Send a airspeed_autocal message
* @param chan MAVLink channel to send the message
*
* @param vx 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.
* @param vx [m/s] GPS velocity north.
* @param vy [m/s] GPS velocity east.
* @param vz [m/s] GPS velocity down.
* @param diff_pressure [Pa] Differential pressure.
* @param EAS2TAS Estimated to true airspeed ratio.
* @param ratio Airspeed ratio.
* @param state_x EKF state x.
* @param state_y EKF state y.
* @param state_z EKF state z.
* @param Pax EKF Pax.
* @param Pby EKF Pby.
* @param Pcz EKF Pcz.
*/
#ifdef MAVLINK_USE_CONVENIENCE_FUNCTIONS
......@@ -342,7 +342,7 @@ static inline void mavlink_msg_airspeed_autocal_send_buf(mavlink_message_t *msgb
/**
* @brief Get field vx from airspeed_autocal message
*
* @return GPS velocity north.
* @return [m/s] GPS velocity north.
*/
static inline float mavlink_msg_airspeed_autocal_get_vx(const mavlink_message_t* msg)
{
......@@ -352,7 +352,7 @@ static inline float mavlink_msg_airspeed_autocal_get_vx(const mavlink_message_t*
/**
* @brief Get field vy from airspeed_autocal message
*
* @return GPS velocity east.
* @return [m/s] GPS velocity east.
*/
static inline float mavlink_msg_airspeed_autocal_get_vy(const mavlink_message_t* msg)
{
......@@ -362,7 +362,7 @@ static inline float mavlink_msg_airspeed_autocal_get_vy(const mavlink_message_t*
/**
* @brief Get field vz from airspeed_autocal message
*
* @return GPS velocity down.
* @return [m/s] GPS velocity down.
*/
static inline float mavlink_msg_airspeed_autocal_get_vz(const mavlink_message_t* msg)
{
......@@ -372,7 +372,7 @@ static inline float mavlink_msg_airspeed_autocal_get_vz(const mavlink_message_t*
/**
* @brief Get field diff_pressure from airspeed_autocal message
*
* @return Differential pressure.
* @return [Pa] Differential pressure.
*/
static inline float mavlink_msg_airspeed_autocal_get_diff_pressure(const mavlink_message_t* msg)
{
......@@ -382,7 +382,7 @@ static inline float mavlink_msg_airspeed_autocal_get_diff_pressure(const mavlink
/**
* @brief Get field EAS2TAS from airspeed_autocal message
*
* @return Estimated to true airspeed ratio.
* @return Estimated to true airspeed ratio.
*/
static inline float mavlink_msg_airspeed_autocal_get_EAS2TAS(const mavlink_message_t* msg)
{
......@@ -392,7 +392,7 @@ static inline float mavlink_msg_airspeed_autocal_get_EAS2TAS(const mavlink_messa
/**
* @brief Get field ratio from airspeed_autocal message
*
* @return Airspeed ratio.
* @return Airspeed ratio.
*/
static inline float mavlink_msg_airspeed_autocal_get_ratio(const mavlink_message_t* msg)
{
......@@ -402,7 +402,7 @@ static inline float mavlink_msg_airspeed_autocal_get_ratio(const mavlink_message
/**
* @brief Get field state_x from airspeed_autocal message
*
* @return EKF state x.
* @return EKF state x.
*/
static inline float mavlink_msg_airspeed_autocal_get_state_x(const mavlink_message_t* msg)
{
......@@ -412,7 +412,7 @@ static inline float mavlink_msg_airspeed_autocal_get_state_x(const mavlink_messa
/**
* @brief Get field state_y from airspeed_autocal message
*
* @return EKF state y.
* @return EKF state y.
*/
static inline float mavlink_msg_airspeed_autocal_get_state_y(const mavlink_message_t* msg)
{
......@@ -422,7 +422,7 @@ static inline float mavlink_msg_airspeed_autocal_get_state_y(const mavlink_messa
/**
* @brief Get field state_z from airspeed_autocal message
*
* @return EKF state z.
* @return EKF state z.
*/
static inline float mavlink_msg_airspeed_autocal_get_state_z(const mavlink_message_t* msg)
{
......@@ -432,7 +432,7 @@ static inline float mavlink_msg_airspeed_autocal_get_state_z(const mavlink_messa
/**
* @brief Get field Pax from airspeed_autocal message
*
* @return EKF Pax.
* @return EKF Pax.
*/
static inline float mavlink_msg_airspeed_autocal_get_Pax(const mavlink_message_t* msg)
{
......@@ -442,7 +442,7 @@ static inline float mavlink_msg_airspeed_autocal_get_Pax(const mavlink_message_t
/**
* @brief Get field Pby from airspeed_autocal message
*
* @return EKF Pby.
* @return EKF Pby.
*/
static inline float mavlink_msg_airspeed_autocal_get_Pby(const mavlink_message_t* msg)
{
......@@ -452,7 +452,7 @@ static inline float mavlink_msg_airspeed_autocal_get_Pby(const mavlink_message_t
/**
* @brief Get field Pcz from airspeed_autocal message
*
* @return EKF Pcz.
* @return EKF Pcz.
*/
static inline float mavlink_msg_airspeed_autocal_get_Pcz(const mavlink_message_t* msg)
{
......
......@@ -5,9 +5,9 @@
MAVPACKED(
typedef struct __mavlink_aoa_ssa_t {
uint64_t time_usec; /*< Timestamp (since boot or Unix epoch).*/
float AOA; /*< Angle of Attack.*/
float SSA; /*< Side Slip Angle.*/
uint64_t time_usec; /*< [us] Timestamp (since boot or Unix epoch).*/
float AOA; /*< [deg] Angle of Attack.*/
float SSA; /*< [deg] 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 (since boot or Unix epoch).
* @param AOA Angle of Attack.
* @param SSA Side Slip Angle.
* @param time_usec [us] Timestamp (since boot or Unix epoch).
* @param AOA [deg] Angle of Attack.
* @param SSA [deg] 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 (since boot or Unix epoch).
* @param AOA Angle of Attack.
* @param SSA Side Slip Angle.
* @param time_usec [us] Timestamp (since boot or Unix epoch).
* @param AOA [deg] Angle of Attack.
* @param SSA [deg] 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 (since boot or Unix epoch).
* @param AOA Angle of Attack.
* @param SSA Side Slip Angle.
* @param time_usec [us] Timestamp (since boot or Unix epoch).
* @param AOA [deg] Angle of Attack.
* @param SSA [deg] 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 (since boot or Unix epoch).
* @return [us] 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.
* @return [deg] 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.
* @return [deg] 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.*/
int16_t current_battery; /*< Battery current, -1: autopilot does not measure the current.*/
uint16_t voltage; /*< [mV] Voltage.*/
int16_t current_battery; /*< [cA] 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.
* @param current_battery Battery current, -1: autopilot does not measure the current.
* @param voltage [mV] Voltage.
* @param current_battery [cA] 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.
* @param current_battery Battery current, -1: autopilot does not measure the current.
* @param voltage [mV] Voltage.
* @param current_battery [cA] 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.
* @param current_battery Battery current, -1: autopilot does not measure the current.
* @param voltage [mV] Voltage.
* @param current_battery [cA] 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.
* @return [mV] 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, -1: autopilot does not measure the current.
* @return [cA] 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 (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.*/
uint64_t time_usec; /*< [us] 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 (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).
* @param time_usec [us] 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 (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).
* @param time_usec [us] 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 (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).
* @param time_usec [us] 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 (since UNIX epoch, according to camera clock).
* @return [us] 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 Event type.
* @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_id, 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_id, 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_id, 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_id, 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.*/
float CompensationX; /*< Motor Compensation X.*/
float CompensationY; /*< Motor Compensation Y.*/
float CompensationZ; /*< Motor Compensation Z.*/
uint16_t throttle; /*< Throttle.*/
uint16_t interference; /*< Interference.*/
float current; /*< [A] Current.*/
float CompensationX; /*< Motor Compensation X.*/
float CompensationY; /*< Motor Compensation Y.*/
float CompensationZ; /*< Motor Compensation Z.*/
uint16_t throttle; /*< [d%] 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.
* @param current Current.
* @param interference Interference.
* @param CompensationX Motor Compensation X.
* @param CompensationY Motor Compensation Y.
* @param CompensationZ Motor Compensation Z.
* @param throttle [d%] Throttle.
* @param current [A] 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.
* @param current Current.
* @param interference Interference.
* @param CompensationX Motor Compensation X.
* @param CompensationY Motor Compensation Y.
* @param CompensationZ Motor Compensation Z.
* @param throttle [d%] Throttle.
* @param current [A] 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.
* @param current Current.
* @param interference Interference.
* @param CompensationX Motor Compensation X.
* @param CompensationY Motor Compensation Y.
* @param CompensationZ Motor Compensation Z.
* @param throttle [d%] Throttle.
* @param current [A] 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.
* @return [d%] 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.
* @return [A] 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.
* @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; /*< [bytes] 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 [bytes] 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 [bytes] 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 [bytes] 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 [bytes] 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; /*< [bytes] 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 [bytes] 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 [bytes] 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 [bytes] 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 [bytes] 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; /*< [bytes] 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 [bytes] 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 [bytes] 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 [bytes] 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 [bytes] 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; /*< [bytes] 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 [bytes] 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 [bytes] 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 [bytes] 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 [bytes] 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)
{
......
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.
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.
......@@ -98,7 +98,7 @@ typedef enum MAV_CMD
MAV_CMD_DO_FOLLOW=32, /* Being following a target |System ID (the system ID of the FOLLOW_TARGET beacon). Send 0 to disable follow-me and return to the default position hold mode| RESERVED| RESERVED| altitude flag: 0: Keep current altitude, 1: keep altitude difference to target, 2: go to a fixed altitude above home| altitude| RESERVED| TTL in seconds in which the MAV should go to the default position hold mode after a message rx timeout| */
MAV_CMD_DO_FOLLOW_REPOSITION=33, /* Reposition the MAV after a follow target command has been sent |Camera q1 (where 0 is on the ray from the camera to the tracking device)| Camera q2| Camera q3| Camera q4| altitude offset from target (m)| X offset from target (m)| Y offset from target (m)| */
MAV_CMD_DO_ORBIT=34, /* WIP: Start orbiting on the circumference of a circle defined by the parameters. Setting any value NaN results in using defaults. |Radius of the circle in meters. positive: Orbit clockwise. negative: Orbit counter-clockwise. | Velocity tangential in m/s. NaN: Vehicle configuration default.| Yaw behaviour of the vehicle. 0: vehicle front points to the center (default). 1: Hold last heading. 2: Leave yaw uncontrolled.| Reserved (e.g. for dynamic center beacon options)| Center point latitude (if no MAV_FRAME specified) / X coordinate according to MAV_FRAME. NaN: Use current vehicle position or current center if already orbiting.| Center point longitude (if no MAV_FRAME specified) / Y coordinate according to MAV_FRAME. NaN: Use current vehicle position or current center if already orbiting.| Center point altitude (AMSL) (if no MAV_FRAME specified) / Z coordinate according to MAV_FRAME. NaN: Use current vehicle position or current center if already orbiting.| */
MAV_CMD_NAV_ROI=80, /* THIS INTERFACE IS DEPRECATED AS OF JANUARY 2018. Please use MAV_CMD_DO_SET_ROI_* messages instead. Sets the region of interest (ROI) for a sensor set or the vehicle itself. This can then be used by the vehicles control system to control the vehicle attitude and the attitude of various sensors such as cameras. |Region of interest mode. (see MAV_ROI enum)| Waypoint index/ target ID. (see MAV_ROI enum)| ROI index (allows a vehicle to manage multiple ROI's)| Empty| x the location of the fixed ROI (see MAV_FRAME)| y| z| */
MAV_CMD_NAV_ROI=80, /* Sets the region of interest (ROI) for a sensor set or the vehicle itself. This can then be used by the vehicles control system to control the vehicle attitude and the attitude of various sensors such as cameras. |Region of interest mode. (see MAV_ROI enum)| Waypoint index/ target ID. (see MAV_ROI enum)| ROI index (allows a vehicle to manage multiple ROI's)| Empty| x the location of the fixed ROI (see MAV_FRAME)| y| z| */
MAV_CMD_NAV_PATHPLANNING=81, /* Control autonomous path planning on the MAV. |0: Disable local obstacle avoidance / local path planning (without resetting map), 1: Enable local path planning, 2: Enable and reset local path planning| 0: Disable full path planning (without resetting map), 1: Enable, 2: Enable and reset map/occupancy grid, 3: Enable and reset planned route, but not occupancy grid| Empty| Yaw angle at goal, in compass degrees, [0..360]| Latitude/X of goal| Longitude/Y of goal| Altitude/Z of goal| */
MAV_CMD_NAV_SPLINE_WAYPOINT=82, /* Navigate to waypoint using a spline path. |Hold time in decimal seconds. (ignored by fixed wing, time to stay at waypoint for rotary wing)| Empty| Empty| Empty| Latitude/X of goal| Longitude/Y of goal| Altitude/Z of goal| */
MAV_CMD_NAV_VTOL_TAKEOFF=84, /* Takeoff from ground using VTOL mode |Empty| Front transition heading, see VTOL_TRANSITION_HEADING enum.| Empty| Yaw angle in degrees. NaN for unchanged.| Latitude| Longitude| Altitude| */
......@@ -133,7 +133,7 @@ typedef enum MAV_CMD
MAV_CMD_DO_SET_ROI_WPNEXT_OFFSET=196, /* Sets the region of interest (ROI) to be toward next waypoint, with optional pitch/roll/yaw offset. This can then be used by the vehicles control system to control the vehicle attitude and the attitude of various sensors such as cameras. |Empty| Empty| Empty| Empty| pitch offset from next waypoint| roll offset from next waypoint| yaw offset from next waypoint| */
MAV_CMD_DO_SET_ROI_NONE=197, /* Cancels any previous ROI command returning the vehicle/sensors to default flight characteristics. This can then be used by the vehicles control system to control the vehicle attitude and the attitude of various sensors such as cameras. |Empty| Empty| Empty| Empty| Empty| Empty| Empty| */
MAV_CMD_DO_CONTROL_VIDEO=200, /* Control onboard camera system. |Camera ID (-1 for all)| Transmission: 0: disabled, 1: enabled compressed, 2: enabled raw| Transmission mode: 0: video stream, >0: single images every n seconds (decimal)| Recording: 0: disabled, 1: enabled compressed, 2: enabled raw| Empty| Empty| Empty| */
MAV_CMD_DO_SET_ROI=201, /* THIS INTERFACE IS DEPRECATED AS OF JANUARY 2018. Please use MAV_CMD_DO_SET_ROI_* messages instead. Sets the region of interest (ROI) for a sensor set or the vehicle itself. This can then be used by the vehicles control system to control the vehicle attitude and the attitude of various sensors such as cameras. |Region of interest mode. (see MAV_ROI enum)| Waypoint index/ target ID. (see MAV_ROI enum)| ROI index (allows a vehicle to manage multiple ROI's)| Empty| MAV_ROI_WPNEXT: pitch offset from next waypoint, MAV_ROI_LOCATION: latitude| MAV_ROI_WPNEXT: roll offset from next waypoint, MAV_ROI_LOCATION: longitude| MAV_ROI_WPNEXT: yaw offset from next waypoint, MAV_ROI_LOCATION: altitude| */
MAV_CMD_DO_SET_ROI=201, /* Sets the region of interest (ROI) for a sensor set or the vehicle itself. This can then be used by the vehicles control system to control the vehicle attitude and the attitude of various sensors such as cameras. |Region of interest mode. (see MAV_ROI enum)| Waypoint index/ target ID. (see MAV_ROI enum)| ROI index (allows a vehicle to manage multiple ROI's)| Empty| MAV_ROI_WPNEXT: pitch offset from next waypoint, MAV_ROI_LOCATION: latitude| MAV_ROI_WPNEXT: roll offset from next waypoint, MAV_ROI_LOCATION: longitude| MAV_ROI_WPNEXT: yaw offset from next waypoint, MAV_ROI_LOCATION: altitude| */
MAV_CMD_DO_DIGICAM_CONFIGURE=202, /* THIS INTERFACE IS DEPRECATED since 2018-01. Please use PARAM_EXT_XXX messages and the camera definition format described in https://mavlink.io/en/protocol/camera_def.html. |Modes: P, TV, AV, M, Etc| Shutter speed: Divisor number for one second| Aperture: F stop number| ISO number e.g. 80, 100, 200, Etc| Exposure type enumerator| Command Identity| Main engine cut-off time before camera trigger in seconds/10 (0 means no cut-off)| */
MAV_CMD_DO_DIGICAM_CONTROL=203, /* THIS INTERFACE IS DEPRECATED since 2018-01. Please use PARAM_EXT_XXX messages and the camera definition format described in https://mavlink.io/en/protocol/camera_def.html. |Session control e.g. show/hide lens| Zoom's absolute position| Zooming step value to offset zoom from the current position| Focus Locking, Unlocking or Re-locking| Shooting Command| Command Identity| Test shot identifier. If set to 1, image will only be captured, but not counted towards internal frame count.| */
MAV_CMD_DO_MOUNT_CONFIGURE=204, /* Mission command to configure a camera or antenna mount |Mount operation mode (see MAV_MOUNT_MODE enum)| stabilize roll? (1 = yes, 0 = no)| stabilize pitch? (1 = yes, 0 = no)| stabilize yaw? (1 = yes, 0 = no)| roll input (0 = angle body frame, 1 = angular rate, 2 = angle absolute frame)| pitch input (0 = angle body frame, 1 = angular rate, 2 = angle absolute frame)| yaw input (0 = angle body frame, 1 = angular rate, 2 = angle absolute frame)| */
......@@ -229,7 +229,7 @@ typedef enum MAV_CMD
} MAV_CMD;
#endif
/** @brief THIS INTERFACE IS DEPRECATED AS OF JULY 2015. Please use MESSAGE_INTERVAL instead. A data stream is not a fixed set of messages, but rather a
/** @brief A data stream is not a fixed set of messages, but rather a
recommendation to the autopilot software. Individual autopilots may or may not obey
the recommended messages. */
#ifndef HAVE_ENUM_MAV_DATA_STREAM
......
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.
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.
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.
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.
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.
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.
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.
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.
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.
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