Go to the source code of this file.
|
static void | mavlink_msg_rosflight_cmd_ack_decode (const mavlink_message_t *msg, mavlink_rosflight_cmd_ack_t *rosflight_cmd_ack) |
| Decode a rosflight_cmd_ack message into a struct. More...
|
|
static uint16_t | mavlink_msg_rosflight_cmd_ack_encode (uint8_t system_id, uint8_t component_id, mavlink_message_t *msg, const mavlink_rosflight_cmd_ack_t *rosflight_cmd_ack) |
| Encode a rosflight_cmd_ack struct. More...
|
|
static uint16_t | mavlink_msg_rosflight_cmd_ack_encode_chan (uint8_t system_id, uint8_t component_id, uint8_t chan, mavlink_message_t *msg, const mavlink_rosflight_cmd_ack_t *rosflight_cmd_ack) |
| Encode a rosflight_cmd_ack struct on a channel. More...
|
|
static uint8_t | mavlink_msg_rosflight_cmd_ack_get_command (const mavlink_message_t *msg) |
| Send a rosflight_cmd_ack message. More...
|
|
static uint8_t | mavlink_msg_rosflight_cmd_ack_get_success (const mavlink_message_t *msg) |
| Get field success from rosflight_cmd_ack message. More...
|
|
static uint16_t | mavlink_msg_rosflight_cmd_ack_pack (uint8_t system_id, uint8_t component_id, mavlink_message_t *msg, uint8_t command, uint8_t success) |
| Pack a rosflight_cmd_ack message. More...
|
|
static uint16_t | mavlink_msg_rosflight_cmd_ack_pack_chan (uint8_t system_id, uint8_t component_id, uint8_t chan, mavlink_message_t *msg, uint8_t command, uint8_t success) |
| Pack a rosflight_cmd_ack message on a channel. More...
|
|
#define MAVLINK_MESSAGE_INFO_ROSFLIGHT_CMD_ACK |
#define MAVLINK_MSG_ID_189_CRC 113 |
#define MAVLINK_MSG_ID_189_LEN 2 |
#define MAVLINK_MSG_ID_ROSFLIGHT_CMD_ACK 189 |
#define MAVLINK_MSG_ID_ROSFLIGHT_CMD_ACK_CRC 113 |
#define MAVLINK_MSG_ID_ROSFLIGHT_CMD_ACK_LEN 2 |
Decode a rosflight_cmd_ack message into a struct.
- Parameters
-
msg | The message to decode |
rosflight_cmd_ack | C-struct to decode the message contents into |
Definition at line 225 of file mavlink_msg_rosflight_cmd_ack.h.
static uint16_t mavlink_msg_rosflight_cmd_ack_encode |
( |
uint8_t |
system_id, |
|
|
uint8_t |
component_id, |
|
|
mavlink_message_t * |
msg, |
|
|
const mavlink_rosflight_cmd_ack_t * |
rosflight_cmd_ack |
|
) |
| |
|
inlinestatic |
Encode a rosflight_cmd_ack 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_ack | C-struct to read the message contents from |
Definition at line 107 of file mavlink_msg_rosflight_cmd_ack.h.
static uint16_t mavlink_msg_rosflight_cmd_ack_encode_chan |
( |
uint8_t |
system_id, |
|
|
uint8_t |
component_id, |
|
|
uint8_t |
chan, |
|
|
mavlink_message_t * |
msg, |
|
|
const mavlink_rosflight_cmd_ack_t * |
rosflight_cmd_ack |
|
) |
| |
|
inlinestatic |
Encode a rosflight_cmd_ack 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_ack | C-struct to read the message contents from |
Definition at line 121 of file mavlink_msg_rosflight_cmd_ack.h.
static uint8_t mavlink_msg_rosflight_cmd_ack_get_command |
( |
const mavlink_message_t * |
msg | ) |
|
|
inlinestatic |
Send a rosflight_cmd_ack message.
- Parameters
-
chan | MAVLink channel to send the message |
command | |
success | Get field command from rosflight_cmd_ack message |
- Returns
Definition at line 204 of file mavlink_msg_rosflight_cmd_ack.h.
static uint8_t mavlink_msg_rosflight_cmd_ack_get_success |
( |
const mavlink_message_t * |
msg | ) |
|
|
inlinestatic |
static uint16_t mavlink_msg_rosflight_cmd_ack_pack |
( |
uint8_t |
system_id, |
|
|
uint8_t |
component_id, |
|
|
mavlink_message_t * |
msg, |
|
|
uint8_t |
command, |
|
|
uint8_t |
success |
|
) |
| |
|
inlinestatic |
Pack a rosflight_cmd_ack 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 | |
success | |
- Returns
- length of the message in bytes (excluding serial stream start sign)
Definition at line 38 of file mavlink_msg_rosflight_cmd_ack.h.
static uint16_t mavlink_msg_rosflight_cmd_ack_pack_chan |
( |
uint8_t |
system_id, |
|
|
uint8_t |
component_id, |
|
|
uint8_t |
chan, |
|
|
mavlink_message_t * |
msg, |
|
|
uint8_t |
command, |
|
|
uint8_t |
success |
|
) |
| |
|
inlinestatic |
Pack a rosflight_cmd_ack 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 | |
success | |
- Returns
- length of the message in bytes (excluding serial stream start sign)
Definition at line 73 of file mavlink_msg_rosflight_cmd_ack.h.