Classes | Macros | Typedefs | Functions
mavlink_msg_mission_ack.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_ack_t
 

Macros

#define MAVLINK_MESSAGE_INFO_MISSION_ACK
 
#define MAVLINK_MSG_ID_47_CRC   153
 
#define MAVLINK_MSG_ID_47_LEN   3
 
#define MAVLINK_MSG_ID_MISSION_ACK   47
 
#define MAVLINK_MSG_ID_MISSION_ACK_CRC   153
 
#define MAVLINK_MSG_ID_MISSION_ACK_LEN   3
 

Typedefs

typedef struct __mavlink_mission_ack_t mavlink_mission_ack_t
 

Functions

static void mavlink_msg_mission_ack_decode (const mavlink_message_t *msg, mavlink_mission_ack_t *mission_ack)
 Decode a mission_ack message into a struct. More...
 
static uint16_t mavlink_msg_mission_ack_encode (uint8_t system_id, uint8_t component_id, mavlink_message_t *msg, const mavlink_mission_ack_t *mission_ack)
 Encode a mission_ack struct. More...
 
static uint16_t mavlink_msg_mission_ack_encode_chan (uint8_t system_id, uint8_t component_id, uint8_t chan, mavlink_message_t *msg, const mavlink_mission_ack_t *mission_ack)
 Encode a mission_ack struct on a channel. More...
 
static uint8_t mavlink_msg_mission_ack_get_target_component (const mavlink_message_t *msg)
 Get field target_component from mission_ack message. More...
 
static uint8_t mavlink_msg_mission_ack_get_target_system (const mavlink_message_t *msg)
 Send a mission_ack message. More...
 
static uint8_t mavlink_msg_mission_ack_get_type (const mavlink_message_t *msg)
 Get field type from mission_ack message. More...
 
static uint16_t mavlink_msg_mission_ack_pack (uint8_t system_id, uint8_t component_id, mavlink_message_t *msg, uint8_t target_system, uint8_t target_component, uint8_t type)
 Pack a mission_ack message. More...
 
static uint16_t mavlink_msg_mission_ack_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, uint8_t type)
 Pack a mission_ack message on a channel. More...
 

Macro Definition Documentation

#define MAVLINK_MESSAGE_INFO_MISSION_ACK
Value:
{ \
"MISSION_ACK", \
3, \
{ { "target_system", NULL, MAVLINK_TYPE_UINT8_T, 0, 0, offsetof(mavlink_mission_ack_t, target_system) }, \
{ "target_component", NULL, MAVLINK_TYPE_UINT8_T, 0, 1, offsetof(mavlink_mission_ack_t, target_component) }, \
{ "type", NULL, MAVLINK_TYPE_UINT8_T, 0, 2, offsetof(mavlink_mission_ack_t, type) }, \
} \
}
#define NULL
Definition: usbd_def.h:50

Definition at line 20 of file mavlink_msg_mission_ack.h.

#define MAVLINK_MSG_ID_47_CRC   153

Definition at line 16 of file mavlink_msg_mission_ack.h.

#define MAVLINK_MSG_ID_47_LEN   3

Definition at line 13 of file mavlink_msg_mission_ack.h.

#define MAVLINK_MSG_ID_MISSION_ACK   47

Definition at line 3 of file mavlink_msg_mission_ack.h.

#define MAVLINK_MSG_ID_MISSION_ACK_CRC   153

Definition at line 15 of file mavlink_msg_mission_ack.h.

#define MAVLINK_MSG_ID_MISSION_ACK_LEN   3

Definition at line 12 of file mavlink_msg_mission_ack.h.

Typedef Documentation

Function Documentation

static void mavlink_msg_mission_ack_decode ( const mavlink_message_t *  msg,
mavlink_mission_ack_t mission_ack 
)
inlinestatic

Decode a mission_ack message into a struct.

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

Definition at line 248 of file mavlink_msg_mission_ack.h.

static uint16_t mavlink_msg_mission_ack_encode ( uint8_t  system_id,
uint8_t  component_id,
mavlink_message_t *  msg,
const mavlink_mission_ack_t mission_ack 
)
inlinestatic

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

Definition at line 115 of file mavlink_msg_mission_ack.h.

static uint16_t mavlink_msg_mission_ack_encode_chan ( uint8_t  system_id,
uint8_t  component_id,
uint8_t  chan,
mavlink_message_t *  msg,
const mavlink_mission_ack_t mission_ack 
)
inlinestatic

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

Definition at line 129 of file mavlink_msg_mission_ack.h.

static uint8_t mavlink_msg_mission_ack_get_target_component ( const mavlink_message_t *  msg)
inlinestatic

Get field target_component from mission_ack message.

Returns
Component ID

Definition at line 227 of file mavlink_msg_mission_ack.h.

static uint8_t mavlink_msg_mission_ack_get_target_system ( const mavlink_message_t *  msg)
inlinestatic

Send a mission_ack message.

Parameters
chanMAVLink channel to send the message
target_systemSystem ID
target_componentComponent ID
typeSee MAV_MISSION_RESULT enum Get field target_system from mission_ack message
Returns
System ID

Definition at line 217 of file mavlink_msg_mission_ack.h.

static uint8_t mavlink_msg_mission_ack_get_type ( const mavlink_message_t *  msg)
inlinestatic

Get field type from mission_ack message.

Returns
See MAV_MISSION_RESULT enum

Definition at line 237 of file mavlink_msg_mission_ack.h.

static uint16_t mavlink_msg_mission_ack_pack ( uint8_t  system_id,
uint8_t  component_id,
mavlink_message_t *  msg,
uint8_t  target_system,
uint8_t  target_component,
uint8_t  type 
)
inlinestatic

Pack a mission_ack 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
typeSee MAV_MISSION_RESULT enum
Returns
length of the message in bytes (excluding serial stream start sign)

Definition at line 41 of file mavlink_msg_mission_ack.h.

static uint16_t mavlink_msg_mission_ack_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,
uint8_t  type 
)
inlinestatic

Pack a mission_ack 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
typeSee MAV_MISSION_RESULT enum
Returns
length of the message in bytes (excluding serial stream start sign)

Definition at line 79 of file mavlink_msg_mission_ack.h.



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