Go to the source code of this file.
Classes | |
struct | __mavlink_vfr_hud_t |
Macros | |
#define | MAVLINK_MESSAGE_INFO_VFR_HUD |
#define | MAVLINK_MSG_ID_74_CRC 20 |
#define | MAVLINK_MSG_ID_74_LEN 20 |
#define | MAVLINK_MSG_ID_VFR_HUD 74 |
#define | MAVLINK_MSG_ID_VFR_HUD_CRC 20 |
#define | MAVLINK_MSG_ID_VFR_HUD_LEN 20 |
Typedefs | |
typedef struct __mavlink_vfr_hud_t | mavlink_vfr_hud_t |
Functions | |
static void | mavlink_msg_vfr_hud_decode (const mavlink_message_t *msg, mavlink_vfr_hud_t *vfr_hud) |
Decode a vfr_hud message into a struct. More... | |
static uint16_t | mavlink_msg_vfr_hud_encode (uint8_t system_id, uint8_t component_id, mavlink_message_t *msg, const mavlink_vfr_hud_t *vfr_hud) |
Encode a vfr_hud struct. More... | |
static uint16_t | mavlink_msg_vfr_hud_encode_chan (uint8_t system_id, uint8_t component_id, uint8_t chan, mavlink_message_t *msg, const mavlink_vfr_hud_t *vfr_hud) |
Encode a vfr_hud struct on a channel. More... | |
static float | mavlink_msg_vfr_hud_get_airspeed (const mavlink_message_t *msg) |
Send a vfr_hud message. More... | |
static float | mavlink_msg_vfr_hud_get_alt (const mavlink_message_t *msg) |
Get field alt from vfr_hud message. More... | |
static float | mavlink_msg_vfr_hud_get_climb (const mavlink_message_t *msg) |
Get field climb from vfr_hud message. More... | |
static float | mavlink_msg_vfr_hud_get_groundspeed (const mavlink_message_t *msg) |
Get field groundspeed from vfr_hud message. More... | |
static int16_t | mavlink_msg_vfr_hud_get_heading (const mavlink_message_t *msg) |
Get field heading from vfr_hud message. More... | |
static uint16_t | mavlink_msg_vfr_hud_get_throttle (const mavlink_message_t *msg) |
Get field throttle from vfr_hud message. More... | |
static uint16_t | mavlink_msg_vfr_hud_pack (uint8_t system_id, uint8_t component_id, mavlink_message_t *msg, float airspeed, float groundspeed, int16_t heading, uint16_t throttle, float alt, float climb) |
Pack a vfr_hud message. More... | |
static uint16_t | mavlink_msg_vfr_hud_pack_chan (uint8_t system_id, uint8_t component_id, uint8_t chan, mavlink_message_t *msg, float airspeed, float groundspeed, int16_t heading, uint16_t throttle, float alt, float climb) |
Pack a vfr_hud message on a channel. More... | |
#define MAVLINK_MESSAGE_INFO_VFR_HUD |
Definition at line 23 of file mavlink_msg_vfr_hud.h.
#define MAVLINK_MSG_ID_74_CRC 20 |
Definition at line 19 of file mavlink_msg_vfr_hud.h.
#define MAVLINK_MSG_ID_74_LEN 20 |
Definition at line 16 of file mavlink_msg_vfr_hud.h.
#define MAVLINK_MSG_ID_VFR_HUD 74 |
Definition at line 3 of file mavlink_msg_vfr_hud.h.
#define MAVLINK_MSG_ID_VFR_HUD_CRC 20 |
Definition at line 18 of file mavlink_msg_vfr_hud.h.
#define MAVLINK_MSG_ID_VFR_HUD_LEN 20 |
Definition at line 15 of file mavlink_msg_vfr_hud.h.
typedef struct __mavlink_vfr_hud_t mavlink_vfr_hud_t |
|
inlinestatic |
Decode a vfr_hud message into a struct.
msg | The message to decode |
vfr_hud | C-struct to decode the message contents into |
Definition at line 317 of file mavlink_msg_vfr_hud.h.
|
inlinestatic |
Encode a vfr_hud 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 |
vfr_hud | C-struct to read the message contents from |
Definition at line 139 of file mavlink_msg_vfr_hud.h.
|
inlinestatic |
Encode a vfr_hud 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 |
vfr_hud | C-struct to read the message contents from |
Definition at line 153 of file mavlink_msg_vfr_hud.h.
|
inlinestatic |
Send a vfr_hud message.
chan | MAVLink channel to send the message |
airspeed | Current airspeed in m/s |
groundspeed | Current ground speed in m/s |
heading | Current heading in degrees, in compass units (0..360, 0=north) |
throttle | Current throttle setting in integer percent, 0 to 100 |
alt | Current altitude (MSL), in meters |
climb | Current climb rate in meters/second Get field airspeed from vfr_hud message |
Definition at line 256 of file mavlink_msg_vfr_hud.h.
|
inlinestatic |
Get field alt from vfr_hud message.
Definition at line 296 of file mavlink_msg_vfr_hud.h.
|
inlinestatic |
Get field climb from vfr_hud message.
Definition at line 306 of file mavlink_msg_vfr_hud.h.
|
inlinestatic |
Get field groundspeed from vfr_hud message.
Definition at line 266 of file mavlink_msg_vfr_hud.h.
|
inlinestatic |
Get field heading from vfr_hud message.
Definition at line 276 of file mavlink_msg_vfr_hud.h.
|
inlinestatic |
Get field throttle from vfr_hud message.
Definition at line 286 of file mavlink_msg_vfr_hud.h.
|
inlinestatic |
Pack a vfr_hud 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 |
airspeed | Current airspeed in m/s |
groundspeed | Current ground speed in m/s |
heading | Current heading in degrees, in compass units (0..360, 0=north) |
throttle | Current throttle setting in integer percent, 0 to 100 |
alt | Current altitude (MSL), in meters |
climb | Current climb rate in meters/second |
Definition at line 50 of file mavlink_msg_vfr_hud.h.
|
inlinestatic |
Pack a vfr_hud 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 |
airspeed | Current airspeed in m/s |
groundspeed | Current ground speed in m/s |
heading | Current heading in degrees, in compass units (0..360, 0=north) |
throttle | Current throttle setting in integer percent, 0 to 100 |
alt | Current altitude (MSL), in meters |
climb | Current climb rate in meters/second |
Definition at line 97 of file mavlink_msg_vfr_hud.h.