Classes | Macros | Typedefs | Functions
mavlink_msg_diff_pressure.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  __mavlink_diff_pressure_t
 

Macros

#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
 

Typedefs

typedef struct __mavlink_diff_pressure_t mavlink_diff_pressure_t
 

Functions

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...
 

Macro Definition Documentation

#define MAVLINK_MESSAGE_INFO_DIFF_PRESSURE
Value:
{ \
"DIFF_PRESSURE", \
3, \
{ { "velocity", NULL, MAVLINK_TYPE_FLOAT, 0, 0, offsetof(mavlink_diff_pressure_t, velocity) }, \
{ "diff_pressure", NULL, MAVLINK_TYPE_FLOAT, 0, 4, offsetof(mavlink_diff_pressure_t, diff_pressure) }, \
{ "temperature", NULL, MAVLINK_TYPE_FLOAT, 0, 8, offsetof(mavlink_diff_pressure_t, temperature) }, \
} \
}
float temperature
Definition: ms4525.c:41
#define NULL
Definition: usbd_def.h:50

Definition at line 20 of file mavlink_msg_diff_pressure.h.

#define MAVLINK_MSG_ID_184_CRC   169

Definition at line 16 of file mavlink_msg_diff_pressure.h.

#define MAVLINK_MSG_ID_184_LEN   12

Definition at line 13 of file mavlink_msg_diff_pressure.h.

#define MAVLINK_MSG_ID_DIFF_PRESSURE   184

Definition at line 3 of file mavlink_msg_diff_pressure.h.

#define MAVLINK_MSG_ID_DIFF_PRESSURE_CRC   169

Definition at line 15 of file mavlink_msg_diff_pressure.h.

#define MAVLINK_MSG_ID_DIFF_PRESSURE_LEN   12

Definition at line 12 of file mavlink_msg_diff_pressure.h.

Typedef Documentation

Function Documentation

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
msgThe message to decode
diff_pressureC-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_idID of this system
component_idID of this component (e.g. 200 for IMU)
msgThe MAVLink message to compress the data into
diff_pressureC-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_idID of this system
component_idID of this component (e.g. 200 for IMU)
chanThe MAVLink channel this message will be sent over
msgThe MAVLink message to compress the data into
diff_pressureC-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

Get field temperature from diff_pressure message.

Returns
Measured Temperature (K)

Definition at line 237 of file mavlink_msg_diff_pressure.h.

static float mavlink_msg_diff_pressure_get_velocity ( const mavlink_message_t *  msg)
inlinestatic

Send a diff_pressure message.

Parameters
chanMAVLink channel to send the message
velocityMeasured Velocity
diff_pressureMeasured Differential Pressure (Pa)
temperatureMeasured 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_idID of this system
component_idID of this component (e.g. 200 for IMU)
msgThe MAVLink message to compress the data into
velocityMeasured Velocity
diff_pressureMeasured Differential Pressure (Pa)
temperatureMeasured 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_idID of this system
component_idID of this component (e.g. 200 for IMU)
chanThe MAVLink channel this message will be sent over
msgThe MAVLink message to compress the data into
velocityMeasured Velocity
diff_pressureMeasured Differential Pressure (Pa)
temperatureMeasured 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.



rosflight_firmware
Author(s): Daniel Koch , James Jackson
autogenerated on Wed Jul 3 2019 19:59:26