Go to the source code of this file.
|
static void | mavlink_msg_rosflight_cmd_decode (const mavlink_message_t *msg, mavlink_rosflight_cmd_t *rosflight_cmd) |
| Decode a rosflight_cmd message into a struct. More...
|
|
static uint16_t | mavlink_msg_rosflight_cmd_encode (uint8_t system_id, uint8_t component_id, mavlink_message_t *msg, const mavlink_rosflight_cmd_t *rosflight_cmd) |
| Encode a rosflight_cmd struct. More...
|
|
static uint16_t | mavlink_msg_rosflight_cmd_encode_chan (uint8_t system_id, uint8_t component_id, uint8_t chan, mavlink_message_t *msg, const mavlink_rosflight_cmd_t *rosflight_cmd) |
| Encode a rosflight_cmd struct on a channel. More...
|
|
static uint8_t | mavlink_msg_rosflight_cmd_get_command (const mavlink_message_t *msg) |
| Send a rosflight_cmd message. More...
|
|
static uint16_t | mavlink_msg_rosflight_cmd_pack (uint8_t system_id, uint8_t component_id, mavlink_message_t *msg, uint8_t command) |
| Pack a rosflight_cmd message. More...
|
|
static uint16_t | mavlink_msg_rosflight_cmd_pack_chan (uint8_t system_id, uint8_t component_id, uint8_t chan, mavlink_message_t *msg, uint8_t command) |
| Pack a rosflight_cmd message on a channel. More...
|
|
#define MAVLINK_MESSAGE_INFO_ROSFLIGHT_CMD |
#define MAVLINK_MSG_ID_188_CRC 249 |
#define MAVLINK_MSG_ID_188_LEN 1 |
#define MAVLINK_MSG_ID_ROSFLIGHT_CMD 188 |
#define MAVLINK_MSG_ID_ROSFLIGHT_CMD_CRC 249 |
#define MAVLINK_MSG_ID_ROSFLIGHT_CMD_LEN 1 |
static void mavlink_msg_rosflight_cmd_decode |
( |
const mavlink_message_t * |
msg, |
|
|
mavlink_rosflight_cmd_t * |
rosflight_cmd |
|
) |
| |
|
inlinestatic |
Decode a rosflight_cmd message into a struct.
- Parameters
-
msg | The message to decode |
rosflight_cmd | C-struct to decode the message contents into |
Definition at line 202 of file mavlink_msg_rosflight_cmd.h.
static uint16_t mavlink_msg_rosflight_cmd_encode |
( |
uint8_t |
system_id, |
|
|
uint8_t |
component_id, |
|
|
mavlink_message_t * |
msg, |
|
|
const mavlink_rosflight_cmd_t * |
rosflight_cmd |
|
) |
| |
|
inlinestatic |
Encode a rosflight_cmd 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 |
rosflight_cmd | C-struct to read the message contents from |
Definition at line 99 of file mavlink_msg_rosflight_cmd.h.
static uint16_t mavlink_msg_rosflight_cmd_encode_chan |
( |
uint8_t |
system_id, |
|
|
uint8_t |
component_id, |
|
|
uint8_t |
chan, |
|
|
mavlink_message_t * |
msg, |
|
|
const mavlink_rosflight_cmd_t * |
rosflight_cmd |
|
) |
| |
|
inlinestatic |
Encode a rosflight_cmd 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 |
rosflight_cmd | C-struct to read the message contents from |
Definition at line 113 of file mavlink_msg_rosflight_cmd.h.
static uint8_t mavlink_msg_rosflight_cmd_get_command |
( |
const mavlink_message_t * |
msg | ) |
|
|
inlinestatic |
Send a rosflight_cmd message.
- Parameters
-
chan | MAVLink channel to send the message |
command | Get field command from rosflight_cmd message |
- Returns
Definition at line 191 of file mavlink_msg_rosflight_cmd.h.
static uint16_t mavlink_msg_rosflight_cmd_pack |
( |
uint8_t |
system_id, |
|
|
uint8_t |
component_id, |
|
|
mavlink_message_t * |
msg, |
|
|
uint8_t |
command |
|
) |
| |
|
inlinestatic |
Pack a rosflight_cmd 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 |
command | |
- Returns
- length of the message in bytes (excluding serial stream start sign)
Definition at line 35 of file mavlink_msg_rosflight_cmd.h.
static uint16_t mavlink_msg_rosflight_cmd_pack_chan |
( |
uint8_t |
system_id, |
|
|
uint8_t |
component_id, |
|
|
uint8_t |
chan, |
|
|
mavlink_message_t * |
msg, |
|
|
uint8_t |
command |
|
) |
| |
|
inlinestatic |
Pack a rosflight_cmd 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 |
command | |
- Returns
- length of the message in bytes (excluding serial stream start sign)
Definition at line 67 of file mavlink_msg_rosflight_cmd.h.