Go to the source code of this file.
Classes | |
struct | __mavlink_terrain_report_t |
Macros | |
#define | MAVLINK_MESSAGE_INFO_TERRAIN_REPORT |
#define | MAVLINK_MSG_ID_136_CRC 1 |
#define | MAVLINK_MSG_ID_136_LEN 22 |
#define | MAVLINK_MSG_ID_TERRAIN_REPORT 136 |
#define | MAVLINK_MSG_ID_TERRAIN_REPORT_CRC 1 |
#define | MAVLINK_MSG_ID_TERRAIN_REPORT_LEN 22 |
Typedefs | |
typedef struct __mavlink_terrain_report_t | mavlink_terrain_report_t |
Functions | |
static void | mavlink_msg_terrain_report_decode (const mavlink_message_t *msg, mavlink_terrain_report_t *terrain_report) |
Decode a terrain_report message into a struct. More... | |
static uint16_t | mavlink_msg_terrain_report_encode (uint8_t system_id, uint8_t component_id, mavlink_message_t *msg, const mavlink_terrain_report_t *terrain_report) |
Encode a terrain_report struct. More... | |
static uint16_t | mavlink_msg_terrain_report_encode_chan (uint8_t system_id, uint8_t component_id, uint8_t chan, mavlink_message_t *msg, const mavlink_terrain_report_t *terrain_report) |
Encode a terrain_report struct on a channel. More... | |
static float | mavlink_msg_terrain_report_get_current_height (const mavlink_message_t *msg) |
Get field current_height from terrain_report message. More... | |
static int32_t | mavlink_msg_terrain_report_get_lat (const mavlink_message_t *msg) |
Send a terrain_report message. More... | |
static uint16_t | mavlink_msg_terrain_report_get_loaded (const mavlink_message_t *msg) |
Get field loaded from terrain_report message. More... | |
static int32_t | mavlink_msg_terrain_report_get_lon (const mavlink_message_t *msg) |
Get field lon from terrain_report message. More... | |
static uint16_t | mavlink_msg_terrain_report_get_pending (const mavlink_message_t *msg) |
Get field pending from terrain_report message. More... | |
static uint16_t | mavlink_msg_terrain_report_get_spacing (const mavlink_message_t *msg) |
Get field spacing from terrain_report message. More... | |
static float | mavlink_msg_terrain_report_get_terrain_height (const mavlink_message_t *msg) |
Get field terrain_height from terrain_report message. More... | |
static uint16_t | mavlink_msg_terrain_report_pack (uint8_t system_id, uint8_t component_id, mavlink_message_t *msg, int32_t lat, int32_t lon, uint16_t spacing, float terrain_height, float current_height, uint16_t pending, uint16_t loaded) |
Pack a terrain_report message. More... | |
static uint16_t | mavlink_msg_terrain_report_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 spacing, float terrain_height, float current_height, uint16_t pending, uint16_t loaded) |
Pack a terrain_report message on a channel. More... | |
#define MAVLINK_MESSAGE_INFO_TERRAIN_REPORT |
Definition at line 24 of file mavlink_msg_terrain_report.h.
#define MAVLINK_MSG_ID_136_CRC 1 |
Definition at line 20 of file mavlink_msg_terrain_report.h.
#define MAVLINK_MSG_ID_136_LEN 22 |
Definition at line 17 of file mavlink_msg_terrain_report.h.
#define MAVLINK_MSG_ID_TERRAIN_REPORT 136 |
Definition at line 3 of file mavlink_msg_terrain_report.h.
#define MAVLINK_MSG_ID_TERRAIN_REPORT_CRC 1 |
Definition at line 19 of file mavlink_msg_terrain_report.h.
#define MAVLINK_MSG_ID_TERRAIN_REPORT_LEN 22 |
Definition at line 16 of file mavlink_msg_terrain_report.h.
typedef struct __mavlink_terrain_report_t mavlink_terrain_report_t |
|
inlinestatic |
Decode a terrain_report message into a struct.
msg | The message to decode |
terrain_report | C-struct to decode the message contents into |
Definition at line 340 of file mavlink_msg_terrain_report.h.
|
inlinestatic |
Encode a terrain_report 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_report | C-struct to read the message contents from |
Definition at line 147 of file mavlink_msg_terrain_report.h.
|
inlinestatic |
Encode a terrain_report 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_report | C-struct to read the message contents from |
Definition at line 161 of file mavlink_msg_terrain_report.h.
|
inlinestatic |
Get field current_height from terrain_report message.
Definition at line 309 of file mavlink_msg_terrain_report.h.
|
inlinestatic |
Send a terrain_report message.
chan | MAVLink channel to send the message |
lat | Latitude (degrees *10^7) |
lon | Longitude (degrees *10^7) |
spacing | grid spacing (zero if terrain at this location unavailable) |
terrain_height | Terrain height in meters AMSL |
current_height | Current vehicle height above lat/lon terrain height (meters) |
pending | Number of 4x4 terrain blocks waiting to be received or read from disk |
loaded | Number of 4x4 terrain blocks in memory Get field lat from terrain_report message |
Definition at line 269 of file mavlink_msg_terrain_report.h.
|
inlinestatic |
Get field loaded from terrain_report message.
Definition at line 329 of file mavlink_msg_terrain_report.h.
|
inlinestatic |
Get field lon from terrain_report message.
Definition at line 279 of file mavlink_msg_terrain_report.h.
|
inlinestatic |
Get field pending from terrain_report message.
Definition at line 319 of file mavlink_msg_terrain_report.h.
|
inlinestatic |
Get field spacing from terrain_report message.
Definition at line 289 of file mavlink_msg_terrain_report.h.
|
inlinestatic |
Get field terrain_height from terrain_report message.
Definition at line 299 of file mavlink_msg_terrain_report.h.
|
inlinestatic |
Pack a terrain_report 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 (degrees *10^7) |
lon | Longitude (degrees *10^7) |
spacing | grid spacing (zero if terrain at this location unavailable) |
terrain_height | Terrain height in meters AMSL |
current_height | Current vehicle height above lat/lon terrain height (meters) |
pending | Number of 4x4 terrain blocks waiting to be received or read from disk |
loaded | Number of 4x4 terrain blocks in memory |
Definition at line 53 of file mavlink_msg_terrain_report.h.
|
inlinestatic |
Pack a terrain_report 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 (degrees *10^7) |
lon | Longitude (degrees *10^7) |
spacing | grid spacing (zero if terrain at this location unavailable) |
terrain_height | Terrain height in meters AMSL |
current_height | Current vehicle height above lat/lon terrain height (meters) |
pending | Number of 4x4 terrain blocks waiting to be received or read from disk |
loaded | Number of 4x4 terrain blocks in memory |
Definition at line 103 of file mavlink_msg_terrain_report.h.