Go to the source code of this file.
|
static void | mavlink_msg_debug_decode (const mavlink_message_t *msg, mavlink_debug_t *debug) |
| Decode a debug message into a struct. More...
|
|
static uint16_t | mavlink_msg_debug_encode (uint8_t system_id, uint8_t component_id, mavlink_message_t *msg, const mavlink_debug_t *debug) |
| Encode a debug struct. More...
|
|
static uint16_t | mavlink_msg_debug_encode_chan (uint8_t system_id, uint8_t component_id, uint8_t chan, mavlink_message_t *msg, const mavlink_debug_t *debug) |
| Encode a debug struct on a channel. More...
|
|
static uint8_t | mavlink_msg_debug_get_ind (const mavlink_message_t *msg) |
| Get field ind from debug message. More...
|
|
static uint32_t | mavlink_msg_debug_get_time_boot_ms (const mavlink_message_t *msg) |
| Send a debug message. More...
|
|
static float | mavlink_msg_debug_get_value (const mavlink_message_t *msg) |
| Get field value from debug message. More...
|
|
static uint16_t | mavlink_msg_debug_pack (uint8_t system_id, uint8_t component_id, mavlink_message_t *msg, uint32_t time_boot_ms, uint8_t ind, float value) |
| Pack a debug message. More...
|
|
static uint16_t | mavlink_msg_debug_pack_chan (uint8_t system_id, uint8_t component_id, uint8_t chan, mavlink_message_t *msg, uint32_t time_boot_ms, uint8_t ind, float value) |
| Pack a debug message on a channel. More...
|
|
#define MAVLINK_MESSAGE_INFO_DEBUG |
#define MAVLINK_MSG_ID_254_CRC 46 |
#define MAVLINK_MSG_ID_254_LEN 9 |
#define MAVLINK_MSG_ID_DEBUG 254 |
#define MAVLINK_MSG_ID_DEBUG_CRC 46 |
#define MAVLINK_MSG_ID_DEBUG_LEN 9 |
static void mavlink_msg_debug_decode |
( |
const mavlink_message_t * |
msg, |
|
|
mavlink_debug_t * |
debug |
|
) |
| |
|
inlinestatic |
Decode a debug message into a struct.
- Parameters
-
msg | The message to decode |
debug | C-struct to decode the message contents into |
Definition at line 248 of file mavlink_msg_debug.h.
static uint16_t mavlink_msg_debug_encode |
( |
uint8_t |
system_id, |
|
|
uint8_t |
component_id, |
|
|
mavlink_message_t * |
msg, |
|
|
const mavlink_debug_t * |
debug |
|
) |
| |
|
inlinestatic |
Encode a debug struct.
- Parameters
-
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 |
debug | C-struct to read the message contents from |
Definition at line 115 of file mavlink_msg_debug.h.
static uint16_t mavlink_msg_debug_encode_chan |
( |
uint8_t |
system_id, |
|
|
uint8_t |
component_id, |
|
|
uint8_t |
chan, |
|
|
mavlink_message_t * |
msg, |
|
|
const mavlink_debug_t * |
debug |
|
) |
| |
|
inlinestatic |
Encode a debug struct on a channel.
- Parameters
-
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 |
debug | C-struct to read the message contents from |
Definition at line 129 of file mavlink_msg_debug.h.
static uint8_t mavlink_msg_debug_get_ind |
( |
const mavlink_message_t * |
msg | ) |
|
|
inlinestatic |
Get field ind from debug message.
- Returns
- index of debug variable
Definition at line 227 of file mavlink_msg_debug.h.
static uint32_t mavlink_msg_debug_get_time_boot_ms |
( |
const mavlink_message_t * |
msg | ) |
|
|
inlinestatic |
Send a debug message.
- Parameters
-
chan | MAVLink channel to send the message |
time_boot_ms | Timestamp (milliseconds since system boot) |
ind | index of debug variable |
value | DEBUG value Get field time_boot_ms from debug message |
- Returns
- Timestamp (milliseconds since system boot)
Definition at line 217 of file mavlink_msg_debug.h.
static float mavlink_msg_debug_get_value |
( |
const mavlink_message_t * |
msg | ) |
|
|
inlinestatic |
static uint16_t mavlink_msg_debug_pack |
( |
uint8_t |
system_id, |
|
|
uint8_t |
component_id, |
|
|
mavlink_message_t * |
msg, |
|
|
uint32_t |
time_boot_ms, |
|
|
uint8_t |
ind, |
|
|
float |
value |
|
) |
| |
|
inlinestatic |
Pack a debug message.
- Parameters
-
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 |
time_boot_ms | Timestamp (milliseconds since system boot) |
ind | index of debug variable |
value | DEBUG value |
- Returns
- length of the message in bytes (excluding serial stream start sign)
Definition at line 41 of file mavlink_msg_debug.h.
static uint16_t mavlink_msg_debug_pack_chan |
( |
uint8_t |
system_id, |
|
|
uint8_t |
component_id, |
|
|
uint8_t |
chan, |
|
|
mavlink_message_t * |
msg, |
|
|
uint32_t |
time_boot_ms, |
|
|
uint8_t |
ind, |
|
|
float |
value |
|
) |
| |
|
inlinestatic |
Pack a debug message on a channel.
- Parameters
-
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 |
time_boot_ms | Timestamp (milliseconds since system boot) |
ind | index of debug variable |
value | DEBUG value |
- Returns
- length of the message in bytes (excluding serial stream start sign)
Definition at line 79 of file mavlink_msg_debug.h.