Go to the source code of this file.
|
static void | mavlink_msg_rosflight_version_decode (const mavlink_message_t *msg, mavlink_rosflight_version_t *rosflight_version) |
| Decode a rosflight_version message into a struct. More...
|
|
static uint16_t | mavlink_msg_rosflight_version_encode (uint8_t system_id, uint8_t component_id, mavlink_message_t *msg, const mavlink_rosflight_version_t *rosflight_version) |
| Encode a rosflight_version struct. More...
|
|
static uint16_t | mavlink_msg_rosflight_version_encode_chan (uint8_t system_id, uint8_t component_id, uint8_t chan, mavlink_message_t *msg, const mavlink_rosflight_version_t *rosflight_version) |
| Encode a rosflight_version struct on a channel. More...
|
|
static uint16_t | mavlink_msg_rosflight_version_get_version (const mavlink_message_t *msg, char *version) |
| Send a rosflight_version message. More...
|
|
static uint16_t | mavlink_msg_rosflight_version_pack (uint8_t system_id, uint8_t component_id, mavlink_message_t *msg, const char *version) |
| Pack a rosflight_version message. More...
|
|
static uint16_t | mavlink_msg_rosflight_version_pack_chan (uint8_t system_id, uint8_t component_id, uint8_t chan, mavlink_message_t *msg, const char *version) |
| Pack a rosflight_version message on a channel. More...
|
|
#define MAVLINK_MESSAGE_INFO_ROSFLIGHT_VERSION |
#define MAVLINK_MSG_ID_192_CRC 134 |
#define MAVLINK_MSG_ID_192_LEN 50 |
#define MAVLINK_MSG_ID_ROSFLIGHT_VERSION 192 |
#define MAVLINK_MSG_ID_ROSFLIGHT_VERSION_CRC 134 |
#define MAVLINK_MSG_ID_ROSFLIGHT_VERSION_LEN 50 |
#define MAVLINK_MSG_ROSFLIGHT_VERSION_FIELD_VERSION_LEN 50 |
Decode a rosflight_version message into a struct.
- Parameters
-
msg | The message to decode |
rosflight_version | C-struct to decode the message contents into |
Definition at line 202 of file mavlink_msg_rosflight_version.h.
static uint16_t mavlink_msg_rosflight_version_encode |
( |
uint8_t |
system_id, |
|
|
uint8_t |
component_id, |
|
|
mavlink_message_t * |
msg, |
|
|
const mavlink_rosflight_version_t * |
rosflight_version |
|
) |
| |
|
inlinestatic |
Encode a rosflight_version 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_version | C-struct to read the message contents from |
Definition at line 99 of file mavlink_msg_rosflight_version.h.
static uint16_t mavlink_msg_rosflight_version_encode_chan |
( |
uint8_t |
system_id, |
|
|
uint8_t |
component_id, |
|
|
uint8_t |
chan, |
|
|
mavlink_message_t * |
msg, |
|
|
const mavlink_rosflight_version_t * |
rosflight_version |
|
) |
| |
|
inlinestatic |
Encode a rosflight_version 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_version | C-struct to read the message contents from |
Definition at line 113 of file mavlink_msg_rosflight_version.h.
static uint16_t mavlink_msg_rosflight_version_get_version |
( |
const mavlink_message_t * |
msg, |
|
|
char * |
version |
|
) |
| |
|
inlinestatic |
Send a rosflight_version message.
- Parameters
-
chan | MAVLink channel to send the message |
version | Get field version from rosflight_version message |
- Returns
Definition at line 191 of file mavlink_msg_rosflight_version.h.
static uint16_t mavlink_msg_rosflight_version_pack |
( |
uint8_t |
system_id, |
|
|
uint8_t |
component_id, |
|
|
mavlink_message_t * |
msg, |
|
|
const char * |
version |
|
) |
| |
|
inlinestatic |
Pack a rosflight_version 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 |
version | |
- Returns
- length of the message in bytes (excluding serial stream start sign)
Definition at line 35 of file mavlink_msg_rosflight_version.h.
static uint16_t mavlink_msg_rosflight_version_pack_chan |
( |
uint8_t |
system_id, |
|
|
uint8_t |
component_id, |
|
|
uint8_t |
chan, |
|
|
mavlink_message_t * |
msg, |
|
|
const char * |
version |
|
) |
| |
|
inlinestatic |
Pack a rosflight_version 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 |
version | |
- Returns
- length of the message in bytes (excluding serial stream start sign)
Definition at line 67 of file mavlink_msg_rosflight_version.h.