Go to the source code of this file.
Classes | |
struct | __mavlink_global_vision_position_estimate_t |
Defines | |
#define | MAVLINK_MESSAGE_INFO_GLOBAL_VISION_POSITION_ESTIMATE |
#define | MAVLINK_MSG_ID_101_CRC 102 |
#define | MAVLINK_MSG_ID_101_LEN 32 |
#define | MAVLINK_MSG_ID_GLOBAL_VISION_POSITION_ESTIMATE 101 |
#define | MAVLINK_MSG_ID_GLOBAL_VISION_POSITION_ESTIMATE_CRC 102 |
#define | MAVLINK_MSG_ID_GLOBAL_VISION_POSITION_ESTIMATE_LEN 32 |
Typedefs | |
typedef struct __mavlink_global_vision_position_estimate_t | mavlink_global_vision_position_estimate_t |
Functions | |
static void | mavlink_msg_global_vision_position_estimate_decode (const mavlink_message_t *msg, mavlink_global_vision_position_estimate_t *global_vision_position_estimate) |
Decode a global_vision_position_estimate message into a struct. | |
static uint16_t | mavlink_msg_global_vision_position_estimate_encode (uint8_t system_id, uint8_t component_id, mavlink_message_t *msg, const mavlink_global_vision_position_estimate_t *global_vision_position_estimate) |
Encode a global_vision_position_estimate struct. | |
static uint16_t | mavlink_msg_global_vision_position_estimate_encode_chan (uint8_t system_id, uint8_t component_id, uint8_t chan, mavlink_message_t *msg, const mavlink_global_vision_position_estimate_t *global_vision_position_estimate) |
Encode a global_vision_position_estimate struct on a channel. | |
static float | mavlink_msg_global_vision_position_estimate_get_pitch (const mavlink_message_t *msg) |
Get field pitch from global_vision_position_estimate message. | |
static float | mavlink_msg_global_vision_position_estimate_get_roll (const mavlink_message_t *msg) |
Get field roll from global_vision_position_estimate message. | |
static uint64_t | mavlink_msg_global_vision_position_estimate_get_usec (const mavlink_message_t *msg) |
Send a global_vision_position_estimate message. | |
static float | mavlink_msg_global_vision_position_estimate_get_x (const mavlink_message_t *msg) |
Get field x from global_vision_position_estimate message. | |
static float | mavlink_msg_global_vision_position_estimate_get_y (const mavlink_message_t *msg) |
Get field y from global_vision_position_estimate message. | |
static float | mavlink_msg_global_vision_position_estimate_get_yaw (const mavlink_message_t *msg) |
Get field yaw from global_vision_position_estimate message. | |
static float | mavlink_msg_global_vision_position_estimate_get_z (const mavlink_message_t *msg) |
Get field z from global_vision_position_estimate message. | |
static uint16_t | mavlink_msg_global_vision_position_estimate_pack (uint8_t system_id, uint8_t component_id, mavlink_message_t *msg, uint64_t usec, float x, float y, float z, float roll, float pitch, float yaw) |
Pack a global_vision_position_estimate message. | |
static uint16_t | mavlink_msg_global_vision_position_estimate_pack_chan (uint8_t system_id, uint8_t component_id, uint8_t chan, mavlink_message_t *msg, uint64_t usec, float x, float y, float z, float roll, float pitch, float yaw) |
Pack a global_vision_position_estimate message on a channel. |
{ \ "GLOBAL_VISION_POSITION_ESTIMATE", \ 7, \ { { "usec", NULL, MAVLINK_TYPE_UINT64_T, 0, 0, offsetof(mavlink_global_vision_position_estimate_t, usec) }, \ { "x", NULL, MAVLINK_TYPE_FLOAT, 0, 8, offsetof(mavlink_global_vision_position_estimate_t, x) }, \ { "y", NULL, MAVLINK_TYPE_FLOAT, 0, 12, offsetof(mavlink_global_vision_position_estimate_t, y) }, \ { "z", NULL, MAVLINK_TYPE_FLOAT, 0, 16, offsetof(mavlink_global_vision_position_estimate_t, z) }, \ { "roll", NULL, MAVLINK_TYPE_FLOAT, 0, 20, offsetof(mavlink_global_vision_position_estimate_t, roll) }, \ { "pitch", NULL, MAVLINK_TYPE_FLOAT, 0, 24, offsetof(mavlink_global_vision_position_estimate_t, pitch) }, \ { "yaw", NULL, MAVLINK_TYPE_FLOAT, 0, 28, offsetof(mavlink_global_vision_position_estimate_t, yaw) }, \ } \ }
Definition at line 24 of file mavlink_msg_global_vision_position_estimate.h.
#define MAVLINK_MSG_ID_101_CRC 102 |
Definition at line 20 of file mavlink_msg_global_vision_position_estimate.h.
#define MAVLINK_MSG_ID_101_LEN 32 |
Definition at line 17 of file mavlink_msg_global_vision_position_estimate.h.
#define MAVLINK_MSG_ID_GLOBAL_VISION_POSITION_ESTIMATE 101 |
Definition at line 3 of file mavlink_msg_global_vision_position_estimate.h.
Definition at line 19 of file mavlink_msg_global_vision_position_estimate.h.
Definition at line 16 of file mavlink_msg_global_vision_position_estimate.h.
typedef struct __mavlink_global_vision_position_estimate_t mavlink_global_vision_position_estimate_t |
static void mavlink_msg_global_vision_position_estimate_decode | ( | const mavlink_message_t * | msg, |
mavlink_global_vision_position_estimate_t * | global_vision_position_estimate | ||
) | [inline, static] |
Decode a global_vision_position_estimate message into a struct.
msg | The message to decode |
global_vision_position_estimate | C-struct to decode the message contents into |
Definition at line 340 of file mavlink_msg_global_vision_position_estimate.h.
static uint16_t mavlink_msg_global_vision_position_estimate_encode | ( | uint8_t | system_id, |
uint8_t | component_id, | ||
mavlink_message_t * | msg, | ||
const mavlink_global_vision_position_estimate_t * | global_vision_position_estimate | ||
) | [inline, static] |
Encode a global_vision_position_estimate struct.
system_id | ID of this system |
component_id | ID of this component (e.g. 200 for IMU) |
msg | The MAVLink message to compress the data into |
global_vision_position_estimate | C-struct to read the message contents from |
Definition at line 147 of file mavlink_msg_global_vision_position_estimate.h.
static uint16_t mavlink_msg_global_vision_position_estimate_encode_chan | ( | uint8_t | system_id, |
uint8_t | component_id, | ||
uint8_t | chan, | ||
mavlink_message_t * | msg, | ||
const mavlink_global_vision_position_estimate_t * | global_vision_position_estimate | ||
) | [inline, static] |
Encode a global_vision_position_estimate struct on a channel.
system_id | ID of this system |
component_id | ID of this component (e.g. 200 for IMU) |
chan | The MAVLink channel this message will be sent over |
msg | The MAVLink message to compress the data into |
global_vision_position_estimate | C-struct to read the message contents from |
Definition at line 161 of file mavlink_msg_global_vision_position_estimate.h.
static float mavlink_msg_global_vision_position_estimate_get_pitch | ( | const mavlink_message_t * | msg | ) | [inline, static] |
Get field pitch from global_vision_position_estimate message.
Definition at line 319 of file mavlink_msg_global_vision_position_estimate.h.
static float mavlink_msg_global_vision_position_estimate_get_roll | ( | const mavlink_message_t * | msg | ) | [inline, static] |
Get field roll from global_vision_position_estimate message.
Definition at line 309 of file mavlink_msg_global_vision_position_estimate.h.
static uint64_t mavlink_msg_global_vision_position_estimate_get_usec | ( | const mavlink_message_t * | msg | ) | [inline, static] |
Send a global_vision_position_estimate message.
chan | MAVLink channel to send the message |
usec | Timestamp (microseconds, synced to UNIX time or since system boot) |
x | Global X position |
y | Global Y position |
z | Global Z position |
roll | Roll angle in rad |
pitch | Pitch angle in rad |
yaw | Yaw angle in rad Get field usec from global_vision_position_estimate message |
Definition at line 269 of file mavlink_msg_global_vision_position_estimate.h.
static float mavlink_msg_global_vision_position_estimate_get_x | ( | const mavlink_message_t * | msg | ) | [inline, static] |
Get field x from global_vision_position_estimate message.
Definition at line 279 of file mavlink_msg_global_vision_position_estimate.h.
static float mavlink_msg_global_vision_position_estimate_get_y | ( | const mavlink_message_t * | msg | ) | [inline, static] |
Get field y from global_vision_position_estimate message.
Definition at line 289 of file mavlink_msg_global_vision_position_estimate.h.
static float mavlink_msg_global_vision_position_estimate_get_yaw | ( | const mavlink_message_t * | msg | ) | [inline, static] |
Get field yaw from global_vision_position_estimate message.
Definition at line 329 of file mavlink_msg_global_vision_position_estimate.h.
static float mavlink_msg_global_vision_position_estimate_get_z | ( | const mavlink_message_t * | msg | ) | [inline, static] |
Get field z from global_vision_position_estimate message.
Definition at line 299 of file mavlink_msg_global_vision_position_estimate.h.
static uint16_t mavlink_msg_global_vision_position_estimate_pack | ( | uint8_t | system_id, |
uint8_t | component_id, | ||
mavlink_message_t * | msg, | ||
uint64_t | usec, | ||
float | x, | ||
float | y, | ||
float | z, | ||
float | roll, | ||
float | pitch, | ||
float | yaw | ||
) | [inline, static] |
Pack a global_vision_position_estimate message.
system_id | ID of this system |
component_id | ID of this component (e.g. 200 for IMU) |
msg | The MAVLink message to compress the data into |
usec | Timestamp (microseconds, synced to UNIX time or since system boot) |
x | Global X position |
y | Global Y position |
z | Global Z position |
roll | Roll angle in rad |
pitch | Pitch angle in rad |
yaw | Yaw angle in rad |
Definition at line 53 of file mavlink_msg_global_vision_position_estimate.h.
static uint16_t mavlink_msg_global_vision_position_estimate_pack_chan | ( | uint8_t | system_id, |
uint8_t | component_id, | ||
uint8_t | chan, | ||
mavlink_message_t * | msg, | ||
uint64_t | usec, | ||
float | x, | ||
float | y, | ||
float | z, | ||
float | roll, | ||
float | pitch, | ||
float | yaw | ||
) | [inline, static] |
Pack a global_vision_position_estimate message on a channel.
system_id | ID of this system |
component_id | ID of this component (e.g. 200 for IMU) |
chan | The MAVLink channel this message will be sent over |
msg | The MAVLink message to compress the data into |
usec | Timestamp (microseconds, synced to UNIX time or since system boot) |
x | Global X position |
y | Global Y position |
z | Global Z position |
roll | Roll angle in rad |
pitch | Pitch angle in rad |
yaw | Yaw angle in rad |
Definition at line 103 of file mavlink_msg_global_vision_position_estimate.h.