Classes | Macros | Typedefs | Functions
mavlink_msg_mission_item_int.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_item_int_t
 

Macros

#define MAVLINK_MESSAGE_INFO_MISSION_ITEM_INT
 
#define MAVLINK_MSG_ID_73_CRC   38
 
#define MAVLINK_MSG_ID_73_LEN   37
 
#define MAVLINK_MSG_ID_MISSION_ITEM_INT   73
 
#define MAVLINK_MSG_ID_MISSION_ITEM_INT_CRC   38
 
#define MAVLINK_MSG_ID_MISSION_ITEM_INT_LEN   37
 

Typedefs

typedef struct __mavlink_mission_item_int_t mavlink_mission_item_int_t
 

Functions

static void mavlink_msg_mission_item_int_decode (const mavlink_message_t *msg, mavlink_mission_item_int_t *mission_item_int)
 Decode a mission_item_int message into a struct. More...
 
static uint16_t mavlink_msg_mission_item_int_encode (uint8_t system_id, uint8_t component_id, mavlink_message_t *msg, const mavlink_mission_item_int_t *mission_item_int)
 Encode a mission_item_int struct. More...
 
static uint16_t mavlink_msg_mission_item_int_encode_chan (uint8_t system_id, uint8_t component_id, uint8_t chan, mavlink_message_t *msg, const mavlink_mission_item_int_t *mission_item_int)
 Encode a mission_item_int struct on a channel. More...
 
static uint8_t mavlink_msg_mission_item_int_get_autocontinue (const mavlink_message_t *msg)
 Get field autocontinue from mission_item_int message. More...
 
static uint16_t mavlink_msg_mission_item_int_get_command (const mavlink_message_t *msg)
 Get field command from mission_item_int message. More...
 
static uint8_t mavlink_msg_mission_item_int_get_current (const mavlink_message_t *msg)
 Get field current from mission_item_int message. More...
 
static uint8_t mavlink_msg_mission_item_int_get_frame (const mavlink_message_t *msg)
 Get field frame from mission_item_int message. More...
 
static float mavlink_msg_mission_item_int_get_param1 (const mavlink_message_t *msg)
 Get field param1 from mission_item_int message. More...
 
static float mavlink_msg_mission_item_int_get_param2 (const mavlink_message_t *msg)
 Get field param2 from mission_item_int message. More...
 
static float mavlink_msg_mission_item_int_get_param3 (const mavlink_message_t *msg)
 Get field param3 from mission_item_int message. More...
 
static float mavlink_msg_mission_item_int_get_param4 (const mavlink_message_t *msg)
 Get field param4 from mission_item_int message. More...
 
static uint16_t mavlink_msg_mission_item_int_get_seq (const mavlink_message_t *msg)
 Get field seq from mission_item_int message. More...
 
static uint8_t mavlink_msg_mission_item_int_get_target_component (const mavlink_message_t *msg)
 Get field target_component from mission_item_int message. More...
 
static uint8_t mavlink_msg_mission_item_int_get_target_system (const mavlink_message_t *msg)
 Send a mission_item_int message. More...
 
static int32_t mavlink_msg_mission_item_int_get_x (const mavlink_message_t *msg)
 Get field x from mission_item_int message. More...
 
static int32_t mavlink_msg_mission_item_int_get_y (const mavlink_message_t *msg)
 Get field y from mission_item_int message. More...
 
static float mavlink_msg_mission_item_int_get_z (const mavlink_message_t *msg)
 Get field z from mission_item_int message. More...
 
static uint16_t mavlink_msg_mission_item_int_pack (uint8_t system_id, uint8_t component_id, mavlink_message_t *msg, uint8_t target_system, uint8_t target_component, uint16_t seq, uint8_t frame, uint16_t command, uint8_t current, uint8_t autocontinue, float param1, float param2, float param3, float param4, int32_t x, int32_t y, float z)
 Pack a mission_item_int message. More...
 
static uint16_t mavlink_msg_mission_item_int_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 seq, uint8_t frame, uint16_t command, uint8_t current, uint8_t autocontinue, float param1, float param2, float param3, float param4, int32_t x, int32_t y, float z)
 Pack a mission_item_int message on a channel. More...
 

Macro Definition Documentation

#define MAVLINK_MESSAGE_INFO_MISSION_ITEM_INT
Value:
{ \
"MISSION_ITEM_INT", \
14, \
{ { "param1", NULL, MAVLINK_TYPE_FLOAT, 0, 0, offsetof(mavlink_mission_item_int_t, param1) }, \
{ "param2", NULL, MAVLINK_TYPE_FLOAT, 0, 4, offsetof(mavlink_mission_item_int_t, param2) }, \
{ "param3", NULL, MAVLINK_TYPE_FLOAT, 0, 8, offsetof(mavlink_mission_item_int_t, param3) }, \
{ "param4", NULL, MAVLINK_TYPE_FLOAT, 0, 12, offsetof(mavlink_mission_item_int_t, param4) }, \
{ "x", NULL, MAVLINK_TYPE_INT32_T, 0, 16, offsetof(mavlink_mission_item_int_t, x) }, \
{ "y", NULL, MAVLINK_TYPE_INT32_T, 0, 20, offsetof(mavlink_mission_item_int_t, y) }, \
{ "z", NULL, MAVLINK_TYPE_FLOAT, 0, 24, offsetof(mavlink_mission_item_int_t, z) }, \
{ "seq", NULL, MAVLINK_TYPE_UINT16_T, 0, 28, offsetof(mavlink_mission_item_int_t, seq) }, \
{ "command", NULL, MAVLINK_TYPE_UINT16_T, 0, 30, offsetof(mavlink_mission_item_int_t, command) }, \
{ "target_system", NULL, MAVLINK_TYPE_UINT8_T, 0, 32, offsetof(mavlink_mission_item_int_t, target_system) }, \
{ "target_component", NULL, MAVLINK_TYPE_UINT8_T, 0, 33, offsetof(mavlink_mission_item_int_t, target_component) }, \
{ "frame", NULL, MAVLINK_TYPE_UINT8_T, 0, 34, offsetof(mavlink_mission_item_int_t, frame) }, \
{ "current", NULL, MAVLINK_TYPE_UINT8_T, 0, 35, offsetof(mavlink_mission_item_int_t, current) }, \
{ "autocontinue", NULL, MAVLINK_TYPE_UINT8_T, 0, 36, offsetof(mavlink_mission_item_int_t, autocontinue) }, \
} \
}

Definition at line 31 of file mavlink_msg_mission_item_int.h.

#define MAVLINK_MSG_ID_73_CRC   38

Definition at line 27 of file mavlink_msg_mission_item_int.h.

#define MAVLINK_MSG_ID_73_LEN   37

Definition at line 24 of file mavlink_msg_mission_item_int.h.

#define MAVLINK_MSG_ID_MISSION_ITEM_INT   73

Definition at line 3 of file mavlink_msg_mission_item_int.h.

#define MAVLINK_MSG_ID_MISSION_ITEM_INT_CRC   38

Definition at line 26 of file mavlink_msg_mission_item_int.h.

#define MAVLINK_MSG_ID_MISSION_ITEM_INT_LEN   37

Definition at line 23 of file mavlink_msg_mission_item_int.h.

Typedef Documentation

Function Documentation

static void mavlink_msg_mission_item_int_decode ( const mavlink_message_t *  msg,
mavlink_mission_item_int_t mission_item_int 
)
inlinestatic

Decode a mission_item_int message into a struct.

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

Definition at line 501 of file mavlink_msg_mission_item_int.h.

static uint16_t mavlink_msg_mission_item_int_encode ( uint8_t  system_id,
uint8_t  component_id,
mavlink_message_t *  msg,
const mavlink_mission_item_int_t mission_item_int 
)
inlinestatic

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

Definition at line 203 of file mavlink_msg_mission_item_int.h.

static uint16_t mavlink_msg_mission_item_int_encode_chan ( uint8_t  system_id,
uint8_t  component_id,
uint8_t  chan,
mavlink_message_t *  msg,
const mavlink_mission_item_int_t mission_item_int 
)
inlinestatic

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

Definition at line 217 of file mavlink_msg_mission_item_int.h.

static uint8_t mavlink_msg_mission_item_int_get_autocontinue ( const mavlink_message_t *  msg)
inlinestatic

Get field autocontinue from mission_item_int message.

Returns
autocontinue to next wp

Definition at line 420 of file mavlink_msg_mission_item_int.h.

static uint16_t mavlink_msg_mission_item_int_get_command ( const mavlink_message_t *  msg)
inlinestatic

Get field command from mission_item_int message.

Returns
The scheduled action for the MISSION. see MAV_CMD in common.xml MAVLink specs

Definition at line 400 of file mavlink_msg_mission_item_int.h.

static uint8_t mavlink_msg_mission_item_int_get_current ( const mavlink_message_t *  msg)
inlinestatic

Get field current from mission_item_int message.

Returns
false:0, true:1

Definition at line 410 of file mavlink_msg_mission_item_int.h.

static uint8_t mavlink_msg_mission_item_int_get_frame ( const mavlink_message_t *  msg)
inlinestatic

Get field frame from mission_item_int message.

Returns
The coordinate system of the MISSION. see MAV_FRAME in mavlink_types.h

Definition at line 390 of file mavlink_msg_mission_item_int.h.

static float mavlink_msg_mission_item_int_get_param1 ( const mavlink_message_t *  msg)
inlinestatic

Get field param1 from mission_item_int message.

Returns
PARAM1, see MAV_CMD enum

Definition at line 430 of file mavlink_msg_mission_item_int.h.

static float mavlink_msg_mission_item_int_get_param2 ( const mavlink_message_t *  msg)
inlinestatic

Get field param2 from mission_item_int message.

Returns
PARAM2, see MAV_CMD enum

Definition at line 440 of file mavlink_msg_mission_item_int.h.

static float mavlink_msg_mission_item_int_get_param3 ( const mavlink_message_t *  msg)
inlinestatic

Get field param3 from mission_item_int message.

Returns
PARAM3, see MAV_CMD enum

Definition at line 450 of file mavlink_msg_mission_item_int.h.

static float mavlink_msg_mission_item_int_get_param4 ( const mavlink_message_t *  msg)
inlinestatic

Get field param4 from mission_item_int message.

Returns
PARAM4, see MAV_CMD enum

Definition at line 460 of file mavlink_msg_mission_item_int.h.

static uint16_t mavlink_msg_mission_item_int_get_seq ( const mavlink_message_t *  msg)
inlinestatic

Get field seq from mission_item_int message.

Returns
Waypoint ID (sequence number). Starts at zero. Increases monotonically for each waypoint, no gaps in the sequence (0,1,2,3,4).

Definition at line 380 of file mavlink_msg_mission_item_int.h.

static uint8_t mavlink_msg_mission_item_int_get_target_component ( const mavlink_message_t *  msg)
inlinestatic

Get field target_component from mission_item_int message.

Returns
Component ID

Definition at line 370 of file mavlink_msg_mission_item_int.h.

static uint8_t mavlink_msg_mission_item_int_get_target_system ( const mavlink_message_t *  msg)
inlinestatic

Send a mission_item_int message.

Parameters
chanMAVLink channel to send the message
target_systemSystem ID
target_componentComponent ID
seqWaypoint ID (sequence number). Starts at zero. Increases monotonically for each waypoint, no gaps in the sequence (0,1,2,3,4).
frameThe coordinate system of the MISSION. see MAV_FRAME in mavlink_types.h
commandThe scheduled action for the MISSION. see MAV_CMD in common.xml MAVLink specs
currentfalse:0, true:1
autocontinueautocontinue to next wp
param1PARAM1, see MAV_CMD enum
param2PARAM2, see MAV_CMD enum
param3PARAM3, see MAV_CMD enum
param4PARAM4, see MAV_CMD enum
xPARAM5 / local: x position in meters * 1e4, global: latitude in degrees * 10^7
yPARAM6 / y position: local: x position in meters * 1e4, global: longitude in degrees *10^7
zPARAM7 / z position: global: altitude in meters (relative or absolute, depending on frame. Get field target_system from mission_item_int message
Returns
System ID

Definition at line 360 of file mavlink_msg_mission_item_int.h.

static int32_t mavlink_msg_mission_item_int_get_x ( const mavlink_message_t *  msg)
inlinestatic

Get field x from mission_item_int message.

Returns
PARAM5 / local: x position in meters * 1e4, global: latitude in degrees * 10^7

Definition at line 470 of file mavlink_msg_mission_item_int.h.

static int32_t mavlink_msg_mission_item_int_get_y ( const mavlink_message_t *  msg)
inlinestatic

Get field y from mission_item_int message.

Returns
PARAM6 / y position: local: x position in meters * 1e4, global: longitude in degrees *10^7

Definition at line 480 of file mavlink_msg_mission_item_int.h.

static float mavlink_msg_mission_item_int_get_z ( const mavlink_message_t *  msg)
inlinestatic

Get field z from mission_item_int message.

Returns
PARAM7 / z position: global: altitude in meters (relative or absolute, depending on frame.

Definition at line 490 of file mavlink_msg_mission_item_int.h.

static uint16_t mavlink_msg_mission_item_int_pack ( uint8_t  system_id,
uint8_t  component_id,
mavlink_message_t *  msg,
uint8_t  target_system,
uint8_t  target_component,
uint16_t  seq,
uint8_t  frame,
uint16_t  command,
uint8_t  current,
uint8_t  autocontinue,
float  param1,
float  param2,
float  param3,
float  param4,
int32_t  x,
int32_t  y,
float  z 
)
inlinestatic

Pack a mission_item_int 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
seqWaypoint ID (sequence number). Starts at zero. Increases monotonically for each waypoint, no gaps in the sequence (0,1,2,3,4).
frameThe coordinate system of the MISSION. see MAV_FRAME in mavlink_types.h
commandThe scheduled action for the MISSION. see MAV_CMD in common.xml MAVLink specs
currentfalse:0, true:1
autocontinueautocontinue to next wp
param1PARAM1, see MAV_CMD enum
param2PARAM2, see MAV_CMD enum
param3PARAM3, see MAV_CMD enum
param4PARAM4, see MAV_CMD enum
xPARAM5 / local: x position in meters * 1e4, global: latitude in degrees * 10^7
yPARAM6 / y position: local: x position in meters * 1e4, global: longitude in degrees *10^7
zPARAM7 / z position: global: altitude in meters (relative or absolute, depending on frame.
Returns
length of the message in bytes (excluding serial stream start sign)

Definition at line 74 of file mavlink_msg_mission_item_int.h.

static uint16_t mavlink_msg_mission_item_int_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  seq,
uint8_t  frame,
uint16_t  command,
uint8_t  current,
uint8_t  autocontinue,
float  param1,
float  param2,
float  param3,
float  param4,
int32_t  x,
int32_t  y,
float  z 
)
inlinestatic

Pack a mission_item_int 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
seqWaypoint ID (sequence number). Starts at zero. Increases monotonically for each waypoint, no gaps in the sequence (0,1,2,3,4).
frameThe coordinate system of the MISSION. see MAV_FRAME in mavlink_types.h
commandThe scheduled action for the MISSION. see MAV_CMD in common.xml MAVLink specs
currentfalse:0, true:1
autocontinueautocontinue to next wp
param1PARAM1, see MAV_CMD enum
param2PARAM2, see MAV_CMD enum
param3PARAM3, see MAV_CMD enum
param4PARAM4, see MAV_CMD enum
xPARAM5 / local: x position in meters * 1e4, global: latitude in degrees * 10^7
yPARAM6 / y position: local: x position in meters * 1e4, global: longitude in degrees *10^7
zPARAM7 / z position: global: altitude in meters (relative or absolute, depending on frame.
Returns
length of the message in bytes (excluding serial stream start sign)

Definition at line 145 of file mavlink_msg_mission_item_int.h.



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