
Go to the source code of this file.
Classes | |
| struct | __mavlink_hil_controls_t |
Macros | |
| #define | MAVLINK_MESSAGE_INFO_HIL_CONTROLS |
| #define | MAVLINK_MSG_ID_91_CRC 63 |
| #define | MAVLINK_MSG_ID_91_LEN 42 |
| #define | MAVLINK_MSG_ID_HIL_CONTROLS 91 |
| #define | MAVLINK_MSG_ID_HIL_CONTROLS_CRC 63 |
| #define | MAVLINK_MSG_ID_HIL_CONTROLS_LEN 42 |
Typedefs | |
| typedef struct __mavlink_hil_controls_t | mavlink_hil_controls_t |
Functions | |
| static void | mavlink_msg_hil_controls_decode (const mavlink_message_t *msg, mavlink_hil_controls_t *hil_controls) |
| Decode a hil_controls message into a struct. More... | |
| static uint16_t | mavlink_msg_hil_controls_encode (uint8_t system_id, uint8_t component_id, mavlink_message_t *msg, const mavlink_hil_controls_t *hil_controls) |
| Encode a hil_controls struct. More... | |
| static uint16_t | mavlink_msg_hil_controls_encode_chan (uint8_t system_id, uint8_t component_id, uint8_t chan, mavlink_message_t *msg, const mavlink_hil_controls_t *hil_controls) |
| Encode a hil_controls struct on a channel. More... | |
| static float | mavlink_msg_hil_controls_get_aux1 (const mavlink_message_t *msg) |
| Get field aux1 from hil_controls message. More... | |
| static float | mavlink_msg_hil_controls_get_aux2 (const mavlink_message_t *msg) |
| Get field aux2 from hil_controls message. More... | |
| static float | mavlink_msg_hil_controls_get_aux3 (const mavlink_message_t *msg) |
| Get field aux3 from hil_controls message. More... | |
| static float | mavlink_msg_hil_controls_get_aux4 (const mavlink_message_t *msg) |
| Get field aux4 from hil_controls message. More... | |
| static uint8_t | mavlink_msg_hil_controls_get_mode (const mavlink_message_t *msg) |
| Get field mode from hil_controls message. More... | |
| static uint8_t | mavlink_msg_hil_controls_get_nav_mode (const mavlink_message_t *msg) |
| Get field nav_mode from hil_controls message. More... | |
| static float | mavlink_msg_hil_controls_get_pitch_elevator (const mavlink_message_t *msg) |
| Get field pitch_elevator from hil_controls message. More... | |
| static float | mavlink_msg_hil_controls_get_roll_ailerons (const mavlink_message_t *msg) |
| Get field roll_ailerons from hil_controls message. More... | |
| static float | mavlink_msg_hil_controls_get_throttle (const mavlink_message_t *msg) |
| Get field throttle from hil_controls message. More... | |
| static uint64_t | mavlink_msg_hil_controls_get_time_usec (const mavlink_message_t *msg) |
| Send a hil_controls message. More... | |
| static float | mavlink_msg_hil_controls_get_yaw_rudder (const mavlink_message_t *msg) |
| Get field yaw_rudder from hil_controls message. More... | |
| static uint16_t | mavlink_msg_hil_controls_pack (uint8_t system_id, uint8_t component_id, mavlink_message_t *msg, uint64_t time_usec, float roll_ailerons, float pitch_elevator, float yaw_rudder, float throttle, float aux1, float aux2, float aux3, float aux4, uint8_t mode, uint8_t nav_mode) |
| Pack a hil_controls message. More... | |
| static uint16_t | mavlink_msg_hil_controls_pack_chan (uint8_t system_id, uint8_t component_id, uint8_t chan, mavlink_message_t *msg, uint64_t time_usec, float roll_ailerons, float pitch_elevator, float yaw_rudder, float throttle, float aux1, float aux2, float aux3, float aux4, uint8_t mode, uint8_t nav_mode) |
| Pack a hil_controls message on a channel. More... | |
| #define MAVLINK_MESSAGE_INFO_HIL_CONTROLS |
Definition at line 28 of file mavlink_msg_hil_controls.h.
| #define MAVLINK_MSG_ID_91_CRC 63 |
Definition at line 24 of file mavlink_msg_hil_controls.h.
| #define MAVLINK_MSG_ID_91_LEN 42 |
Definition at line 21 of file mavlink_msg_hil_controls.h.
| #define MAVLINK_MSG_ID_HIL_CONTROLS 91 |
Definition at line 3 of file mavlink_msg_hil_controls.h.
| #define MAVLINK_MSG_ID_HIL_CONTROLS_CRC 63 |
Definition at line 23 of file mavlink_msg_hil_controls.h.
| #define MAVLINK_MSG_ID_HIL_CONTROLS_LEN 42 |
Definition at line 20 of file mavlink_msg_hil_controls.h.
| typedef struct __mavlink_hil_controls_t mavlink_hil_controls_t |
|
inlinestatic |
Decode a hil_controls message into a struct.
| msg | The message to decode |
| hil_controls | C-struct to decode the message contents into |
Definition at line 432 of file mavlink_msg_hil_controls.h.
|
inlinestatic |
Encode a hil_controls 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 |
| hil_controls | C-struct to read the message contents from |
Definition at line 179 of file mavlink_msg_hil_controls.h.
|
inlinestatic |
Encode a hil_controls 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 |
| hil_controls | C-struct to read the message contents from |
Definition at line 193 of file mavlink_msg_hil_controls.h.
|
inlinestatic |
Get field aux1 from hil_controls message.
Definition at line 371 of file mavlink_msg_hil_controls.h.
|
inlinestatic |
Get field aux2 from hil_controls message.
Definition at line 381 of file mavlink_msg_hil_controls.h.
|
inlinestatic |
Get field aux3 from hil_controls message.
Definition at line 391 of file mavlink_msg_hil_controls.h.
|
inlinestatic |
Get field aux4 from hil_controls message.
Definition at line 401 of file mavlink_msg_hil_controls.h.
|
inlinestatic |
Get field mode from hil_controls message.
Definition at line 411 of file mavlink_msg_hil_controls.h.
|
inlinestatic |
Get field nav_mode from hil_controls message.
Definition at line 421 of file mavlink_msg_hil_controls.h.
|
inlinestatic |
Get field pitch_elevator from hil_controls message.
Definition at line 341 of file mavlink_msg_hil_controls.h.
|
inlinestatic |
Get field roll_ailerons from hil_controls message.
Definition at line 331 of file mavlink_msg_hil_controls.h.
|
inlinestatic |
Get field throttle from hil_controls message.
Definition at line 361 of file mavlink_msg_hil_controls.h.
|
inlinestatic |
Send a hil_controls message.
| chan | MAVLink channel to send the message |
| time_usec | Timestamp (microseconds since UNIX epoch or microseconds since system boot) |
| roll_ailerons | Control output -1 .. 1 |
| pitch_elevator | Control output -1 .. 1 |
| yaw_rudder | Control output -1 .. 1 |
| throttle | Throttle 0 .. 1 |
| aux1 | Aux 1, -1 .. 1 |
| aux2 | Aux 2, -1 .. 1 |
| aux3 | Aux 3, -1 .. 1 |
| aux4 | Aux 4, -1 .. 1 |
| mode | System mode (MAV_MODE) |
| nav_mode | Navigation mode (MAV_NAV_MODE) Get field time_usec from hil_controls message |
Definition at line 321 of file mavlink_msg_hil_controls.h.
|
inlinestatic |
Get field yaw_rudder from hil_controls message.
Definition at line 351 of file mavlink_msg_hil_controls.h.
|
inlinestatic |
Pack a hil_controls 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_usec | Timestamp (microseconds since UNIX epoch or microseconds since system boot) |
| roll_ailerons | Control output -1 .. 1 |
| pitch_elevator | Control output -1 .. 1 |
| yaw_rudder | Control output -1 .. 1 |
| throttle | Throttle 0 .. 1 |
| aux1 | Aux 1, -1 .. 1 |
| aux2 | Aux 2, -1 .. 1 |
| aux3 | Aux 3, -1 .. 1 |
| aux4 | Aux 4, -1 .. 1 |
| mode | System mode (MAV_MODE) |
| nav_mode | Navigation mode (MAV_NAV_MODE) |
Definition at line 65 of file mavlink_msg_hil_controls.h.
|
inlinestatic |
Pack a hil_controls 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_usec | Timestamp (microseconds since UNIX epoch or microseconds since system boot) |
| roll_ailerons | Control output -1 .. 1 |
| pitch_elevator | Control output -1 .. 1 |
| yaw_rudder | Control output -1 .. 1 |
| throttle | Throttle 0 .. 1 |
| aux1 | Aux 1, -1 .. 1 |
| aux2 | Aux 2, -1 .. 1 |
| aux3 | Aux 3, -1 .. 1 |
| aux4 | Aux 4, -1 .. 1 |
| mode | System mode (MAV_MODE) |
| nav_mode | Navigation mode (MAV_NAV_MODE) |
Definition at line 127 of file mavlink_msg_hil_controls.h.