Go to the source code of this file.
Classes | |
struct | __mavlink_debug_t |
Defines | |
#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 |
Typedefs | |
typedef struct __mavlink_debug_t | mavlink_debug_t |
Functions | |
static void | mavlink_msg_debug_decode (const mavlink_message_t *msg, mavlink_debug_t *debug) |
Decode a debug message into a struct. | |
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. | |
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. | |
static uint8_t | mavlink_msg_debug_get_ind (const mavlink_message_t *msg) |
Get field ind from debug message. | |
static uint32_t | mavlink_msg_debug_get_time_boot_ms (const mavlink_message_t *msg) |
Send a debug message. | |
static float | mavlink_msg_debug_get_value (const mavlink_message_t *msg) |
Get field value from debug message. | |
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. | |
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. |
#define MAVLINK_MESSAGE_INFO_DEBUG |
{ \ "DEBUG", \ 3, \ { { "time_boot_ms", NULL, MAVLINK_TYPE_UINT32_T, 0, 0, offsetof(mavlink_debug_t, time_boot_ms) }, \ { "value", NULL, MAVLINK_TYPE_FLOAT, 0, 4, offsetof(mavlink_debug_t, value) }, \ { "ind", NULL, MAVLINK_TYPE_UINT8_T, 0, 8, offsetof(mavlink_debug_t, ind) }, \ } \ }
Definition at line 20 of file mavlink_msg_debug.h.
#define MAVLINK_MSG_ID_254_CRC 46 |
Definition at line 16 of file mavlink_msg_debug.h.
#define MAVLINK_MSG_ID_254_LEN 9 |
Definition at line 13 of file mavlink_msg_debug.h.
#define MAVLINK_MSG_ID_DEBUG 254 |
Definition at line 3 of file mavlink_msg_debug.h.
#define MAVLINK_MSG_ID_DEBUG_CRC 46 |
Definition at line 15 of file mavlink_msg_debug.h.
#define MAVLINK_MSG_ID_DEBUG_LEN 9 |
Definition at line 12 of file mavlink_msg_debug.h.
typedef struct __mavlink_debug_t mavlink_debug_t |
static void mavlink_msg_debug_decode | ( | const mavlink_message_t * | msg, |
mavlink_debug_t * | debug | ||
) | [inline, static] |
Decode a debug message into a struct.
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 | ||
) | [inline, static] |
Encode a debug 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 |
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 | ||
) | [inline, static] |
Encode a debug 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 |
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 | ) | [inline, static] |
Get field ind from debug message.
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 | ) | [inline, static] |
Send a debug message.
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 |
Definition at line 217 of file mavlink_msg_debug.h.
static float mavlink_msg_debug_get_value | ( | const mavlink_message_t * | msg | ) | [inline, static] |
Get field value from debug message.
Definition at line 237 of file mavlink_msg_debug.h.
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 | ||
) | [inline, static] |
Pack a debug 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 |
time_boot_ms | Timestamp (milliseconds since system boot) |
ind | index of debug variable |
value | DEBUG value |
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 | ||
) | [inline, static] |
Pack a debug 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 |
time_boot_ms | Timestamp (milliseconds since system boot) |
ind | index of debug variable |
value | DEBUG value |
Definition at line 79 of file mavlink_msg_debug.h.