Go to the source code of this file.
Classes | |
struct | __mavlink_command_long_t |
Macros | |
#define | MAVLINK_MESSAGE_INFO_COMMAND_LONG |
#define | MAVLINK_MSG_ID_76_CRC 152 |
#define | MAVLINK_MSG_ID_76_LEN 33 |
#define | MAVLINK_MSG_ID_COMMAND_LONG 76 |
#define | MAVLINK_MSG_ID_COMMAND_LONG_CRC 152 |
#define | MAVLINK_MSG_ID_COMMAND_LONG_LEN 33 |
Typedefs | |
typedef struct __mavlink_command_long_t | mavlink_command_long_t |
Functions | |
static void | mavlink_msg_command_long_decode (const mavlink_message_t *msg, mavlink_command_long_t *command_long) |
Decode a command_long message into a struct. More... | |
static uint16_t | mavlink_msg_command_long_encode (uint8_t system_id, uint8_t component_id, mavlink_message_t *msg, const mavlink_command_long_t *command_long) |
Encode a command_long struct. More... | |
static uint16_t | mavlink_msg_command_long_encode_chan (uint8_t system_id, uint8_t component_id, uint8_t chan, mavlink_message_t *msg, const mavlink_command_long_t *command_long) |
Encode a command_long struct on a channel. More... | |
static uint16_t | mavlink_msg_command_long_get_command (const mavlink_message_t *msg) |
Get field command from command_long message. More... | |
static uint8_t | mavlink_msg_command_long_get_confirmation (const mavlink_message_t *msg) |
Get field confirmation from command_long message. More... | |
static float | mavlink_msg_command_long_get_param1 (const mavlink_message_t *msg) |
Get field param1 from command_long message. More... | |
static float | mavlink_msg_command_long_get_param2 (const mavlink_message_t *msg) |
Get field param2 from command_long message. More... | |
static float | mavlink_msg_command_long_get_param3 (const mavlink_message_t *msg) |
Get field param3 from command_long message. More... | |
static float | mavlink_msg_command_long_get_param4 (const mavlink_message_t *msg) |
Get field param4 from command_long message. More... | |
static float | mavlink_msg_command_long_get_param5 (const mavlink_message_t *msg) |
Get field param5 from command_long message. More... | |
static float | mavlink_msg_command_long_get_param6 (const mavlink_message_t *msg) |
Get field param6 from command_long message. More... | |
static float | mavlink_msg_command_long_get_param7 (const mavlink_message_t *msg) |
Get field param7 from command_long message. More... | |
static uint8_t | mavlink_msg_command_long_get_target_component (const mavlink_message_t *msg) |
Get field target_component from command_long message. More... | |
static uint8_t | mavlink_msg_command_long_get_target_system (const mavlink_message_t *msg) |
Send a command_long message. More... | |
static uint16_t | mavlink_msg_command_long_pack (uint8_t system_id, uint8_t component_id, mavlink_message_t *msg, uint8_t target_system, uint8_t target_component, uint16_t command, uint8_t confirmation, float param1, float param2, float param3, float param4, float param5, float param6, float param7) |
Pack a command_long message. More... | |
static uint16_t | mavlink_msg_command_long_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 command, uint8_t confirmation, float param1, float param2, float param3, float param4, float param5, float param6, float param7) |
Pack a command_long message on a channel. More... | |
#define MAVLINK_MESSAGE_INFO_COMMAND_LONG |
Definition at line 28 of file mavlink_msg_command_long.h.
#define MAVLINK_MSG_ID_76_CRC 152 |
Definition at line 24 of file mavlink_msg_command_long.h.
#define MAVLINK_MSG_ID_76_LEN 33 |
Definition at line 21 of file mavlink_msg_command_long.h.
#define MAVLINK_MSG_ID_COMMAND_LONG 76 |
Definition at line 3 of file mavlink_msg_command_long.h.
#define MAVLINK_MSG_ID_COMMAND_LONG_CRC 152 |
Definition at line 23 of file mavlink_msg_command_long.h.
#define MAVLINK_MSG_ID_COMMAND_LONG_LEN 33 |
Definition at line 20 of file mavlink_msg_command_long.h.
typedef struct __mavlink_command_long_t mavlink_command_long_t |
|
inlinestatic |
Decode a command_long message into a struct.
msg | The message to decode |
command_long | C-struct to decode the message contents into |
Definition at line 432 of file mavlink_msg_command_long.h.
|
inlinestatic |
Encode a command_long struct.
system_id | ID of this system |
component_id | ID of this component (e.g. 200 for IMU) |
msg | The MAVLink message to compress the data into |
command_long | C-struct to read the message contents from |
Definition at line 179 of file mavlink_msg_command_long.h.
|
inlinestatic |
Encode a command_long struct on a channel.
system_id | ID of this system |
component_id | ID of this component (e.g. 200 for IMU) |
chan | The MAVLink channel this message will be sent over |
msg | The MAVLink message to compress the data into |
command_long | C-struct to read the message contents from |
Definition at line 193 of file mavlink_msg_command_long.h.
|
inlinestatic |
Get field command from command_long message.
Definition at line 341 of file mavlink_msg_command_long.h.
|
inlinestatic |
Get field confirmation from command_long message.
Definition at line 351 of file mavlink_msg_command_long.h.
|
inlinestatic |
Get field param1 from command_long message.
Definition at line 361 of file mavlink_msg_command_long.h.
|
inlinestatic |
Get field param2 from command_long message.
Definition at line 371 of file mavlink_msg_command_long.h.
|
inlinestatic |
Get field param3 from command_long message.
Definition at line 381 of file mavlink_msg_command_long.h.
|
inlinestatic |
Get field param4 from command_long message.
Definition at line 391 of file mavlink_msg_command_long.h.
|
inlinestatic |
Get field param5 from command_long message.
Definition at line 401 of file mavlink_msg_command_long.h.
|
inlinestatic |
Get field param6 from command_long message.
Definition at line 411 of file mavlink_msg_command_long.h.
|
inlinestatic |
Get field param7 from command_long message.
Definition at line 421 of file mavlink_msg_command_long.h.
|
inlinestatic |
Get field target_component from command_long message.
Definition at line 331 of file mavlink_msg_command_long.h.
|
inlinestatic |
Send a command_long message.
chan | MAVLink channel to send the message |
target_system | System which should execute the command |
target_component | Component which should execute the command, 0 for all components |
command | Command ID, as defined by MAV_CMD enum. |
confirmation | 0: First transmission of this command. 1-255: Confirmation transmissions (e.g. for kill command) |
param1 | Parameter 1, as defined by MAV_CMD enum. |
param2 | Parameter 2, as defined by MAV_CMD enum. |
param3 | Parameter 3, as defined by MAV_CMD enum. |
param4 | Parameter 4, as defined by MAV_CMD enum. |
param5 | Parameter 5, as defined by MAV_CMD enum. |
param6 | Parameter 6, as defined by MAV_CMD enum. |
param7 | Parameter 7, as defined by MAV_CMD enum. Get field target_system from command_long message |
Definition at line 321 of file mavlink_msg_command_long.h.
|
inlinestatic |
Pack a command_long message.
system_id | ID of this system |
component_id | ID of this component (e.g. 200 for IMU) |
msg | The MAVLink message to compress the data into |
target_system | System which should execute the command |
target_component | Component which should execute the command, 0 for all components |
command | Command ID, as defined by MAV_CMD enum. |
confirmation | 0: First transmission of this command. 1-255: Confirmation transmissions (e.g. for kill command) |
param1 | Parameter 1, as defined by MAV_CMD enum. |
param2 | Parameter 2, as defined by MAV_CMD enum. |
param3 | Parameter 3, as defined by MAV_CMD enum. |
param4 | Parameter 4, as defined by MAV_CMD enum. |
param5 | Parameter 5, as defined by MAV_CMD enum. |
param6 | Parameter 6, as defined by MAV_CMD enum. |
param7 | Parameter 7, as defined by MAV_CMD enum. |
Definition at line 65 of file mavlink_msg_command_long.h.
|
inlinestatic |
Pack a command_long message on a channel.
system_id | ID of this system |
component_id | ID of this component (e.g. 200 for IMU) |
chan | The MAVLink channel this message will be sent over |
msg | The MAVLink message to compress the data into |
target_system | System which should execute the command |
target_component | Component which should execute the command, 0 for all components |
command | Command ID, as defined by MAV_CMD enum. |
confirmation | 0: First transmission of this command. 1-255: Confirmation transmissions (e.g. for kill command) |
param1 | Parameter 1, as defined by MAV_CMD enum. |
param2 | Parameter 2, as defined by MAV_CMD enum. |
param3 | Parameter 3, as defined by MAV_CMD enum. |
param4 | Parameter 4, as defined by MAV_CMD enum. |
param5 | Parameter 5, as defined by MAV_CMD enum. |
param6 | Parameter 6, as defined by MAV_CMD enum. |
param7 | Parameter 7, as defined by MAV_CMD enum. |
Definition at line 127 of file mavlink_msg_command_long.h.