Classes | Macros | Typedefs | Functions
mavlink_msg_mission_count.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_mission_count_t
 

Macros

#define MAVLINK_MESSAGE_INFO_MISSION_COUNT
 
#define MAVLINK_MSG_ID_44_CRC   221
 
#define MAVLINK_MSG_ID_44_LEN   4
 
#define MAVLINK_MSG_ID_MISSION_COUNT   44
 
#define MAVLINK_MSG_ID_MISSION_COUNT_CRC   221
 
#define MAVLINK_MSG_ID_MISSION_COUNT_LEN   4
 

Typedefs

typedef struct __mavlink_mission_count_t mavlink_mission_count_t
 

Functions

static void mavlink_msg_mission_count_decode (const mavlink_message_t *msg, mavlink_mission_count_t *mission_count)
 Decode a mission_count message into a struct. More...
 
static uint16_t mavlink_msg_mission_count_encode (uint8_t system_id, uint8_t component_id, mavlink_message_t *msg, const mavlink_mission_count_t *mission_count)
 Encode a mission_count struct. More...
 
static uint16_t mavlink_msg_mission_count_encode_chan (uint8_t system_id, uint8_t component_id, uint8_t chan, mavlink_message_t *msg, const mavlink_mission_count_t *mission_count)
 Encode a mission_count struct on a channel. More...
 
static uint16_t mavlink_msg_mission_count_get_count (const mavlink_message_t *msg)
 Get field count from mission_count message. More...
 
static uint8_t mavlink_msg_mission_count_get_target_component (const mavlink_message_t *msg)
 Get field target_component from mission_count message. More...
 
static uint8_t mavlink_msg_mission_count_get_target_system (const mavlink_message_t *msg)
 Send a mission_count message. More...
 
static uint16_t mavlink_msg_mission_count_pack (uint8_t system_id, uint8_t component_id, mavlink_message_t *msg, uint8_t target_system, uint8_t target_component, uint16_t count)
 Pack a mission_count message. More...
 
static uint16_t mavlink_msg_mission_count_pack_chan (uint8_t system_id, uint8_t component_id, uint8_t chan, mavlink_message_t *msg, uint8_t target_system, uint8_t target_component, uint16_t count)
 Pack a mission_count message on a channel. More...
 

Macro Definition Documentation

#define MAVLINK_MESSAGE_INFO_MISSION_COUNT
Value:
{ \
"MISSION_COUNT", \
3, \
{ { "count", NULL, MAVLINK_TYPE_UINT16_T, 0, 0, offsetof(mavlink_mission_count_t, count) }, \
{ "target_system", NULL, MAVLINK_TYPE_UINT8_T, 0, 2, offsetof(mavlink_mission_count_t, target_system) }, \
{ "target_component", NULL, MAVLINK_TYPE_UINT8_T, 0, 3, offsetof(mavlink_mission_count_t, target_component) }, \
} \
}

Definition at line 20 of file mavlink_msg_mission_count.h.

#define MAVLINK_MSG_ID_44_CRC   221

Definition at line 16 of file mavlink_msg_mission_count.h.

#define MAVLINK_MSG_ID_44_LEN   4

Definition at line 13 of file mavlink_msg_mission_count.h.

#define MAVLINK_MSG_ID_MISSION_COUNT   44

Definition at line 3 of file mavlink_msg_mission_count.h.

#define MAVLINK_MSG_ID_MISSION_COUNT_CRC   221

Definition at line 15 of file mavlink_msg_mission_count.h.

#define MAVLINK_MSG_ID_MISSION_COUNT_LEN   4

Definition at line 12 of file mavlink_msg_mission_count.h.

Typedef Documentation

Function Documentation

static void mavlink_msg_mission_count_decode ( const mavlink_message_t *  msg,
mavlink_mission_count_t mission_count 
)
inlinestatic

Decode a mission_count message into a struct.

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

Definition at line 248 of file mavlink_msg_mission_count.h.

static uint16_t mavlink_msg_mission_count_encode ( uint8_t  system_id,
uint8_t  component_id,
mavlink_message_t *  msg,
const mavlink_mission_count_t mission_count 
)
inlinestatic

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

Definition at line 115 of file mavlink_msg_mission_count.h.

static uint16_t mavlink_msg_mission_count_encode_chan ( uint8_t  system_id,
uint8_t  component_id,
uint8_t  chan,
mavlink_message_t *  msg,
const mavlink_mission_count_t mission_count 
)
inlinestatic

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

Definition at line 129 of file mavlink_msg_mission_count.h.

static uint16_t mavlink_msg_mission_count_get_count ( const mavlink_message_t *  msg)
inlinestatic

Get field count from mission_count message.

Returns
Number of mission items in the sequence

Definition at line 237 of file mavlink_msg_mission_count.h.

static uint8_t mavlink_msg_mission_count_get_target_component ( const mavlink_message_t *  msg)
inlinestatic

Get field target_component from mission_count message.

Returns
Component ID

Definition at line 227 of file mavlink_msg_mission_count.h.

static uint8_t mavlink_msg_mission_count_get_target_system ( const mavlink_message_t *  msg)
inlinestatic

Send a mission_count message.

Parameters
chanMAVLink channel to send the message
target_systemSystem ID
target_componentComponent ID
countNumber of mission items in the sequence Get field target_system from mission_count message
Returns
System ID

Definition at line 217 of file mavlink_msg_mission_count.h.

static uint16_t mavlink_msg_mission_count_pack ( uint8_t  system_id,
uint8_t  component_id,
mavlink_message_t *  msg,
uint8_t  target_system,
uint8_t  target_component,
uint16_t  count 
)
inlinestatic

Pack a mission_count 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
target_systemSystem ID
target_componentComponent ID
countNumber of mission items in the sequence
Returns
length of the message in bytes (excluding serial stream start sign)

Definition at line 41 of file mavlink_msg_mission_count.h.

static uint16_t mavlink_msg_mission_count_pack_chan ( uint8_t  system_id,
uint8_t  component_id,
uint8_t  chan,
mavlink_message_t *  msg,
uint8_t  target_system,
uint8_t  target_component,
uint16_t  count 
)
inlinestatic

Pack a mission_count 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
target_systemSystem ID
target_componentComponent ID
countNumber of mission items in the sequence
Returns
length of the message in bytes (excluding serial stream start sign)

Definition at line 79 of file mavlink_msg_mission_count.h.



rosflight
Author(s): Daniel Koch , James Jackson
autogenerated on Wed Jul 3 2019 20:00:13