Go to the source code of this file.
Classes | |
struct | __mavlink_gps_global_origin_t |
Defines | |
#define | MAVLINK_MESSAGE_INFO_GPS_GLOBAL_ORIGIN |
#define | MAVLINK_MSG_ID_49_CRC 39 |
#define | MAVLINK_MSG_ID_49_LEN 12 |
#define | MAVLINK_MSG_ID_GPS_GLOBAL_ORIGIN 49 |
#define | MAVLINK_MSG_ID_GPS_GLOBAL_ORIGIN_CRC 39 |
#define | MAVLINK_MSG_ID_GPS_GLOBAL_ORIGIN_LEN 12 |
Typedefs | |
typedef struct __mavlink_gps_global_origin_t | mavlink_gps_global_origin_t |
Functions | |
static void | mavlink_msg_gps_global_origin_decode (const mavlink_message_t *msg, mavlink_gps_global_origin_t *gps_global_origin) |
Decode a gps_global_origin message into a struct. | |
static uint16_t | mavlink_msg_gps_global_origin_encode (uint8_t system_id, uint8_t component_id, mavlink_message_t *msg, const mavlink_gps_global_origin_t *gps_global_origin) |
Encode a gps_global_origin struct. | |
static uint16_t | mavlink_msg_gps_global_origin_encode_chan (uint8_t system_id, uint8_t component_id, uint8_t chan, mavlink_message_t *msg, const mavlink_gps_global_origin_t *gps_global_origin) |
Encode a gps_global_origin struct on a channel. | |
static int32_t | mavlink_msg_gps_global_origin_get_altitude (const mavlink_message_t *msg) |
Get field altitude from gps_global_origin message. | |
static int32_t | mavlink_msg_gps_global_origin_get_latitude (const mavlink_message_t *msg) |
Send a gps_global_origin message. | |
static int32_t | mavlink_msg_gps_global_origin_get_longitude (const mavlink_message_t *msg) |
Get field longitude from gps_global_origin message. | |
static uint16_t | mavlink_msg_gps_global_origin_pack (uint8_t system_id, uint8_t component_id, mavlink_message_t *msg, int32_t latitude, int32_t longitude, int32_t altitude) |
Pack a gps_global_origin message. | |
static uint16_t | mavlink_msg_gps_global_origin_pack_chan (uint8_t system_id, uint8_t component_id, uint8_t chan, mavlink_message_t *msg, int32_t latitude, int32_t longitude, int32_t altitude) |
Pack a gps_global_origin message on a channel. |
{ \ "GPS_GLOBAL_ORIGIN", \ 3, \ { { "latitude", NULL, MAVLINK_TYPE_INT32_T, 0, 0, offsetof(mavlink_gps_global_origin_t, latitude) }, \ { "longitude", NULL, MAVLINK_TYPE_INT32_T, 0, 4, offsetof(mavlink_gps_global_origin_t, longitude) }, \ { "altitude", NULL, MAVLINK_TYPE_INT32_T, 0, 8, offsetof(mavlink_gps_global_origin_t, altitude) }, \ } \ }
Definition at line 20 of file mavlink_msg_gps_global_origin.h.
#define MAVLINK_MSG_ID_49_CRC 39 |
Definition at line 16 of file mavlink_msg_gps_global_origin.h.
#define MAVLINK_MSG_ID_49_LEN 12 |
Definition at line 13 of file mavlink_msg_gps_global_origin.h.
#define MAVLINK_MSG_ID_GPS_GLOBAL_ORIGIN 49 |
Definition at line 3 of file mavlink_msg_gps_global_origin.h.
#define MAVLINK_MSG_ID_GPS_GLOBAL_ORIGIN_CRC 39 |
Definition at line 15 of file mavlink_msg_gps_global_origin.h.
#define MAVLINK_MSG_ID_GPS_GLOBAL_ORIGIN_LEN 12 |
Definition at line 12 of file mavlink_msg_gps_global_origin.h.
typedef struct __mavlink_gps_global_origin_t mavlink_gps_global_origin_t |
static void mavlink_msg_gps_global_origin_decode | ( | const mavlink_message_t * | msg, |
mavlink_gps_global_origin_t * | gps_global_origin | ||
) | [inline, static] |
Decode a gps_global_origin message into a struct.
msg | The message to decode |
gps_global_origin | C-struct to decode the message contents into |
Definition at line 248 of file mavlink_msg_gps_global_origin.h.
static uint16_t mavlink_msg_gps_global_origin_encode | ( | uint8_t | system_id, |
uint8_t | component_id, | ||
mavlink_message_t * | msg, | ||
const mavlink_gps_global_origin_t * | gps_global_origin | ||
) | [inline, static] |
Encode a gps_global_origin 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 |
gps_global_origin | C-struct to read the message contents from |
Definition at line 115 of file mavlink_msg_gps_global_origin.h.
static uint16_t mavlink_msg_gps_global_origin_encode_chan | ( | uint8_t | system_id, |
uint8_t | component_id, | ||
uint8_t | chan, | ||
mavlink_message_t * | msg, | ||
const mavlink_gps_global_origin_t * | gps_global_origin | ||
) | [inline, static] |
Encode a gps_global_origin 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 |
gps_global_origin | C-struct to read the message contents from |
Definition at line 129 of file mavlink_msg_gps_global_origin.h.
static int32_t mavlink_msg_gps_global_origin_get_altitude | ( | const mavlink_message_t * | msg | ) | [inline, static] |
Get field altitude from gps_global_origin message.
Definition at line 237 of file mavlink_msg_gps_global_origin.h.
static int32_t mavlink_msg_gps_global_origin_get_latitude | ( | const mavlink_message_t * | msg | ) | [inline, static] |
Send a gps_global_origin message.
chan | MAVLink channel to send the message |
latitude | Latitude (WGS84), in degrees * 1E7 |
longitude | Longitude (WGS84), in degrees * 1E7 |
altitude | Altitude (AMSL), in meters * 1000 (positive for up) Get field latitude from gps_global_origin message |
Definition at line 217 of file mavlink_msg_gps_global_origin.h.
static int32_t mavlink_msg_gps_global_origin_get_longitude | ( | const mavlink_message_t * | msg | ) | [inline, static] |
Get field longitude from gps_global_origin message.
Definition at line 227 of file mavlink_msg_gps_global_origin.h.
static uint16_t mavlink_msg_gps_global_origin_pack | ( | uint8_t | system_id, |
uint8_t | component_id, | ||
mavlink_message_t * | msg, | ||
int32_t | latitude, | ||
int32_t | longitude, | ||
int32_t | altitude | ||
) | [inline, static] |
Pack a gps_global_origin 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 |
latitude | Latitude (WGS84), in degrees * 1E7 |
longitude | Longitude (WGS84), in degrees * 1E7 |
altitude | Altitude (AMSL), in meters * 1000 (positive for up) |
Definition at line 41 of file mavlink_msg_gps_global_origin.h.
static uint16_t mavlink_msg_gps_global_origin_pack_chan | ( | uint8_t | system_id, |
uint8_t | component_id, | ||
uint8_t | chan, | ||
mavlink_message_t * | msg, | ||
int32_t | latitude, | ||
int32_t | longitude, | ||
int32_t | altitude | ||
) | [inline, static] |
Pack a gps_global_origin 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 |
latitude | Latitude (WGS84), in degrees * 1E7 |
longitude | Longitude (WGS84), in degrees * 1E7 |
altitude | Altitude (AMSL), in meters * 1000 (positive for up) |
Definition at line 79 of file mavlink_msg_gps_global_origin.h.