Go to the source code of this file.
Classes | |
struct | __mavlink_manual_setpoint_t |
Defines | |
#define | MAVLINK_MESSAGE_INFO_MANUAL_SETPOINT |
#define | MAVLINK_MSG_ID_81_CRC 106 |
#define | MAVLINK_MSG_ID_81_LEN 22 |
#define | MAVLINK_MSG_ID_MANUAL_SETPOINT 81 |
#define | MAVLINK_MSG_ID_MANUAL_SETPOINT_CRC 106 |
#define | MAVLINK_MSG_ID_MANUAL_SETPOINT_LEN 22 |
Typedefs | |
typedef struct __mavlink_manual_setpoint_t | mavlink_manual_setpoint_t |
Functions | |
static void | mavlink_msg_manual_setpoint_decode (const mavlink_message_t *msg, mavlink_manual_setpoint_t *manual_setpoint) |
Decode a manual_setpoint message into a struct. | |
static uint16_t | mavlink_msg_manual_setpoint_encode (uint8_t system_id, uint8_t component_id, mavlink_message_t *msg, const mavlink_manual_setpoint_t *manual_setpoint) |
Encode a manual_setpoint struct. | |
static uint16_t | mavlink_msg_manual_setpoint_encode_chan (uint8_t system_id, uint8_t component_id, uint8_t chan, mavlink_message_t *msg, const mavlink_manual_setpoint_t *manual_setpoint) |
Encode a manual_setpoint struct on a channel. | |
static uint8_t | mavlink_msg_manual_setpoint_get_manual_override_switch (const mavlink_message_t *msg) |
Get field manual_override_switch from manual_setpoint message. | |
static uint8_t | mavlink_msg_manual_setpoint_get_mode_switch (const mavlink_message_t *msg) |
Get field mode_switch from manual_setpoint message. | |
static float | mavlink_msg_manual_setpoint_get_pitch (const mavlink_message_t *msg) |
Get field pitch from manual_setpoint message. | |
static float | mavlink_msg_manual_setpoint_get_roll (const mavlink_message_t *msg) |
Get field roll from manual_setpoint message. | |
static float | mavlink_msg_manual_setpoint_get_thrust (const mavlink_message_t *msg) |
Get field thrust from manual_setpoint message. | |
static uint32_t | mavlink_msg_manual_setpoint_get_time_boot_ms (const mavlink_message_t *msg) |
Send a manual_setpoint message. | |
static float | mavlink_msg_manual_setpoint_get_yaw (const mavlink_message_t *msg) |
Get field yaw from manual_setpoint message. | |
static uint16_t | mavlink_msg_manual_setpoint_pack (uint8_t system_id, uint8_t component_id, mavlink_message_t *msg, uint32_t time_boot_ms, float roll, float pitch, float yaw, float thrust, uint8_t mode_switch, uint8_t manual_override_switch) |
Pack a manual_setpoint message. | |
static uint16_t | mavlink_msg_manual_setpoint_pack_chan (uint8_t system_id, uint8_t component_id, uint8_t chan, mavlink_message_t *msg, uint32_t time_boot_ms, float roll, float pitch, float yaw, float thrust, uint8_t mode_switch, uint8_t manual_override_switch) |
Pack a manual_setpoint message on a channel. |
{ \ "MANUAL_SETPOINT", \ 7, \ { { "time_boot_ms", NULL, MAVLINK_TYPE_UINT32_T, 0, 0, offsetof(mavlink_manual_setpoint_t, time_boot_ms) }, \ { "roll", NULL, MAVLINK_TYPE_FLOAT, 0, 4, offsetof(mavlink_manual_setpoint_t, roll) }, \ { "pitch", NULL, MAVLINK_TYPE_FLOAT, 0, 8, offsetof(mavlink_manual_setpoint_t, pitch) }, \ { "yaw", NULL, MAVLINK_TYPE_FLOAT, 0, 12, offsetof(mavlink_manual_setpoint_t, yaw) }, \ { "thrust", NULL, MAVLINK_TYPE_FLOAT, 0, 16, offsetof(mavlink_manual_setpoint_t, thrust) }, \ { "mode_switch", NULL, MAVLINK_TYPE_UINT8_T, 0, 20, offsetof(mavlink_manual_setpoint_t, mode_switch) }, \ { "manual_override_switch", NULL, MAVLINK_TYPE_UINT8_T, 0, 21, offsetof(mavlink_manual_setpoint_t, manual_override_switch) }, \ } \ }
Definition at line 24 of file mavlink_msg_manual_setpoint.h.
#define MAVLINK_MSG_ID_81_CRC 106 |
Definition at line 20 of file mavlink_msg_manual_setpoint.h.
#define MAVLINK_MSG_ID_81_LEN 22 |
Definition at line 17 of file mavlink_msg_manual_setpoint.h.
#define MAVLINK_MSG_ID_MANUAL_SETPOINT 81 |
Definition at line 3 of file mavlink_msg_manual_setpoint.h.
#define MAVLINK_MSG_ID_MANUAL_SETPOINT_CRC 106 |
Definition at line 19 of file mavlink_msg_manual_setpoint.h.
#define MAVLINK_MSG_ID_MANUAL_SETPOINT_LEN 22 |
Definition at line 16 of file mavlink_msg_manual_setpoint.h.
typedef struct __mavlink_manual_setpoint_t mavlink_manual_setpoint_t |
static void mavlink_msg_manual_setpoint_decode | ( | const mavlink_message_t * | msg, |
mavlink_manual_setpoint_t * | manual_setpoint | ||
) | [inline, static] |
Decode a manual_setpoint message into a struct.
msg | The message to decode |
manual_setpoint | C-struct to decode the message contents into |
Definition at line 340 of file mavlink_msg_manual_setpoint.h.
static uint16_t mavlink_msg_manual_setpoint_encode | ( | uint8_t | system_id, |
uint8_t | component_id, | ||
mavlink_message_t * | msg, | ||
const mavlink_manual_setpoint_t * | manual_setpoint | ||
) | [inline, static] |
Encode a manual_setpoint 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 |
manual_setpoint | C-struct to read the message contents from |
Definition at line 147 of file mavlink_msg_manual_setpoint.h.
static uint16_t mavlink_msg_manual_setpoint_encode_chan | ( | uint8_t | system_id, |
uint8_t | component_id, | ||
uint8_t | chan, | ||
mavlink_message_t * | msg, | ||
const mavlink_manual_setpoint_t * | manual_setpoint | ||
) | [inline, static] |
Encode a manual_setpoint 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 |
manual_setpoint | C-struct to read the message contents from |
Definition at line 161 of file mavlink_msg_manual_setpoint.h.
static uint8_t mavlink_msg_manual_setpoint_get_manual_override_switch | ( | const mavlink_message_t * | msg | ) | [inline, static] |
Get field manual_override_switch from manual_setpoint message.
Definition at line 329 of file mavlink_msg_manual_setpoint.h.
static uint8_t mavlink_msg_manual_setpoint_get_mode_switch | ( | const mavlink_message_t * | msg | ) | [inline, static] |
Get field mode_switch from manual_setpoint message.
Definition at line 319 of file mavlink_msg_manual_setpoint.h.
static float mavlink_msg_manual_setpoint_get_pitch | ( | const mavlink_message_t * | msg | ) | [inline, static] |
Get field pitch from manual_setpoint message.
Definition at line 289 of file mavlink_msg_manual_setpoint.h.
static float mavlink_msg_manual_setpoint_get_roll | ( | const mavlink_message_t * | msg | ) | [inline, static] |
Get field roll from manual_setpoint message.
Definition at line 279 of file mavlink_msg_manual_setpoint.h.
static float mavlink_msg_manual_setpoint_get_thrust | ( | const mavlink_message_t * | msg | ) | [inline, static] |
Get field thrust from manual_setpoint message.
Definition at line 309 of file mavlink_msg_manual_setpoint.h.
static uint32_t mavlink_msg_manual_setpoint_get_time_boot_ms | ( | const mavlink_message_t * | msg | ) | [inline, static] |
Send a manual_setpoint message.
chan | MAVLink channel to send the message |
time_boot_ms | Timestamp in milliseconds since system boot |
roll | Desired roll rate in radians per second |
pitch | Desired pitch rate in radians per second |
yaw | Desired yaw rate in radians per second |
thrust | Collective thrust, normalized to 0 .. 1 |
mode_switch | Flight mode switch position, 0.. 255 |
manual_override_switch | Override mode switch position, 0.. 255 Get field time_boot_ms from manual_setpoint message |
Definition at line 269 of file mavlink_msg_manual_setpoint.h.
static float mavlink_msg_manual_setpoint_get_yaw | ( | const mavlink_message_t * | msg | ) | [inline, static] |
Get field yaw from manual_setpoint message.
Definition at line 299 of file mavlink_msg_manual_setpoint.h.
static uint16_t mavlink_msg_manual_setpoint_pack | ( | uint8_t | system_id, |
uint8_t | component_id, | ||
mavlink_message_t * | msg, | ||
uint32_t | time_boot_ms, | ||
float | roll, | ||
float | pitch, | ||
float | yaw, | ||
float | thrust, | ||
uint8_t | mode_switch, | ||
uint8_t | manual_override_switch | ||
) | [inline, static] |
Pack a manual_setpoint 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 |
time_boot_ms | Timestamp in milliseconds since system boot |
roll | Desired roll rate in radians per second |
pitch | Desired pitch rate in radians per second |
yaw | Desired yaw rate in radians per second |
thrust | Collective thrust, normalized to 0 .. 1 |
mode_switch | Flight mode switch position, 0.. 255 |
manual_override_switch | Override mode switch position, 0.. 255 |
Definition at line 53 of file mavlink_msg_manual_setpoint.h.
static uint16_t mavlink_msg_manual_setpoint_pack_chan | ( | uint8_t | system_id, |
uint8_t | component_id, | ||
uint8_t | chan, | ||
mavlink_message_t * | msg, | ||
uint32_t | time_boot_ms, | ||
float | roll, | ||
float | pitch, | ||
float | yaw, | ||
float | thrust, | ||
uint8_t | mode_switch, | ||
uint8_t | manual_override_switch | ||
) | [inline, static] |
Pack a manual_setpoint 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 |
time_boot_ms | Timestamp in milliseconds since system boot |
roll | Desired roll rate in radians per second |
pitch | Desired pitch rate in radians per second |
yaw | Desired yaw rate in radians per second |
thrust | Collective thrust, normalized to 0 .. 1 |
mode_switch | Flight mode switch position, 0.. 255 |
manual_override_switch | Override mode switch position, 0.. 255 |
Definition at line 103 of file mavlink_msg_manual_setpoint.h.