Go to the source code of this file.
Classes | |
struct | __mavlink_terrain_request_t |
Macros | |
#define | MAVLINK_MESSAGE_INFO_TERRAIN_REQUEST |
#define | MAVLINK_MSG_ID_133_CRC 6 |
#define | MAVLINK_MSG_ID_133_LEN 18 |
#define | MAVLINK_MSG_ID_TERRAIN_REQUEST 133 |
#define | MAVLINK_MSG_ID_TERRAIN_REQUEST_CRC 6 |
#define | MAVLINK_MSG_ID_TERRAIN_REQUEST_LEN 18 |
Typedefs | |
typedef struct __mavlink_terrain_request_t | mavlink_terrain_request_t |
Functions | |
static void | mavlink_msg_terrain_request_decode (const mavlink_message_t *msg, mavlink_terrain_request_t *terrain_request) |
Decode a terrain_request message into a struct. More... | |
static uint16_t | mavlink_msg_terrain_request_encode (uint8_t system_id, uint8_t component_id, mavlink_message_t *msg, const mavlink_terrain_request_t *terrain_request) |
Encode a terrain_request struct. More... | |
static uint16_t | mavlink_msg_terrain_request_encode_chan (uint8_t system_id, uint8_t component_id, uint8_t chan, mavlink_message_t *msg, const mavlink_terrain_request_t *terrain_request) |
Encode a terrain_request struct on a channel. More... | |
static uint16_t | mavlink_msg_terrain_request_get_grid_spacing (const mavlink_message_t *msg) |
Get field grid_spacing from terrain_request message. More... | |
static int32_t | mavlink_msg_terrain_request_get_lat (const mavlink_message_t *msg) |
Send a terrain_request message. More... | |
static int32_t | mavlink_msg_terrain_request_get_lon (const mavlink_message_t *msg) |
Get field lon from terrain_request message. More... | |
static uint64_t | mavlink_msg_terrain_request_get_mask (const mavlink_message_t *msg) |
Get field mask from terrain_request message. More... | |
static uint16_t | mavlink_msg_terrain_request_pack (uint8_t system_id, uint8_t component_id, mavlink_message_t *msg, int32_t lat, int32_t lon, uint16_t grid_spacing, uint64_t mask) |
Pack a terrain_request message. More... | |
static uint16_t | mavlink_msg_terrain_request_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, uint64_t mask) |
Pack a terrain_request message on a channel. More... | |
#define MAVLINK_MESSAGE_INFO_TERRAIN_REQUEST |
Definition at line 21 of file mavlink_msg_terrain_request.h.
#define MAVLINK_MSG_ID_133_CRC 6 |
Definition at line 17 of file mavlink_msg_terrain_request.h.
#define MAVLINK_MSG_ID_133_LEN 18 |
Definition at line 14 of file mavlink_msg_terrain_request.h.
#define MAVLINK_MSG_ID_TERRAIN_REQUEST 133 |
Definition at line 3 of file mavlink_msg_terrain_request.h.
#define MAVLINK_MSG_ID_TERRAIN_REQUEST_CRC 6 |
Definition at line 16 of file mavlink_msg_terrain_request.h.
#define MAVLINK_MSG_ID_TERRAIN_REQUEST_LEN 18 |
Definition at line 13 of file mavlink_msg_terrain_request.h.
typedef struct __mavlink_terrain_request_t mavlink_terrain_request_t |
|
inlinestatic |
Decode a terrain_request message into a struct.
msg | The message to decode |
terrain_request | C-struct to decode the message contents into |
Definition at line 271 of file mavlink_msg_terrain_request.h.
|
inlinestatic |
Encode a terrain_request 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_request | C-struct to read the message contents from |
Definition at line 123 of file mavlink_msg_terrain_request.h.
|
inlinestatic |
Encode a terrain_request 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_request | C-struct to read the message contents from |
Definition at line 137 of file mavlink_msg_terrain_request.h.
|
inlinestatic |
Get field grid_spacing from terrain_request message.
Definition at line 250 of file mavlink_msg_terrain_request.h.
|
inlinestatic |
Send a terrain_request 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 |
mask | Bitmask of requested 4x4 grids (row major 8x7 array of grids, 56 bits) Get field lat from terrain_request message |
Definition at line 230 of file mavlink_msg_terrain_request.h.
|
inlinestatic |
Get field lon from terrain_request message.
Definition at line 240 of file mavlink_msg_terrain_request.h.
|
inlinestatic |
Get field mask from terrain_request message.
Definition at line 260 of file mavlink_msg_terrain_request.h.
|
inlinestatic |
Pack a terrain_request 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 |
mask | Bitmask of requested 4x4 grids (row major 8x7 array of grids, 56 bits) |
Definition at line 44 of file mavlink_msg_terrain_request.h.
|
inlinestatic |
Pack a terrain_request 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 |
mask | Bitmask of requested 4x4 grids (row major 8x7 array of grids, 56 bits) |
Definition at line 85 of file mavlink_msg_terrain_request.h.