Go to the source code of this file.
Classes | |
struct | __mavlink_scaled_pressure2_t |
Macros | |
#define | MAVLINK_MESSAGE_INFO_SCALED_PRESSURE2 |
#define | MAVLINK_MSG_ID_137_CRC 195 |
#define | MAVLINK_MSG_ID_137_LEN 14 |
#define | MAVLINK_MSG_ID_SCALED_PRESSURE2 137 |
#define | MAVLINK_MSG_ID_SCALED_PRESSURE2_CRC 195 |
#define | MAVLINK_MSG_ID_SCALED_PRESSURE2_LEN 14 |
Typedefs | |
typedef struct __mavlink_scaled_pressure2_t | mavlink_scaled_pressure2_t |
Functions | |
static void | mavlink_msg_scaled_pressure2_decode (const mavlink_message_t *msg, mavlink_scaled_pressure2_t *scaled_pressure2) |
Decode a scaled_pressure2 message into a struct. More... | |
static uint16_t | mavlink_msg_scaled_pressure2_encode (uint8_t system_id, uint8_t component_id, mavlink_message_t *msg, const mavlink_scaled_pressure2_t *scaled_pressure2) |
Encode a scaled_pressure2 struct. More... | |
static uint16_t | mavlink_msg_scaled_pressure2_encode_chan (uint8_t system_id, uint8_t component_id, uint8_t chan, mavlink_message_t *msg, const mavlink_scaled_pressure2_t *scaled_pressure2) |
Encode a scaled_pressure2 struct on a channel. More... | |
static float | mavlink_msg_scaled_pressure2_get_press_abs (const mavlink_message_t *msg) |
Get field press_abs from scaled_pressure2 message. More... | |
static float | mavlink_msg_scaled_pressure2_get_press_diff (const mavlink_message_t *msg) |
Get field press_diff from scaled_pressure2 message. More... | |
static int16_t | mavlink_msg_scaled_pressure2_get_temperature (const mavlink_message_t *msg) |
Get field temperature from scaled_pressure2 message. More... | |
static uint32_t | mavlink_msg_scaled_pressure2_get_time_boot_ms (const mavlink_message_t *msg) |
Send a scaled_pressure2 message. More... | |
static uint16_t | mavlink_msg_scaled_pressure2_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_pressure2 message. More... | |
static uint16_t | mavlink_msg_scaled_pressure2_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_pressure2 message on a channel. More... | |
#define MAVLINK_MESSAGE_INFO_SCALED_PRESSURE2 |
Definition at line 21 of file mavlink_msg_scaled_pressure2.h.
#define MAVLINK_MSG_ID_137_CRC 195 |
Definition at line 17 of file mavlink_msg_scaled_pressure2.h.
#define MAVLINK_MSG_ID_137_LEN 14 |
Definition at line 14 of file mavlink_msg_scaled_pressure2.h.
#define MAVLINK_MSG_ID_SCALED_PRESSURE2 137 |
Definition at line 3 of file mavlink_msg_scaled_pressure2.h.
#define MAVLINK_MSG_ID_SCALED_PRESSURE2_CRC 195 |
Definition at line 16 of file mavlink_msg_scaled_pressure2.h.
#define MAVLINK_MSG_ID_SCALED_PRESSURE2_LEN 14 |
Definition at line 13 of file mavlink_msg_scaled_pressure2.h.
typedef struct __mavlink_scaled_pressure2_t mavlink_scaled_pressure2_t |
|
inlinestatic |
Decode a scaled_pressure2 message into a struct.
msg | The message to decode |
scaled_pressure2 | C-struct to decode the message contents into |
Definition at line 271 of file mavlink_msg_scaled_pressure2.h.
|
inlinestatic |
Encode a scaled_pressure2 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_pressure2 | C-struct to read the message contents from |
Definition at line 123 of file mavlink_msg_scaled_pressure2.h.
|
inlinestatic |
Encode a scaled_pressure2 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_pressure2 | C-struct to read the message contents from |
Definition at line 137 of file mavlink_msg_scaled_pressure2.h.
|
inlinestatic |
Get field press_abs from scaled_pressure2 message.
Definition at line 240 of file mavlink_msg_scaled_pressure2.h.
|
inlinestatic |
Get field press_diff from scaled_pressure2 message.
Definition at line 250 of file mavlink_msg_scaled_pressure2.h.
|
inlinestatic |
Get field temperature from scaled_pressure2 message.
Definition at line 260 of file mavlink_msg_scaled_pressure2.h.
|
inlinestatic |
Send a scaled_pressure2 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_pressure2 message |
Definition at line 230 of file mavlink_msg_scaled_pressure2.h.
|
inlinestatic |
Pack a scaled_pressure2 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_pressure2.h.
|
inlinestatic |
Pack a scaled_pressure2 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_pressure2.h.