Classes | Macros | Typedefs | Functions
mavlink_msg_attitude_correction.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  __mavlink_attitude_correction_t
 

Macros

#define MAVLINK_MESSAGE_INFO_ATTITUDE_CORRECTION
 
#define MAVLINK_MSG_ID_195_CRC   253
 
#define MAVLINK_MSG_ID_195_LEN   16
 
#define MAVLINK_MSG_ID_ATTITUDE_CORRECTION   195
 
#define MAVLINK_MSG_ID_ATTITUDE_CORRECTION_CRC   253
 
#define MAVLINK_MSG_ID_ATTITUDE_CORRECTION_LEN   16
 

Typedefs

typedef struct __mavlink_attitude_correction_t mavlink_attitude_correction_t
 

Functions

static void mavlink_msg_attitude_correction_decode (const mavlink_message_t *msg, mavlink_attitude_correction_t *attitude_correction)
 Decode a attitude_correction message into a struct. More...
 
static uint16_t mavlink_msg_attitude_correction_encode (uint8_t system_id, uint8_t component_id, mavlink_message_t *msg, const mavlink_attitude_correction_t *attitude_correction)
 Encode a attitude_correction struct. More...
 
static uint16_t mavlink_msg_attitude_correction_encode_chan (uint8_t system_id, uint8_t component_id, uint8_t chan, mavlink_message_t *msg, const mavlink_attitude_correction_t *attitude_correction)
 Encode a attitude_correction struct on a channel. More...
 
static float mavlink_msg_attitude_correction_get_qw (const mavlink_message_t *msg)
 Send a attitude_correction message. More...
 
static float mavlink_msg_attitude_correction_get_qx (const mavlink_message_t *msg)
 Get field qx from attitude_correction message. More...
 
static float mavlink_msg_attitude_correction_get_qy (const mavlink_message_t *msg)
 Get field qy from attitude_correction message. More...
 
static float mavlink_msg_attitude_correction_get_qz (const mavlink_message_t *msg)
 Get field qz from attitude_correction message. More...
 
static uint16_t mavlink_msg_attitude_correction_pack (uint8_t system_id, uint8_t component_id, mavlink_message_t *msg, float qw, float qx, float qy, float qz)
 Pack a attitude_correction message. More...
 
static uint16_t mavlink_msg_attitude_correction_pack_chan (uint8_t system_id, uint8_t component_id, uint8_t chan, mavlink_message_t *msg, float qw, float qx, float qy, float qz)
 Pack a attitude_correction message on a channel. More...
 

Macro Definition Documentation

#define MAVLINK_MESSAGE_INFO_ATTITUDE_CORRECTION
Value:
{ \
"ATTITUDE_CORRECTION", \
4, \
{ { "qw", NULL, MAVLINK_TYPE_FLOAT, 0, 0, offsetof(mavlink_attitude_correction_t, qw) }, \
{ "qx", NULL, MAVLINK_TYPE_FLOAT, 0, 4, offsetof(mavlink_attitude_correction_t, qx) }, \
{ "qy", NULL, MAVLINK_TYPE_FLOAT, 0, 8, offsetof(mavlink_attitude_correction_t, qy) }, \
{ "qz", NULL, MAVLINK_TYPE_FLOAT, 0, 12, offsetof(mavlink_attitude_correction_t, qz) }, \
} \
}
#define NULL
Definition: usbd_def.h:50

Definition at line 21 of file mavlink_msg_attitude_correction.h.

#define MAVLINK_MSG_ID_195_CRC   253

Definition at line 17 of file mavlink_msg_attitude_correction.h.

#define MAVLINK_MSG_ID_195_LEN   16

Definition at line 14 of file mavlink_msg_attitude_correction.h.

#define MAVLINK_MSG_ID_ATTITUDE_CORRECTION   195

Definition at line 3 of file mavlink_msg_attitude_correction.h.

#define MAVLINK_MSG_ID_ATTITUDE_CORRECTION_CRC   253

Definition at line 16 of file mavlink_msg_attitude_correction.h.

#define MAVLINK_MSG_ID_ATTITUDE_CORRECTION_LEN   16

Definition at line 13 of file mavlink_msg_attitude_correction.h.

Typedef Documentation

Function Documentation

static void mavlink_msg_attitude_correction_decode ( const mavlink_message_t *  msg,
mavlink_attitude_correction_t attitude_correction 
)
inlinestatic

Decode a attitude_correction message into a struct.

Parameters
msgThe message to decode
attitude_correctionC-struct to decode the message contents into

Definition at line 271 of file mavlink_msg_attitude_correction.h.

static uint16_t mavlink_msg_attitude_correction_encode ( uint8_t  system_id,
uint8_t  component_id,
mavlink_message_t *  msg,
const mavlink_attitude_correction_t attitude_correction 
)
inlinestatic

Encode a attitude_correction struct.

Parameters
system_idID of this system
component_idID of this component (e.g. 200 for IMU)
msgThe MAVLink message to compress the data into
attitude_correctionC-struct to read the message contents from

Definition at line 123 of file mavlink_msg_attitude_correction.h.

static uint16_t mavlink_msg_attitude_correction_encode_chan ( uint8_t  system_id,
uint8_t  component_id,
uint8_t  chan,
mavlink_message_t *  msg,
const mavlink_attitude_correction_t attitude_correction 
)
inlinestatic

Encode a attitude_correction struct on a channel.

Parameters
system_idID of this system
component_idID of this component (e.g. 200 for IMU)
chanThe MAVLink channel this message will be sent over
msgThe MAVLink message to compress the data into
attitude_correctionC-struct to read the message contents from

Definition at line 137 of file mavlink_msg_attitude_correction.h.

static float mavlink_msg_attitude_correction_get_qw ( const mavlink_message_t *  msg)
inlinestatic

Send a attitude_correction message.

Parameters
chanMAVLink channel to send the message
qwQuaternion scalar value
qxQuaternion x value
qyQuaternion y value
qzQuaternion z value Get field qw from attitude_correction message
Returns
Quaternion scalar value

Definition at line 230 of file mavlink_msg_attitude_correction.h.

static float mavlink_msg_attitude_correction_get_qx ( const mavlink_message_t *  msg)
inlinestatic

Get field qx from attitude_correction message.

Returns
Quaternion x value

Definition at line 240 of file mavlink_msg_attitude_correction.h.

static float mavlink_msg_attitude_correction_get_qy ( const mavlink_message_t *  msg)
inlinestatic

Get field qy from attitude_correction message.

Returns
Quaternion y value

Definition at line 250 of file mavlink_msg_attitude_correction.h.

static float mavlink_msg_attitude_correction_get_qz ( const mavlink_message_t *  msg)
inlinestatic

Get field qz from attitude_correction message.

Returns
Quaternion z value

Definition at line 260 of file mavlink_msg_attitude_correction.h.

static uint16_t mavlink_msg_attitude_correction_pack ( uint8_t  system_id,
uint8_t  component_id,
mavlink_message_t *  msg,
float  qw,
float  qx,
float  qy,
float  qz 
)
inlinestatic

Pack a attitude_correction message.

Parameters
system_idID of this system
component_idID of this component (e.g. 200 for IMU)
msgThe MAVLink message to compress the data into
qwQuaternion scalar value
qxQuaternion x value
qyQuaternion y value
qzQuaternion z value
Returns
length of the message in bytes (excluding serial stream start sign)

Definition at line 44 of file mavlink_msg_attitude_correction.h.

static uint16_t mavlink_msg_attitude_correction_pack_chan ( uint8_t  system_id,
uint8_t  component_id,
uint8_t  chan,
mavlink_message_t *  msg,
float  qw,
float  qx,
float  qy,
float  qz 
)
inlinestatic

Pack a attitude_correction message on a channel.

Parameters
system_idID of this system
component_idID of this component (e.g. 200 for IMU)
chanThe MAVLink channel this message will be sent over
msgThe MAVLink message to compress the data into
qwQuaternion scalar value
qxQuaternion x value
qyQuaternion y value
qzQuaternion z value
Returns
length of the message in bytes (excluding serial stream start sign)

Definition at line 85 of file mavlink_msg_attitude_correction.h.



rosflight_firmware
Author(s): Daniel Koch , James Jackson
autogenerated on Thu Oct 24 2019 03:17:20