Go to the source code of this file.
Classes | |
struct | __mavlink_offboard_control_t |
Macros | |
#define | MAVLINK_MESSAGE_INFO_OFFBOARD_CONTROL |
#define | MAVLINK_MSG_ID_180_CRC 93 |
#define | MAVLINK_MSG_ID_180_LEN 18 |
#define | MAVLINK_MSG_ID_OFFBOARD_CONTROL 180 |
#define | MAVLINK_MSG_ID_OFFBOARD_CONTROL_CRC 93 |
#define | MAVLINK_MSG_ID_OFFBOARD_CONTROL_LEN 18 |
Typedefs | |
typedef struct __mavlink_offboard_control_t | mavlink_offboard_control_t |
Functions | |
static void | mavlink_msg_offboard_control_decode (const mavlink_message_t *msg, mavlink_offboard_control_t *offboard_control) |
Decode a offboard_control message into a struct. More... | |
static uint16_t | mavlink_msg_offboard_control_encode (uint8_t system_id, uint8_t component_id, mavlink_message_t *msg, const mavlink_offboard_control_t *offboard_control) |
Encode a offboard_control struct. More... | |
static uint16_t | mavlink_msg_offboard_control_encode_chan (uint8_t system_id, uint8_t component_id, uint8_t chan, mavlink_message_t *msg, const mavlink_offboard_control_t *offboard_control) |
Encode a offboard_control struct on a channel. More... | |
static float | mavlink_msg_offboard_control_get_F (const mavlink_message_t *msg) |
Get field F from offboard_control message. More... | |
static uint8_t | mavlink_msg_offboard_control_get_ignore (const mavlink_message_t *msg) |
Get field ignore from offboard_control message. More... | |
static uint8_t | mavlink_msg_offboard_control_get_mode (const mavlink_message_t *msg) |
Send a offboard_control message. More... | |
static float | mavlink_msg_offboard_control_get_x (const mavlink_message_t *msg) |
Get field x from offboard_control message. More... | |
static float | mavlink_msg_offboard_control_get_y (const mavlink_message_t *msg) |
Get field y from offboard_control message. More... | |
static float | mavlink_msg_offboard_control_get_z (const mavlink_message_t *msg) |
Get field z from offboard_control message. More... | |
static uint16_t | mavlink_msg_offboard_control_pack (uint8_t system_id, uint8_t component_id, mavlink_message_t *msg, uint8_t mode, uint8_t ignore, float x, float y, float z, float F) |
Pack a offboard_control message. More... | |
static uint16_t | mavlink_msg_offboard_control_pack_chan (uint8_t system_id, uint8_t component_id, uint8_t chan, mavlink_message_t *msg, uint8_t mode, uint8_t ignore, float x, float y, float z, float F) |
Pack a offboard_control message on a channel. More... | |
#define MAVLINK_MESSAGE_INFO_OFFBOARD_CONTROL |
Definition at line 23 of file mavlink_msg_offboard_control.h.
#define MAVLINK_MSG_ID_180_CRC 93 |
Definition at line 19 of file mavlink_msg_offboard_control.h.
#define MAVLINK_MSG_ID_180_LEN 18 |
Definition at line 16 of file mavlink_msg_offboard_control.h.
#define MAVLINK_MSG_ID_OFFBOARD_CONTROL 180 |
Definition at line 3 of file mavlink_msg_offboard_control.h.
#define MAVLINK_MSG_ID_OFFBOARD_CONTROL_CRC 93 |
Definition at line 18 of file mavlink_msg_offboard_control.h.
#define MAVLINK_MSG_ID_OFFBOARD_CONTROL_LEN 18 |
Definition at line 15 of file mavlink_msg_offboard_control.h.
typedef struct __mavlink_offboard_control_t mavlink_offboard_control_t |
|
inlinestatic |
Decode a offboard_control message into a struct.
msg | The message to decode |
offboard_control | C-struct to decode the message contents into |
Definition at line 317 of file mavlink_msg_offboard_control.h.
|
inlinestatic |
Encode a offboard_control 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 |
offboard_control | C-struct to read the message contents from |
Definition at line 139 of file mavlink_msg_offboard_control.h.
|
inlinestatic |
Encode a offboard_control 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 |
offboard_control | C-struct to read the message contents from |
Definition at line 153 of file mavlink_msg_offboard_control.h.
|
inlinestatic |
Get field F from offboard_control message.
Definition at line 306 of file mavlink_msg_offboard_control.h.
|
inlinestatic |
Get field ignore from offboard_control message.
Definition at line 266 of file mavlink_msg_offboard_control.h.
|
inlinestatic |
Send a offboard_control message.
chan | MAVLink channel to send the message |
mode | Offboard control mode, see OFFBOARD_CONTROL_MODE |
ignore | Bitfield specifying which fields should be ignored, see OFFBOARD_CONTROL_IGNORE |
x | x control channel interpreted according to mode |
y | y control channel, interpreted according to mode |
z | z control channel, interpreted according to mode |
F | F control channel, interpreted according to mode Get field mode from offboard_control message |
Definition at line 256 of file mavlink_msg_offboard_control.h.
|
inlinestatic |
Get field x from offboard_control message.
Definition at line 276 of file mavlink_msg_offboard_control.h.
|
inlinestatic |
Get field y from offboard_control message.
Definition at line 286 of file mavlink_msg_offboard_control.h.
|
inlinestatic |
Get field z from offboard_control message.
Definition at line 296 of file mavlink_msg_offboard_control.h.
|
inlinestatic |
Pack a offboard_control 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 |
mode | Offboard control mode, see OFFBOARD_CONTROL_MODE |
ignore | Bitfield specifying which fields should be ignored, see OFFBOARD_CONTROL_IGNORE |
x | x control channel interpreted according to mode |
y | y control channel, interpreted according to mode |
z | z control channel, interpreted according to mode |
F | F control channel, interpreted according to mode |
Definition at line 50 of file mavlink_msg_offboard_control.h.
|
inlinestatic |
Pack a offboard_control 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 |
mode | Offboard control mode, see OFFBOARD_CONTROL_MODE |
ignore | Bitfield specifying which fields should be ignored, see OFFBOARD_CONTROL_IGNORE |
x | x control channel interpreted according to mode |
y | y control channel, interpreted according to mode |
z | z control channel, interpreted according to mode |
F | F control channel, interpreted according to mode |
Definition at line 97 of file mavlink_msg_offboard_control.h.