Go to the source code of this file.
Classes | |
struct | __mavlink_terrain_data_t |
Macros | |
#define | MAVLINK_MESSAGE_INFO_TERRAIN_DATA |
#define | MAVLINK_MSG_ID_134_CRC 229 |
#define | MAVLINK_MSG_ID_134_LEN 43 |
#define | MAVLINK_MSG_ID_TERRAIN_DATA 134 |
#define | MAVLINK_MSG_ID_TERRAIN_DATA_CRC 229 |
#define | MAVLINK_MSG_ID_TERRAIN_DATA_LEN 43 |
#define | MAVLINK_MSG_TERRAIN_DATA_FIELD_DATA_LEN 16 |
Typedefs | |
typedef struct __mavlink_terrain_data_t | mavlink_terrain_data_t |
Functions | |
static void | mavlink_msg_terrain_data_decode (const mavlink_message_t *msg, mavlink_terrain_data_t *terrain_data) |
Decode a terrain_data message into a struct. More... | |
static uint16_t | mavlink_msg_terrain_data_encode (uint8_t system_id, uint8_t component_id, mavlink_message_t *msg, const mavlink_terrain_data_t *terrain_data) |
Encode a terrain_data struct. More... | |
static uint16_t | mavlink_msg_terrain_data_encode_chan (uint8_t system_id, uint8_t component_id, uint8_t chan, mavlink_message_t *msg, const mavlink_terrain_data_t *terrain_data) |
Encode a terrain_data struct on a channel. More... | |
static uint16_t | mavlink_msg_terrain_data_get_data (const mavlink_message_t *msg, int16_t *data) |
Get field data from terrain_data message. More... | |
static uint16_t | mavlink_msg_terrain_data_get_grid_spacing (const mavlink_message_t *msg) |
Get field grid_spacing from terrain_data message. More... | |
static uint8_t | mavlink_msg_terrain_data_get_gridbit (const mavlink_message_t *msg) |
Get field gridbit from terrain_data message. More... | |
static int32_t | mavlink_msg_terrain_data_get_lat (const mavlink_message_t *msg) |
Send a terrain_data message. More... | |
static int32_t | mavlink_msg_terrain_data_get_lon (const mavlink_message_t *msg) |
Get field lon from terrain_data message. More... | |
static uint16_t | mavlink_msg_terrain_data_pack (uint8_t system_id, uint8_t component_id, mavlink_message_t *msg, int32_t lat, int32_t lon, uint16_t grid_spacing, uint8_t gridbit, const int16_t *data) |
Pack a terrain_data message. More... | |
static uint16_t | mavlink_msg_terrain_data_pack_chan (uint8_t system_id, uint8_t component_id, uint8_t chan, mavlink_message_t *msg, int32_t lat, int32_t lon, uint16_t grid_spacing, uint8_t gridbit, const int16_t *data) |
Pack a terrain_data message on a channel. More... | |
#define MAVLINK_MESSAGE_INFO_TERRAIN_DATA |
Definition at line 22 of file mavlink_msg_terrain_data.h.
#define MAVLINK_MSG_ID_134_CRC 229 |
Definition at line 18 of file mavlink_msg_terrain_data.h.
#define MAVLINK_MSG_ID_134_LEN 43 |
Definition at line 15 of file mavlink_msg_terrain_data.h.
#define MAVLINK_MSG_ID_TERRAIN_DATA 134 |
Definition at line 3 of file mavlink_msg_terrain_data.h.
#define MAVLINK_MSG_ID_TERRAIN_DATA_CRC 229 |
Definition at line 17 of file mavlink_msg_terrain_data.h.
#define MAVLINK_MSG_ID_TERRAIN_DATA_LEN 43 |
Definition at line 14 of file mavlink_msg_terrain_data.h.
#define MAVLINK_MSG_TERRAIN_DATA_FIELD_DATA_LEN 16 |
Definition at line 20 of file mavlink_msg_terrain_data.h.
typedef struct __mavlink_terrain_data_t mavlink_terrain_data_t |
|
inlinestatic |
Decode a terrain_data message into a struct.
msg | The message to decode |
terrain_data | C-struct to decode the message contents into |
Definition at line 286 of file mavlink_msg_terrain_data.h.
|
inlinestatic |
Encode a terrain_data 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 |
terrain_data | C-struct to read the message contents from |
Definition at line 127 of file mavlink_msg_terrain_data.h.
|
inlinestatic |
Encode a terrain_data 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 |
terrain_data | C-struct to read the message contents from |
Definition at line 141 of file mavlink_msg_terrain_data.h.
|
inlinestatic |
Get field data from terrain_data message.
Definition at line 275 of file mavlink_msg_terrain_data.h.
|
inlinestatic |
Get field grid_spacing from terrain_data message.
Definition at line 255 of file mavlink_msg_terrain_data.h.
|
inlinestatic |
Get field gridbit from terrain_data message.
Definition at line 265 of file mavlink_msg_terrain_data.h.
|
inlinestatic |
Send a terrain_data message.
chan | MAVLink channel to send the message |
lat | Latitude of SW corner of first grid (degrees *10^7) |
lon | Longitude of SW corner of first grid (in degrees *10^7) |
grid_spacing | Grid spacing in meters |
gridbit | bit within the terrain request mask |
data | Terrain data in meters AMSL Get field lat from terrain_data message |
Definition at line 235 of file mavlink_msg_terrain_data.h.
|
inlinestatic |
Get field lon from terrain_data message.
Definition at line 245 of file mavlink_msg_terrain_data.h.
|
inlinestatic |
Pack a terrain_data 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 |
lat | Latitude of SW corner of first grid (degrees *10^7) |
lon | Longitude of SW corner of first grid (in degrees *10^7) |
grid_spacing | Grid spacing in meters |
gridbit | bit within the terrain request mask |
data | Terrain data in meters AMSL |
Definition at line 47 of file mavlink_msg_terrain_data.h.
|
inlinestatic |
Pack a terrain_data 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 |
lat | Latitude of SW corner of first grid (degrees *10^7) |
lon | Longitude of SW corner of first grid (in degrees *10^7) |
grid_spacing | Grid spacing in meters |
gridbit | bit within the terrain request mask |
data | Terrain data in meters AMSL |
Definition at line 89 of file mavlink_msg_terrain_data.h.