Go to the source code of this file.
|
static void | mavlink_msg_small_baro_decode (const mavlink_message_t *msg, mavlink_small_baro_t *small_baro) |
| Decode a small_baro message into a struct. More...
|
|
static uint16_t | mavlink_msg_small_baro_encode (uint8_t system_id, uint8_t component_id, mavlink_message_t *msg, const mavlink_small_baro_t *small_baro) |
| Encode a small_baro struct. More...
|
|
static uint16_t | mavlink_msg_small_baro_encode_chan (uint8_t system_id, uint8_t component_id, uint8_t chan, mavlink_message_t *msg, const mavlink_small_baro_t *small_baro) |
| Encode a small_baro struct on a channel. More...
|
|
static float | mavlink_msg_small_baro_get_altitude (const mavlink_message_t *msg) |
| Send a small_baro message. More...
|
|
static float | mavlink_msg_small_baro_get_pressure (const mavlink_message_t *msg) |
| Get field pressure from small_baro message. More...
|
|
static float | mavlink_msg_small_baro_get_temperature (const mavlink_message_t *msg) |
| Get field temperature from small_baro message. More...
|
|
static uint16_t | mavlink_msg_small_baro_pack (uint8_t system_id, uint8_t component_id, mavlink_message_t *msg, float altitude, float pressure, float temperature) |
| Pack a small_baro message. More...
|
|
static uint16_t | mavlink_msg_small_baro_pack_chan (uint8_t system_id, uint8_t component_id, uint8_t chan, mavlink_message_t *msg, float altitude, float pressure, float temperature) |
| Pack a small_baro message on a channel. More...
|
|
#define MAVLINK_MESSAGE_INFO_SMALL_BARO |
#define MAVLINK_MSG_ID_183_CRC 206 |
#define MAVLINK_MSG_ID_183_LEN 12 |
#define MAVLINK_MSG_ID_SMALL_BARO 183 |
#define MAVLINK_MSG_ID_SMALL_BARO_CRC 206 |
#define MAVLINK_MSG_ID_SMALL_BARO_LEN 12 |
static void mavlink_msg_small_baro_decode |
( |
const mavlink_message_t * |
msg, |
|
|
mavlink_small_baro_t * |
small_baro |
|
) |
| |
|
inlinestatic |
Decode a small_baro message into a struct.
- Parameters
-
msg | The message to decode |
small_baro | C-struct to decode the message contents into |
Definition at line 248 of file mavlink_msg_small_baro.h.
static uint16_t mavlink_msg_small_baro_encode |
( |
uint8_t |
system_id, |
|
|
uint8_t |
component_id, |
|
|
mavlink_message_t * |
msg, |
|
|
const mavlink_small_baro_t * |
small_baro |
|
) |
| |
|
inlinestatic |
Encode a small_baro struct.
- Parameters
-
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 |
small_baro | C-struct to read the message contents from |
Definition at line 115 of file mavlink_msg_small_baro.h.
static uint16_t mavlink_msg_small_baro_encode_chan |
( |
uint8_t |
system_id, |
|
|
uint8_t |
component_id, |
|
|
uint8_t |
chan, |
|
|
mavlink_message_t * |
msg, |
|
|
const mavlink_small_baro_t * |
small_baro |
|
) |
| |
|
inlinestatic |
Encode a small_baro struct on a channel.
- Parameters
-
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 |
small_baro | C-struct to read the message contents from |
Definition at line 129 of file mavlink_msg_small_baro.h.
static float mavlink_msg_small_baro_get_altitude |
( |
const mavlink_message_t * |
msg | ) |
|
|
inlinestatic |
Send a small_baro message.
- Parameters
-
chan | MAVLink channel to send the message |
altitude | Calculated Altitude (m) |
pressure | Measured Differential Pressure (Pa) |
temperature | Measured Temperature (K) Get field altitude from small_baro message |
- Returns
- Calculated Altitude (m)
Definition at line 217 of file mavlink_msg_small_baro.h.
static float mavlink_msg_small_baro_get_pressure |
( |
const mavlink_message_t * |
msg | ) |
|
|
inlinestatic |
Get field pressure from small_baro message.
- Returns
- Measured Differential Pressure (Pa)
Definition at line 227 of file mavlink_msg_small_baro.h.
static float mavlink_msg_small_baro_get_temperature |
( |
const mavlink_message_t * |
msg | ) |
|
|
inlinestatic |
Get field temperature from small_baro message.
- Returns
- Measured Temperature (K)
Definition at line 237 of file mavlink_msg_small_baro.h.
static uint16_t mavlink_msg_small_baro_pack |
( |
uint8_t |
system_id, |
|
|
uint8_t |
component_id, |
|
|
mavlink_message_t * |
msg, |
|
|
float |
altitude, |
|
|
float |
pressure, |
|
|
float |
temperature |
|
) |
| |
|
inlinestatic |
Pack a small_baro message.
- Parameters
-
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 |
altitude | Calculated Altitude (m) |
pressure | Measured Differential Pressure (Pa) |
temperature | Measured Temperature (K) |
- Returns
- length of the message in bytes (excluding serial stream start sign)
Definition at line 41 of file mavlink_msg_small_baro.h.
static uint16_t mavlink_msg_small_baro_pack_chan |
( |
uint8_t |
system_id, |
|
|
uint8_t |
component_id, |
|
|
uint8_t |
chan, |
|
|
mavlink_message_t * |
msg, |
|
|
float |
altitude, |
|
|
float |
pressure, |
|
|
float |
temperature |
|
) |
| |
|
inlinestatic |
Pack a small_baro message on a channel.
- Parameters
-
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 |
altitude | Calculated Altitude (m) |
pressure | Measured Differential Pressure (Pa) |
temperature | Measured Temperature (K) |
- Returns
- length of the message in bytes (excluding serial stream start sign)
Definition at line 79 of file mavlink_msg_small_baro.h.