
Go to the source code of this file.
Classes | |
| struct | __mavlink_scaled_pressure_t |
Defines | |
| #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. | |
| 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. | |
| 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. | |
| static float | mavlink_msg_scaled_pressure_get_press_abs (const mavlink_message_t *msg) |
| Get field press_abs from scaled_pressure message. | |
| static float | mavlink_msg_scaled_pressure_get_press_diff (const mavlink_message_t *msg) |
| Get field press_diff from scaled_pressure message. | |
| static int16_t | mavlink_msg_scaled_pressure_get_temperature (const mavlink_message_t *msg) |
| Get field temperature from scaled_pressure message. | |
| static uint32_t | mavlink_msg_scaled_pressure_get_time_boot_ms (const mavlink_message_t *msg) |
| Send a scaled_pressure message. | |
| 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. | |
| 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. | |
{ \
"SCALED_PRESSURE", \
4, \
{ { "time_boot_ms", NULL, MAVLINK_TYPE_UINT32_T, 0, 0, offsetof(mavlink_scaled_pressure_t, time_boot_ms) }, \
{ "press_abs", NULL, MAVLINK_TYPE_FLOAT, 0, 4, offsetof(mavlink_scaled_pressure_t, press_abs) }, \
{ "press_diff", NULL, MAVLINK_TYPE_FLOAT, 0, 8, offsetof(mavlink_scaled_pressure_t, press_diff) }, \
{ "temperature", NULL, MAVLINK_TYPE_INT16_T, 0, 12, offsetof(mavlink_scaled_pressure_t, temperature) }, \
} \
}
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 |
| static void mavlink_msg_scaled_pressure_decode | ( | const mavlink_message_t * | msg, |
| mavlink_scaled_pressure_t * | scaled_pressure | ||
| ) | [inline, static] |
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.
| 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 | ||
| ) | [inline, static] |
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.
| 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 | ||
| ) | [inline, static] |
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.
| static float mavlink_msg_scaled_pressure_get_press_abs | ( | const mavlink_message_t * | msg | ) | [inline, static] |
Get field press_abs from scaled_pressure message.
Definition at line 240 of file mavlink_msg_scaled_pressure.h.
| static float mavlink_msg_scaled_pressure_get_press_diff | ( | const mavlink_message_t * | msg | ) | [inline, static] |
Get field press_diff from scaled_pressure message.
Definition at line 250 of file mavlink_msg_scaled_pressure.h.
| static int16_t mavlink_msg_scaled_pressure_get_temperature | ( | const mavlink_message_t * | msg | ) | [inline, static] |
Get field temperature from scaled_pressure message.
Definition at line 260 of file mavlink_msg_scaled_pressure.h.
| static uint32_t mavlink_msg_scaled_pressure_get_time_boot_ms | ( | const mavlink_message_t * | msg | ) | [inline, static] |
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.
| 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 | ||
| ) | [inline, static] |
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.
| 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 | ||
| ) | [inline, static] |
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.