Go to the source code of this file.
|
| static void | mavlink_msg_diff_pressure_decode (const mavlink_message_t *msg, mavlink_diff_pressure_t *diff_pressure) |
| | Decode a diff_pressure message into a struct. More...
|
| |
| static uint16_t | mavlink_msg_diff_pressure_encode (uint8_t system_id, uint8_t component_id, mavlink_message_t *msg, const mavlink_diff_pressure_t *diff_pressure) |
| | Encode a diff_pressure struct. More...
|
| |
| static uint16_t | mavlink_msg_diff_pressure_encode_chan (uint8_t system_id, uint8_t component_id, uint8_t chan, mavlink_message_t *msg, const mavlink_diff_pressure_t *diff_pressure) |
| | Encode a diff_pressure struct on a channel. More...
|
| |
| static float | mavlink_msg_diff_pressure_get_diff_pressure (const mavlink_message_t *msg) |
| | Get field diff_pressure from diff_pressure message. More...
|
| |
| static float | mavlink_msg_diff_pressure_get_temperature (const mavlink_message_t *msg) |
| | Get field temperature from diff_pressure message. More...
|
| |
| static float | mavlink_msg_diff_pressure_get_velocity (const mavlink_message_t *msg) |
| | Send a diff_pressure message. More...
|
| |
| static uint16_t | mavlink_msg_diff_pressure_pack (uint8_t system_id, uint8_t component_id, mavlink_message_t *msg, float velocity, float diff_pressure, float temperature) |
| | Pack a diff_pressure message. More...
|
| |
| static uint16_t | mavlink_msg_diff_pressure_pack_chan (uint8_t system_id, uint8_t component_id, uint8_t chan, mavlink_message_t *msg, float velocity, float diff_pressure, float temperature) |
| | Pack a diff_pressure message on a channel. More...
|
| |
| #define MAVLINK_MESSAGE_INFO_DIFF_PRESSURE |
| #define MAVLINK_MSG_ID_184_CRC 169 |
| #define MAVLINK_MSG_ID_184_LEN 12 |
| #define MAVLINK_MSG_ID_DIFF_PRESSURE 184 |
| #define MAVLINK_MSG_ID_DIFF_PRESSURE_CRC 169 |
| #define MAVLINK_MSG_ID_DIFF_PRESSURE_LEN 12 |
| static void mavlink_msg_diff_pressure_decode |
( |
const mavlink_message_t * |
msg, |
|
|
mavlink_diff_pressure_t * |
diff_pressure |
|
) |
| |
|
inlinestatic |
Decode a diff_pressure message into a struct.
- Parameters
-
| msg | The message to decode |
| diff_pressure | C-struct to decode the message contents into |
Definition at line 248 of file mavlink_msg_diff_pressure.h.
| static uint16_t mavlink_msg_diff_pressure_encode |
( |
uint8_t |
system_id, |
|
|
uint8_t |
component_id, |
|
|
mavlink_message_t * |
msg, |
|
|
const mavlink_diff_pressure_t * |
diff_pressure |
|
) |
| |
|
inlinestatic |
Encode a diff_pressure 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 |
| diff_pressure | C-struct to read the message contents from |
Definition at line 115 of file mavlink_msg_diff_pressure.h.
| static uint16_t mavlink_msg_diff_pressure_encode_chan |
( |
uint8_t |
system_id, |
|
|
uint8_t |
component_id, |
|
|
uint8_t |
chan, |
|
|
mavlink_message_t * |
msg, |
|
|
const mavlink_diff_pressure_t * |
diff_pressure |
|
) |
| |
|
inlinestatic |
Encode a diff_pressure 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 |
| diff_pressure | C-struct to read the message contents from |
Definition at line 129 of file mavlink_msg_diff_pressure.h.
| static float mavlink_msg_diff_pressure_get_diff_pressure |
( |
const mavlink_message_t * |
msg | ) |
|
|
inlinestatic |
Get field diff_pressure from diff_pressure message.
- Returns
- Measured Differential Pressure (Pa)
Definition at line 227 of file mavlink_msg_diff_pressure.h.
| static float mavlink_msg_diff_pressure_get_temperature |
( |
const mavlink_message_t * |
msg | ) |
|
|
inlinestatic |
| static float mavlink_msg_diff_pressure_get_velocity |
( |
const mavlink_message_t * |
msg | ) |
|
|
inlinestatic |
Send a diff_pressure message.
- Parameters
-
| chan | MAVLink channel to send the message |
| velocity | Measured Velocity |
| diff_pressure | Measured Differential Pressure (Pa) |
| temperature | Measured Temperature (K) Get field velocity from diff_pressure message |
- Returns
- Measured Velocity
Definition at line 217 of file mavlink_msg_diff_pressure.h.
| static uint16_t mavlink_msg_diff_pressure_pack |
( |
uint8_t |
system_id, |
|
|
uint8_t |
component_id, |
|
|
mavlink_message_t * |
msg, |
|
|
float |
velocity, |
|
|
float |
diff_pressure, |
|
|
float |
temperature |
|
) |
| |
|
inlinestatic |
Pack a diff_pressure 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 |
| velocity | Measured Velocity |
| diff_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_diff_pressure.h.
| static uint16_t mavlink_msg_diff_pressure_pack_chan |
( |
uint8_t |
system_id, |
|
|
uint8_t |
component_id, |
|
|
uint8_t |
chan, |
|
|
mavlink_message_t * |
msg, |
|
|
float |
velocity, |
|
|
float |
diff_pressure, |
|
|
float |
temperature |
|
) |
| |
|
inlinestatic |
Pack a diff_pressure 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 |
| velocity | Measured Velocity |
| diff_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_diff_pressure.h.