Go to the source code of this file.
Classes | |
struct | __mavlink_scaled_pressure_t |
Macros | |
#define | MAVLINK_MESSAGE_INFO_SCALED_PRESSURE |
#define | MAVLINK_MSG_ID_29_CRC 115 |
#define | MAVLINK_MSG_ID_29_LEN 14 |
#define | MAVLINK_MSG_ID_SCALED_PRESSURE 29 |
#define | MAVLINK_MSG_ID_SCALED_PRESSURE_CRC 115 |
#define | MAVLINK_MSG_ID_SCALED_PRESSURE_LEN 14 |
Typedefs | |
typedef struct __mavlink_scaled_pressure_t | mavlink_scaled_pressure_t |
Functions | |
static void | mavlink_msg_scaled_pressure_decode (const mavlink_message_t *msg, mavlink_scaled_pressure_t *scaled_pressure) |
Decode a scaled_pressure message into a struct. More... | |
static uint16_t | mavlink_msg_scaled_pressure_encode (uint8_t system_id, uint8_t component_id, mavlink_message_t *msg, const mavlink_scaled_pressure_t *scaled_pressure) |
Encode a scaled_pressure struct. More... | |
static uint16_t | mavlink_msg_scaled_pressure_encode_chan (uint8_t system_id, uint8_t component_id, uint8_t chan, mavlink_message_t *msg, const mavlink_scaled_pressure_t *scaled_pressure) |
Encode a scaled_pressure struct on a channel. More... | |
static float | mavlink_msg_scaled_pressure_get_press_abs (const mavlink_message_t *msg) |
Get field press_abs from scaled_pressure message. More... | |
static float | mavlink_msg_scaled_pressure_get_press_diff (const mavlink_message_t *msg) |
Get field press_diff from scaled_pressure message. More... | |
static int16_t | mavlink_msg_scaled_pressure_get_temperature (const mavlink_message_t *msg) |
Get field temperature from scaled_pressure message. More... | |
static uint32_t | mavlink_msg_scaled_pressure_get_time_boot_ms (const mavlink_message_t *msg) |
Send a scaled_pressure message. More... | |
static uint16_t | mavlink_msg_scaled_pressure_pack (uint8_t system_id, uint8_t component_id, mavlink_message_t *msg, uint32_t time_boot_ms, float press_abs, float press_diff, int16_t temperature) |
Pack a scaled_pressure message. More... | |
static uint16_t | mavlink_msg_scaled_pressure_pack_chan (uint8_t system_id, uint8_t component_id, uint8_t chan, mavlink_message_t *msg, uint32_t time_boot_ms, float press_abs, float press_diff, int16_t temperature) |
Pack a scaled_pressure message on a channel. More... | |
#define MAVLINK_MESSAGE_INFO_SCALED_PRESSURE |
Definition at line 21 of file mavlink_msg_scaled_pressure.h.
#define MAVLINK_MSG_ID_29_CRC 115 |
Definition at line 17 of file mavlink_msg_scaled_pressure.h.
#define MAVLINK_MSG_ID_29_LEN 14 |
Definition at line 14 of file mavlink_msg_scaled_pressure.h.
#define MAVLINK_MSG_ID_SCALED_PRESSURE 29 |
Definition at line 3 of file mavlink_msg_scaled_pressure.h.
#define MAVLINK_MSG_ID_SCALED_PRESSURE_CRC 115 |
Definition at line 16 of file mavlink_msg_scaled_pressure.h.
#define MAVLINK_MSG_ID_SCALED_PRESSURE_LEN 14 |
Definition at line 13 of file mavlink_msg_scaled_pressure.h.
typedef struct __mavlink_scaled_pressure_t mavlink_scaled_pressure_t |
|
inlinestatic |
Decode a scaled_pressure message into a struct.
msg | The message to decode |
scaled_pressure | C-struct to decode the message contents into |
Definition at line 271 of file mavlink_msg_scaled_pressure.h.
|
inlinestatic |
Encode a scaled_pressure 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 |
scaled_pressure | C-struct to read the message contents from |
Definition at line 123 of file mavlink_msg_scaled_pressure.h.
|
inlinestatic |
Encode a scaled_pressure 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 |
scaled_pressure | C-struct to read the message contents from |
Definition at line 137 of file mavlink_msg_scaled_pressure.h.
|
inlinestatic |
Get field press_abs from scaled_pressure message.
Definition at line 240 of file mavlink_msg_scaled_pressure.h.
|
inlinestatic |
Get field press_diff from scaled_pressure message.
Definition at line 250 of file mavlink_msg_scaled_pressure.h.
|
inlinestatic |
Get field temperature from scaled_pressure message.
Definition at line 260 of file mavlink_msg_scaled_pressure.h.
|
inlinestatic |
Send a scaled_pressure message.
chan | MAVLink channel to send the message |
time_boot_ms | Timestamp (milliseconds since system boot) |
press_abs | Absolute pressure (hectopascal) |
press_diff | Differential pressure 1 (hectopascal) |
temperature | Temperature measurement (0.01 degrees celsius) Get field time_boot_ms from scaled_pressure message |
Definition at line 230 of file mavlink_msg_scaled_pressure.h.
|
inlinestatic |
Pack a scaled_pressure 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 (milliseconds since system boot) |
press_abs | Absolute pressure (hectopascal) |
press_diff | Differential pressure 1 (hectopascal) |
temperature | Temperature measurement (0.01 degrees celsius) |
Definition at line 44 of file mavlink_msg_scaled_pressure.h.
|
inlinestatic |
Pack a scaled_pressure 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 (milliseconds since system boot) |
press_abs | Absolute pressure (hectopascal) |
press_diff | Differential pressure 1 (hectopascal) |
temperature | Temperature measurement (0.01 degrees celsius) |
Definition at line 85 of file mavlink_msg_scaled_pressure.h.