Classes | Macros | Typedefs | Functions
mavlink_msg_rosflight_device_info.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  __mavlink_rosflight_device_info_t
 

Macros

#define MAVLINK_MESSAGE_INFO_ROSFLIGHT_DEVICE_INFO
 
#define MAVLINK_MSG_ID_202_CRC   236
 
#define MAVLINK_MSG_ID_202_LEN   23
 
#define MAVLINK_MSG_ID_ROSFLIGHT_DEVICE_INFO   202
 
#define MAVLINK_MSG_ID_ROSFLIGHT_DEVICE_INFO_CRC   236
 
#define MAVLINK_MSG_ID_ROSFLIGHT_DEVICE_INFO_LEN   23
 
#define MAVLINK_MSG_ROSFLIGHT_DEVICE_INFO_FIELD_NAME_LEN   20
 

Typedefs

typedef struct __mavlink_rosflight_device_info_t mavlink_rosflight_device_info_t
 

Functions

static void mavlink_msg_rosflight_device_info_decode (const mavlink_message_t *msg, mavlink_rosflight_device_info_t *rosflight_device_info)
 Decode a rosflight_device_info message into a struct. More...
 
static uint16_t mavlink_msg_rosflight_device_info_encode (uint8_t system_id, uint8_t component_id, mavlink_message_t *msg, const mavlink_rosflight_device_info_t *rosflight_device_info)
 Encode a rosflight_device_info struct. More...
 
static uint16_t mavlink_msg_rosflight_device_info_encode_chan (uint8_t system_id, uint8_t component_id, uint8_t chan, mavlink_message_t *msg, const mavlink_rosflight_device_info_t *rosflight_device_info)
 Encode a rosflight_device_info struct on a channel. More...
 
static uint8_t mavlink_msg_rosflight_device_info_get_device (const mavlink_message_t *msg)
 Send a rosflight_device_info message. More...
 
static uint8_t mavlink_msg_rosflight_device_info_get_max_config (const mavlink_message_t *msg)
 Get field max_config from rosflight_device_info message. More...
 
static uint16_t mavlink_msg_rosflight_device_info_get_name (const mavlink_message_t *msg, uint8_t *name)
 Get field name from rosflight_device_info message. More...
 
static uint8_t mavlink_msg_rosflight_device_info_get_num_devices (const mavlink_message_t *msg)
 Get field num_devices from rosflight_device_info message. More...
 
static uint16_t mavlink_msg_rosflight_device_info_pack (uint8_t system_id, uint8_t component_id, mavlink_message_t *msg, uint8_t device, uint8_t max_config, const uint8_t *name, uint8_t num_devices)
 Pack a rosflight_device_info message. More...
 
static uint16_t mavlink_msg_rosflight_device_info_pack_chan (uint8_t system_id, uint8_t component_id, uint8_t chan, mavlink_message_t *msg, uint8_t device, uint8_t max_config, const uint8_t *name, uint8_t num_devices)
 Pack a rosflight_device_info message on a channel. More...
 

Macro Definition Documentation

#define MAVLINK_MESSAGE_INFO_ROSFLIGHT_DEVICE_INFO
Value:
{ \
"ROSFLIGHT_DEVICE_INFO", \
4, \
{ { "device", NULL, MAVLINK_TYPE_UINT8_T, 0, 0, offsetof(mavlink_rosflight_device_info_t, device) }, \
{ "max_config", NULL, MAVLINK_TYPE_UINT8_T, 0, 1, offsetof(mavlink_rosflight_device_info_t, max_config) }, \
{ "num_devices", NULL, MAVLINK_TYPE_UINT8_T, 0, 22, offsetof(mavlink_rosflight_device_info_t, num_devices) }, \
} \
}
#define NULL
Definition: usbd_def.h:50

Definition at line 21 of file mavlink_msg_rosflight_device_info.h.

#define MAVLINK_MSG_ID_202_CRC   236

Definition at line 17 of file mavlink_msg_rosflight_device_info.h.

#define MAVLINK_MSG_ID_202_LEN   23

Definition at line 14 of file mavlink_msg_rosflight_device_info.h.

#define MAVLINK_MSG_ID_ROSFLIGHT_DEVICE_INFO   202

Definition at line 3 of file mavlink_msg_rosflight_device_info.h.

#define MAVLINK_MSG_ID_ROSFLIGHT_DEVICE_INFO_CRC   236

Definition at line 16 of file mavlink_msg_rosflight_device_info.h.

#define MAVLINK_MSG_ID_ROSFLIGHT_DEVICE_INFO_LEN   23

Definition at line 13 of file mavlink_msg_rosflight_device_info.h.

#define MAVLINK_MSG_ROSFLIGHT_DEVICE_INFO_FIELD_NAME_LEN   20

Definition at line 19 of file mavlink_msg_rosflight_device_info.h.

Typedef Documentation

Function Documentation

static void mavlink_msg_rosflight_device_info_decode ( const mavlink_message_t *  msg,
mavlink_rosflight_device_info_t rosflight_device_info 
)
inlinestatic

Decode a rosflight_device_info message into a struct.

Parameters
msgThe message to decode
rosflight_device_infoC-struct to decode the message contents into

Definition at line 263 of file mavlink_msg_rosflight_device_info.h.

static uint16_t mavlink_msg_rosflight_device_info_encode ( uint8_t  system_id,
uint8_t  component_id,
mavlink_message_t *  msg,
const mavlink_rosflight_device_info_t rosflight_device_info 
)
inlinestatic

Encode a rosflight_device_info struct.

Parameters
system_idID of this system
component_idID of this component (e.g. 200 for IMU)
msgThe MAVLink message to compress the data into
rosflight_device_infoC-struct to read the message contents from

Definition at line 119 of file mavlink_msg_rosflight_device_info.h.

static uint16_t mavlink_msg_rosflight_device_info_encode_chan ( uint8_t  system_id,
uint8_t  component_id,
uint8_t  chan,
mavlink_message_t *  msg,
const mavlink_rosflight_device_info_t rosflight_device_info 
)
inlinestatic

Encode a rosflight_device_info struct on a channel.

Parameters
system_idID of this system
component_idID of this component (e.g. 200 for IMU)
chanThe MAVLink channel this message will be sent over
msgThe MAVLink message to compress the data into
rosflight_device_infoC-struct to read the message contents from

Definition at line 133 of file mavlink_msg_rosflight_device_info.h.

static uint8_t mavlink_msg_rosflight_device_info_get_device ( const mavlink_message_t *  msg)
inlinestatic

Send a rosflight_device_info message.

Parameters
chanMAVLink channel to send the message
device
max_config
name
num_devicesGet field device from rosflight_device_info message
Returns

Definition at line 222 of file mavlink_msg_rosflight_device_info.h.

static uint8_t mavlink_msg_rosflight_device_info_get_max_config ( const mavlink_message_t *  msg)
inlinestatic

Get field max_config from rosflight_device_info message.

Returns

Definition at line 232 of file mavlink_msg_rosflight_device_info.h.

static uint16_t mavlink_msg_rosflight_device_info_get_name ( const mavlink_message_t *  msg,
uint8_t *  name 
)
inlinestatic

Get field name from rosflight_device_info message.

Returns

Definition at line 242 of file mavlink_msg_rosflight_device_info.h.

static uint8_t mavlink_msg_rosflight_device_info_get_num_devices ( const mavlink_message_t *  msg)
inlinestatic

Get field num_devices from rosflight_device_info message.

Returns

Definition at line 252 of file mavlink_msg_rosflight_device_info.h.

static uint16_t mavlink_msg_rosflight_device_info_pack ( uint8_t  system_id,
uint8_t  component_id,
mavlink_message_t *  msg,
uint8_t  device,
uint8_t  max_config,
const uint8_t *  name,
uint8_t  num_devices 
)
inlinestatic

Pack a rosflight_device_info message.

Parameters
system_idID of this system
component_idID of this component (e.g. 200 for IMU)
msgThe MAVLink message to compress the data into
device
max_config
name
num_devices
Returns
length of the message in bytes (excluding serial stream start sign)

Definition at line 44 of file mavlink_msg_rosflight_device_info.h.

static uint16_t mavlink_msg_rosflight_device_info_pack_chan ( uint8_t  system_id,
uint8_t  component_id,
uint8_t  chan,
mavlink_message_t *  msg,
uint8_t  device,
uint8_t  max_config,
const uint8_t *  name,
uint8_t  num_devices 
)
inlinestatic

Pack a rosflight_device_info message on a channel.

Parameters
system_idID of this system
component_idID of this component (e.g. 200 for IMU)
chanThe MAVLink channel this message will be sent over
msgThe MAVLink message to compress the data into
device
max_config
name
num_devices
Returns
length of the message in bytes (excluding serial stream start sign)

Definition at line 83 of file mavlink_msg_rosflight_device_info.h.



rosflight_firmware
Author(s): Daniel Koch , James Jackson
autogenerated on Thu Apr 15 2021 05:07:51