Classes | Macros | Typedefs | Functions
mavlink_msg_rosflight_hard_error.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_hard_error_t
 

Macros

#define MAVLINK_MESSAGE_INFO_ROSFLIGHT_HARD_ERROR
 
#define MAVLINK_MSG_ID_196_CRC   10
 
#define MAVLINK_MSG_ID_196_LEN   16
 
#define MAVLINK_MSG_ID_ROSFLIGHT_HARD_ERROR   196
 
#define MAVLINK_MSG_ID_ROSFLIGHT_HARD_ERROR_CRC   10
 
#define MAVLINK_MSG_ID_ROSFLIGHT_HARD_ERROR_LEN   16
 

Typedefs

typedef struct __mavlink_rosflight_hard_error_t mavlink_rosflight_hard_error_t
 

Functions

static void mavlink_msg_rosflight_hard_error_decode (const mavlink_message_t *msg, mavlink_rosflight_hard_error_t *rosflight_hard_error)
 Decode a rosflight_hard_error message into a struct. More...
 
static uint16_t mavlink_msg_rosflight_hard_error_encode (uint8_t system_id, uint8_t component_id, mavlink_message_t *msg, const mavlink_rosflight_hard_error_t *rosflight_hard_error)
 Encode a rosflight_hard_error struct. More...
 
static uint16_t mavlink_msg_rosflight_hard_error_encode_chan (uint8_t system_id, uint8_t component_id, uint8_t chan, mavlink_message_t *msg, const mavlink_rosflight_hard_error_t *rosflight_hard_error)
 Encode a rosflight_hard_error struct on a channel. More...
 
static uint32_t mavlink_msg_rosflight_hard_error_get_doRearm (const mavlink_message_t *msg)
 Get field doRearm from rosflight_hard_error message. More...
 
static uint32_t mavlink_msg_rosflight_hard_error_get_error_code (const mavlink_message_t *msg)
 Send a rosflight_hard_error message. More...
 
static uint32_t mavlink_msg_rosflight_hard_error_get_pc (const mavlink_message_t *msg)
 Get field pc from rosflight_hard_error message. More...
 
static uint32_t mavlink_msg_rosflight_hard_error_get_reset_count (const mavlink_message_t *msg)
 Get field reset_count from rosflight_hard_error message. More...
 
static uint16_t mavlink_msg_rosflight_hard_error_pack (uint8_t system_id, uint8_t component_id, mavlink_message_t *msg, uint32_t error_code, uint32_t pc, uint32_t reset_count, uint32_t doRearm)
 Pack a rosflight_hard_error message. More...
 
static uint16_t mavlink_msg_rosflight_hard_error_pack_chan (uint8_t system_id, uint8_t component_id, uint8_t chan, mavlink_message_t *msg, uint32_t error_code, uint32_t pc, uint32_t reset_count, uint32_t doRearm)
 Pack a rosflight_hard_error message on a channel. More...
 

Macro Definition Documentation

#define MAVLINK_MESSAGE_INFO_ROSFLIGHT_HARD_ERROR
Value:
{ \
"ROSFLIGHT_HARD_ERROR", \
4, \
{ { "error_code", NULL, MAVLINK_TYPE_UINT32_T, 0, 0, offsetof(mavlink_rosflight_hard_error_t, error_code) }, \
{ "pc", NULL, MAVLINK_TYPE_UINT32_T, 0, 4, offsetof(mavlink_rosflight_hard_error_t, pc) }, \
{ "reset_count", NULL, MAVLINK_TYPE_UINT32_T, 0, 8, offsetof(mavlink_rosflight_hard_error_t, reset_count) }, \
{ "doRearm", NULL, MAVLINK_TYPE_UINT32_T, 0, 12, offsetof(mavlink_rosflight_hard_error_t, doRearm) }, \
} \
}
#define NULL
Definition: usbd_def.h:50

Definition at line 21 of file mavlink_msg_rosflight_hard_error.h.

#define MAVLINK_MSG_ID_196_CRC   10

Definition at line 17 of file mavlink_msg_rosflight_hard_error.h.

#define MAVLINK_MSG_ID_196_LEN   16

Definition at line 14 of file mavlink_msg_rosflight_hard_error.h.

#define MAVLINK_MSG_ID_ROSFLIGHT_HARD_ERROR   196

Definition at line 3 of file mavlink_msg_rosflight_hard_error.h.

#define MAVLINK_MSG_ID_ROSFLIGHT_HARD_ERROR_CRC   10

Definition at line 16 of file mavlink_msg_rosflight_hard_error.h.

#define MAVLINK_MSG_ID_ROSFLIGHT_HARD_ERROR_LEN   16

Definition at line 13 of file mavlink_msg_rosflight_hard_error.h.

Typedef Documentation

Function Documentation

static void mavlink_msg_rosflight_hard_error_decode ( const mavlink_message_t *  msg,
mavlink_rosflight_hard_error_t rosflight_hard_error 
)
inlinestatic

Decode a rosflight_hard_error message into a struct.

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

Definition at line 271 of file mavlink_msg_rosflight_hard_error.h.

static uint16_t mavlink_msg_rosflight_hard_error_encode ( uint8_t  system_id,
uint8_t  component_id,
mavlink_message_t *  msg,
const mavlink_rosflight_hard_error_t rosflight_hard_error 
)
inlinestatic

Encode a rosflight_hard_error 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_hard_errorC-struct to read the message contents from

Definition at line 123 of file mavlink_msg_rosflight_hard_error.h.

static uint16_t mavlink_msg_rosflight_hard_error_encode_chan ( uint8_t  system_id,
uint8_t  component_id,
uint8_t  chan,
mavlink_message_t *  msg,
const mavlink_rosflight_hard_error_t rosflight_hard_error 
)
inlinestatic

Encode a rosflight_hard_error 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_hard_errorC-struct to read the message contents from

Definition at line 137 of file mavlink_msg_rosflight_hard_error.h.

static uint32_t mavlink_msg_rosflight_hard_error_get_doRearm ( const mavlink_message_t *  msg)
inlinestatic

Get field doRearm from rosflight_hard_error message.

Returns

Definition at line 260 of file mavlink_msg_rosflight_hard_error.h.

static uint32_t mavlink_msg_rosflight_hard_error_get_error_code ( const mavlink_message_t *  msg)
inlinestatic

Send a rosflight_hard_error message.

Parameters
chanMAVLink channel to send the message
error_code
pc
reset_count
doRearmGet field error_code from rosflight_hard_error message
Returns

Definition at line 230 of file mavlink_msg_rosflight_hard_error.h.

static uint32_t mavlink_msg_rosflight_hard_error_get_pc ( const mavlink_message_t *  msg)
inlinestatic

Get field pc from rosflight_hard_error message.

Returns

Definition at line 240 of file mavlink_msg_rosflight_hard_error.h.

static uint32_t mavlink_msg_rosflight_hard_error_get_reset_count ( const mavlink_message_t *  msg)
inlinestatic

Get field reset_count from rosflight_hard_error message.

Returns

Definition at line 250 of file mavlink_msg_rosflight_hard_error.h.

static uint16_t mavlink_msg_rosflight_hard_error_pack ( uint8_t  system_id,
uint8_t  component_id,
mavlink_message_t *  msg,
uint32_t  error_code,
uint32_t  pc,
uint32_t  reset_count,
uint32_t  doRearm 
)
inlinestatic

Pack a rosflight_hard_error 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
error_code
pc
reset_count
doRearm
Returns
length of the message in bytes (excluding serial stream start sign)

Definition at line 44 of file mavlink_msg_rosflight_hard_error.h.

static uint16_t mavlink_msg_rosflight_hard_error_pack_chan ( uint8_t  system_id,
uint8_t  component_id,
uint8_t  chan,
mavlink_message_t *  msg,
uint32_t  error_code,
uint32_t  pc,
uint32_t  reset_count,
uint32_t  doRearm 
)
inlinestatic

Pack a rosflight_hard_error 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
error_code
pc
reset_count
doRearm
Returns
length of the message in bytes (excluding serial stream start sign)

Definition at line 85 of file mavlink_msg_rosflight_hard_error.h.



rosflight_firmware
Author(s): Daniel Koch , James Jackson
autogenerated on Wed Jul 3 2019 19:59:27