Go to the source code of this file.
Classes | |
struct | __mavlink_set_gps_global_origin_t |
Macros | |
#define | MAVLINK_MESSAGE_INFO_SET_GPS_GLOBAL_ORIGIN |
#define | MAVLINK_MSG_ID_48_CRC 41 |
#define | MAVLINK_MSG_ID_48_LEN 13 |
#define | MAVLINK_MSG_ID_SET_GPS_GLOBAL_ORIGIN 48 |
#define | MAVLINK_MSG_ID_SET_GPS_GLOBAL_ORIGIN_CRC 41 |
#define | MAVLINK_MSG_ID_SET_GPS_GLOBAL_ORIGIN_LEN 13 |
Typedefs | |
typedef struct __mavlink_set_gps_global_origin_t | mavlink_set_gps_global_origin_t |
Functions | |
static void | mavlink_msg_set_gps_global_origin_decode (const mavlink_message_t *msg, mavlink_set_gps_global_origin_t *set_gps_global_origin) |
Decode a set_gps_global_origin message into a struct. More... | |
static uint16_t | mavlink_msg_set_gps_global_origin_encode (uint8_t system_id, uint8_t component_id, mavlink_message_t *msg, const mavlink_set_gps_global_origin_t *set_gps_global_origin) |
Encode a set_gps_global_origin struct. More... | |
static uint16_t | mavlink_msg_set_gps_global_origin_encode_chan (uint8_t system_id, uint8_t component_id, uint8_t chan, mavlink_message_t *msg, const mavlink_set_gps_global_origin_t *set_gps_global_origin) |
Encode a set_gps_global_origin struct on a channel. More... | |
static int32_t | mavlink_msg_set_gps_global_origin_get_altitude (const mavlink_message_t *msg) |
Get field altitude from set_gps_global_origin message. More... | |
static int32_t | mavlink_msg_set_gps_global_origin_get_latitude (const mavlink_message_t *msg) |
Get field latitude from set_gps_global_origin message. More... | |
static int32_t | mavlink_msg_set_gps_global_origin_get_longitude (const mavlink_message_t *msg) |
Get field longitude from set_gps_global_origin message. More... | |
static uint8_t | mavlink_msg_set_gps_global_origin_get_target_system (const mavlink_message_t *msg) |
Send a set_gps_global_origin message. More... | |
static uint16_t | mavlink_msg_set_gps_global_origin_pack (uint8_t system_id, uint8_t component_id, mavlink_message_t *msg, uint8_t target_system, int32_t latitude, int32_t longitude, int32_t altitude) |
Pack a set_gps_global_origin message. More... | |
static uint16_t | mavlink_msg_set_gps_global_origin_pack_chan (uint8_t system_id, uint8_t component_id, uint8_t chan, mavlink_message_t *msg, uint8_t target_system, int32_t latitude, int32_t longitude, int32_t altitude) |
Pack a set_gps_global_origin message on a channel. More... | |
#define MAVLINK_MESSAGE_INFO_SET_GPS_GLOBAL_ORIGIN |
Definition at line 21 of file mavlink_msg_set_gps_global_origin.h.
#define MAVLINK_MSG_ID_48_CRC 41 |
Definition at line 17 of file mavlink_msg_set_gps_global_origin.h.
#define MAVLINK_MSG_ID_48_LEN 13 |
Definition at line 14 of file mavlink_msg_set_gps_global_origin.h.
#define MAVLINK_MSG_ID_SET_GPS_GLOBAL_ORIGIN 48 |
Definition at line 3 of file mavlink_msg_set_gps_global_origin.h.
#define MAVLINK_MSG_ID_SET_GPS_GLOBAL_ORIGIN_CRC 41 |
Definition at line 16 of file mavlink_msg_set_gps_global_origin.h.
#define MAVLINK_MSG_ID_SET_GPS_GLOBAL_ORIGIN_LEN 13 |
Definition at line 13 of file mavlink_msg_set_gps_global_origin.h.
typedef struct __mavlink_set_gps_global_origin_t mavlink_set_gps_global_origin_t |
|
inlinestatic |
Decode a set_gps_global_origin message into a struct.
msg | The message to decode |
set_gps_global_origin | C-struct to decode the message contents into |
Definition at line 271 of file mavlink_msg_set_gps_global_origin.h.
|
inlinestatic |
Encode a set_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 |
set_gps_global_origin | C-struct to read the message contents from |
Definition at line 123 of file mavlink_msg_set_gps_global_origin.h.
|
inlinestatic |
Encode a set_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 |
set_gps_global_origin | C-struct to read the message contents from |
Definition at line 137 of file mavlink_msg_set_gps_global_origin.h.
|
inlinestatic |
Get field altitude from set_gps_global_origin message.
Definition at line 260 of file mavlink_msg_set_gps_global_origin.h.
|
inlinestatic |
Get field latitude from set_gps_global_origin message.
Definition at line 240 of file mavlink_msg_set_gps_global_origin.h.
|
inlinestatic |
Get field longitude from set_gps_global_origin message.
Definition at line 250 of file mavlink_msg_set_gps_global_origin.h.
|
inlinestatic |
Send a set_gps_global_origin message.
chan | MAVLink channel to send the message |
target_system | System ID |
latitude | Latitude (WGS84), in degrees * 1E7 |
longitude | Longitude (WGS84, in degrees * 1E7 |
altitude | Altitude (AMSL), in meters * 1000 (positive for up) Get field target_system from set_gps_global_origin message |
Definition at line 230 of file mavlink_msg_set_gps_global_origin.h.
|
inlinestatic |
Pack a set_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 |
target_system | System ID |
latitude | Latitude (WGS84), in degrees * 1E7 |
longitude | Longitude (WGS84, in degrees * 1E7 |
altitude | Altitude (AMSL), in meters * 1000 (positive for up) |
Definition at line 44 of file mavlink_msg_set_gps_global_origin.h.
|
inlinestatic |
Pack a set_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 |
target_system | System ID |
latitude | Latitude (WGS84), in degrees * 1E7 |
longitude | Longitude (WGS84, in degrees * 1E7 |
altitude | Altitude (AMSL), in meters * 1000 (positive for up) |
Definition at line 85 of file mavlink_msg_set_gps_global_origin.h.