Go to the source code of this file.
Classes | |
struct | __mavlink_small_range_t |
Macros | |
#define | MAVLINK_MESSAGE_INFO_SMALL_RANGE |
#define | MAVLINK_MSG_ID_187_CRC 60 |
#define | MAVLINK_MSG_ID_187_LEN 13 |
#define | MAVLINK_MSG_ID_SMALL_RANGE 187 |
#define | MAVLINK_MSG_ID_SMALL_RANGE_CRC 60 |
#define | MAVLINK_MSG_ID_SMALL_RANGE_LEN 13 |
Typedefs | |
typedef struct __mavlink_small_range_t | mavlink_small_range_t |
Functions | |
static void | mavlink_msg_small_range_decode (const mavlink_message_t *msg, mavlink_small_range_t *small_range) |
Decode a small_range message into a struct. More... | |
static uint16_t | mavlink_msg_small_range_encode (uint8_t system_id, uint8_t component_id, mavlink_message_t *msg, const mavlink_small_range_t *small_range) |
Encode a small_range struct. More... | |
static uint16_t | mavlink_msg_small_range_encode_chan (uint8_t system_id, uint8_t component_id, uint8_t chan, mavlink_message_t *msg, const mavlink_small_range_t *small_range) |
Encode a small_range struct on a channel. More... | |
static float | mavlink_msg_small_range_get_max_range (const mavlink_message_t *msg) |
Get field max_range from small_range message. More... | |
static float | mavlink_msg_small_range_get_min_range (const mavlink_message_t *msg) |
Get field min_range from small_range message. More... | |
static float | mavlink_msg_small_range_get_range (const mavlink_message_t *msg) |
Get field range from small_range message. More... | |
static uint8_t | mavlink_msg_small_range_get_type (const mavlink_message_t *msg) |
Send a small_range message. More... | |
static uint16_t | mavlink_msg_small_range_pack (uint8_t system_id, uint8_t component_id, mavlink_message_t *msg, uint8_t type, float range, float max_range, float min_range) |
Pack a small_range message. More... | |
static uint16_t | mavlink_msg_small_range_pack_chan (uint8_t system_id, uint8_t component_id, uint8_t chan, mavlink_message_t *msg, uint8_t type, float range, float max_range, float min_range) |
Pack a small_range message on a channel. More... | |
#define MAVLINK_MESSAGE_INFO_SMALL_RANGE |
Definition at line 21 of file mavlink_msg_small_range.h.
#define MAVLINK_MSG_ID_187_CRC 60 |
Definition at line 17 of file mavlink_msg_small_range.h.
#define MAVLINK_MSG_ID_187_LEN 13 |
Definition at line 14 of file mavlink_msg_small_range.h.
#define MAVLINK_MSG_ID_SMALL_RANGE 187 |
Definition at line 3 of file mavlink_msg_small_range.h.
#define MAVLINK_MSG_ID_SMALL_RANGE_CRC 60 |
Definition at line 16 of file mavlink_msg_small_range.h.
#define MAVLINK_MSG_ID_SMALL_RANGE_LEN 13 |
Definition at line 13 of file mavlink_msg_small_range.h.
typedef struct __mavlink_small_range_t mavlink_small_range_t |
|
inlinestatic |
Decode a small_range message into a struct.
msg | The message to decode |
small_range | C-struct to decode the message contents into |
Definition at line 271 of file mavlink_msg_small_range.h.
|
inlinestatic |
Encode a small_range 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 |
small_range | C-struct to read the message contents from |
Definition at line 123 of file mavlink_msg_small_range.h.
|
inlinestatic |
Encode a small_range 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 |
small_range | C-struct to read the message contents from |
Definition at line 137 of file mavlink_msg_small_range.h.
|
inlinestatic |
Get field max_range from small_range message.
Definition at line 250 of file mavlink_msg_small_range.h.
|
inlinestatic |
Get field min_range from small_range message.
Definition at line 260 of file mavlink_msg_small_range.h.
|
inlinestatic |
Get field range from small_range message.
Definition at line 240 of file mavlink_msg_small_range.h.
|
inlinestatic |
Send a small_range message.
chan | MAVLink channel to send the message |
type | Sensor type |
range | Range Measurement (m) |
max_range | Max Range (m) |
min_range | Min Range (m) Get field type from small_range message |
Definition at line 230 of file mavlink_msg_small_range.h.
|
inlinestatic |
Pack a small_range 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 |
type | Sensor type |
range | Range Measurement (m) |
max_range | Max Range (m) |
min_range | Min Range (m) |
Definition at line 44 of file mavlink_msg_small_range.h.
|
inlinestatic |
Pack a small_range 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 |
type | Sensor type |
range | Range Measurement (m) |
max_range | Max Range (m) |
min_range | Min Range (m) |
Definition at line 85 of file mavlink_msg_small_range.h.