Classes | Macros | Typedefs | Functions
mavlink_msg_gps_global_origin.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_gps_global_origin_t
 

Macros

#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. More...
 
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. More...
 
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. More...
 
static int32_t mavlink_msg_gps_global_origin_get_altitude (const mavlink_message_t *msg)
 Get field altitude from gps_global_origin message. More...
 
static int32_t mavlink_msg_gps_global_origin_get_latitude (const mavlink_message_t *msg)
 Send a gps_global_origin message. More...
 
static int32_t mavlink_msg_gps_global_origin_get_longitude (const mavlink_message_t *msg)
 Get field longitude from gps_global_origin message. More...
 
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. More...
 
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. More...
 

Macro Definition Documentation

#define MAVLINK_MESSAGE_INFO_GPS_GLOBAL_ORIGIN
Value:
{ \
"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 Documentation

Function Documentation

static void mavlink_msg_gps_global_origin_decode ( const mavlink_message_t *  msg,
mavlink_gps_global_origin_t gps_global_origin 
)
inlinestatic

Decode a gps_global_origin message into a struct.

Parameters
msgThe message to decode
gps_global_originC-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 
)
inlinestatic

Encode a gps_global_origin 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
gps_global_originC-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 
)
inlinestatic

Encode a gps_global_origin 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
gps_global_originC-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)
inlinestatic

Get field altitude from gps_global_origin message.

Returns
Altitude (AMSL), in meters * 1000 (positive for up)

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)
inlinestatic

Send a gps_global_origin message.

Parameters
chanMAVLink channel to send the message
latitudeLatitude (WGS84), in degrees * 1E7
longitudeLongitude (WGS84), in degrees * 1E7
altitudeAltitude (AMSL), in meters * 1000 (positive for up) Get field latitude from gps_global_origin message
Returns
Latitude (WGS84), in degrees * 1E7

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)
inlinestatic

Get field longitude from gps_global_origin message.

Returns
Longitude (WGS84), in degrees * 1E7

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 
)
inlinestatic

Pack a gps_global_origin 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
latitudeLatitude (WGS84), in degrees * 1E7
longitudeLongitude (WGS84), in degrees * 1E7
altitudeAltitude (AMSL), in meters * 1000 (positive for up)
Returns
length of the message in bytes (excluding serial stream start sign)

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 
)
inlinestatic

Pack a gps_global_origin 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
latitudeLatitude (WGS84), in degrees * 1E7
longitudeLongitude (WGS84), in degrees * 1E7
altitudeAltitude (AMSL), in meters * 1000 (positive for up)
Returns
length of the message in bytes (excluding serial stream start sign)

Definition at line 79 of file mavlink_msg_gps_global_origin.h.



rosflight
Author(s): Daniel Koch , James Jackson
autogenerated on Wed Jul 3 2019 20:00:13