Classes | Macros | Typedefs | Functions
mavlink_msg_raw_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_raw_pressure_t
 

Macros

#define MAVLINK_MESSAGE_INFO_RAW_PRESSURE
 
#define MAVLINK_MSG_ID_28_CRC   67
 
#define MAVLINK_MSG_ID_28_LEN   16
 
#define MAVLINK_MSG_ID_RAW_PRESSURE   28
 
#define MAVLINK_MSG_ID_RAW_PRESSURE_CRC   67
 
#define MAVLINK_MSG_ID_RAW_PRESSURE_LEN   16
 

Typedefs

typedef struct __mavlink_raw_pressure_t mavlink_raw_pressure_t
 

Functions

static void mavlink_msg_raw_pressure_decode (const mavlink_message_t *msg, mavlink_raw_pressure_t *raw_pressure)
 Decode a raw_pressure message into a struct. More...
 
static uint16_t mavlink_msg_raw_pressure_encode (uint8_t system_id, uint8_t component_id, mavlink_message_t *msg, const mavlink_raw_pressure_t *raw_pressure)
 Encode a raw_pressure struct. More...
 
static uint16_t mavlink_msg_raw_pressure_encode_chan (uint8_t system_id, uint8_t component_id, uint8_t chan, mavlink_message_t *msg, const mavlink_raw_pressure_t *raw_pressure)
 Encode a raw_pressure struct on a channel. More...
 
static int16_t mavlink_msg_raw_pressure_get_press_abs (const mavlink_message_t *msg)
 Get field press_abs from raw_pressure message. More...
 
static int16_t mavlink_msg_raw_pressure_get_press_diff1 (const mavlink_message_t *msg)
 Get field press_diff1 from raw_pressure message. More...
 
static int16_t mavlink_msg_raw_pressure_get_press_diff2 (const mavlink_message_t *msg)
 Get field press_diff2 from raw_pressure message. More...
 
static int16_t mavlink_msg_raw_pressure_get_temperature (const mavlink_message_t *msg)
 Get field temperature from raw_pressure message. More...
 
static uint64_t mavlink_msg_raw_pressure_get_time_usec (const mavlink_message_t *msg)
 Send a raw_pressure message. More...
 
static uint16_t mavlink_msg_raw_pressure_pack (uint8_t system_id, uint8_t component_id, mavlink_message_t *msg, uint64_t time_usec, int16_t press_abs, int16_t press_diff1, int16_t press_diff2, int16_t temperature)
 Pack a raw_pressure message. More...
 
static uint16_t mavlink_msg_raw_pressure_pack_chan (uint8_t system_id, uint8_t component_id, uint8_t chan, mavlink_message_t *msg, uint64_t time_usec, int16_t press_abs, int16_t press_diff1, int16_t press_diff2, int16_t temperature)
 Pack a raw_pressure message on a channel. More...
 

Macro Definition Documentation

#define MAVLINK_MESSAGE_INFO_RAW_PRESSURE
Value:
{ \
"RAW_PRESSURE", \
5, \
{ { "time_usec", NULL, MAVLINK_TYPE_UINT64_T, 0, 0, offsetof(mavlink_raw_pressure_t, time_usec) }, \
{ "press_abs", NULL, MAVLINK_TYPE_INT16_T, 0, 8, offsetof(mavlink_raw_pressure_t, press_abs) }, \
{ "press_diff1", NULL, MAVLINK_TYPE_INT16_T, 0, 10, offsetof(mavlink_raw_pressure_t, press_diff1) }, \
{ "press_diff2", NULL, MAVLINK_TYPE_INT16_T, 0, 12, offsetof(mavlink_raw_pressure_t, press_diff2) }, \
{ "temperature", NULL, MAVLINK_TYPE_INT16_T, 0, 14, offsetof(mavlink_raw_pressure_t, temperature) }, \
} \
}

Definition at line 22 of file mavlink_msg_raw_pressure.h.

#define MAVLINK_MSG_ID_28_CRC   67

Definition at line 18 of file mavlink_msg_raw_pressure.h.

#define MAVLINK_MSG_ID_28_LEN   16

Definition at line 15 of file mavlink_msg_raw_pressure.h.

#define MAVLINK_MSG_ID_RAW_PRESSURE   28

Definition at line 3 of file mavlink_msg_raw_pressure.h.

#define MAVLINK_MSG_ID_RAW_PRESSURE_CRC   67

Definition at line 17 of file mavlink_msg_raw_pressure.h.

#define MAVLINK_MSG_ID_RAW_PRESSURE_LEN   16

Definition at line 14 of file mavlink_msg_raw_pressure.h.

Typedef Documentation

Function Documentation

static void mavlink_msg_raw_pressure_decode ( const mavlink_message_t *  msg,
mavlink_raw_pressure_t raw_pressure 
)
inlinestatic

Decode a raw_pressure message into a struct.

Parameters
msgThe message to decode
raw_pressureC-struct to decode the message contents into

Definition at line 294 of file mavlink_msg_raw_pressure.h.

static uint16_t mavlink_msg_raw_pressure_encode ( uint8_t  system_id,
uint8_t  component_id,
mavlink_message_t *  msg,
const mavlink_raw_pressure_t raw_pressure 
)
inlinestatic

Encode a raw_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
raw_pressureC-struct to read the message contents from

Definition at line 131 of file mavlink_msg_raw_pressure.h.

static uint16_t mavlink_msg_raw_pressure_encode_chan ( uint8_t  system_id,
uint8_t  component_id,
uint8_t  chan,
mavlink_message_t *  msg,
const mavlink_raw_pressure_t raw_pressure 
)
inlinestatic

Encode a raw_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
raw_pressureC-struct to read the message contents from

Definition at line 145 of file mavlink_msg_raw_pressure.h.

static int16_t mavlink_msg_raw_pressure_get_press_abs ( const mavlink_message_t *  msg)
inlinestatic

Get field press_abs from raw_pressure message.

Returns
Absolute pressure (raw)

Definition at line 253 of file mavlink_msg_raw_pressure.h.

static int16_t mavlink_msg_raw_pressure_get_press_diff1 ( const mavlink_message_t *  msg)
inlinestatic

Get field press_diff1 from raw_pressure message.

Returns
Differential pressure 1 (raw, 0 if nonexistant)

Definition at line 263 of file mavlink_msg_raw_pressure.h.

static int16_t mavlink_msg_raw_pressure_get_press_diff2 ( const mavlink_message_t *  msg)
inlinestatic

Get field press_diff2 from raw_pressure message.

Returns
Differential pressure 2 (raw, 0 if nonexistant)

Definition at line 273 of file mavlink_msg_raw_pressure.h.

static int16_t mavlink_msg_raw_pressure_get_temperature ( const mavlink_message_t *  msg)
inlinestatic

Get field temperature from raw_pressure message.

Returns
Raw Temperature measurement (raw)

Definition at line 283 of file mavlink_msg_raw_pressure.h.

static uint64_t mavlink_msg_raw_pressure_get_time_usec ( const mavlink_message_t *  msg)
inlinestatic

Send a raw_pressure message.

Parameters
chanMAVLink channel to send the message
time_usecTimestamp (microseconds since UNIX epoch or microseconds since system boot)
press_absAbsolute pressure (raw)
press_diff1Differential pressure 1 (raw, 0 if nonexistant)
press_diff2Differential pressure 2 (raw, 0 if nonexistant)
temperatureRaw Temperature measurement (raw) Get field time_usec from raw_pressure message
Returns
Timestamp (microseconds since UNIX epoch or microseconds since system boot)

Definition at line 243 of file mavlink_msg_raw_pressure.h.

static uint16_t mavlink_msg_raw_pressure_pack ( uint8_t  system_id,
uint8_t  component_id,
mavlink_message_t *  msg,
uint64_t  time_usec,
int16_t  press_abs,
int16_t  press_diff1,
int16_t  press_diff2,
int16_t  temperature 
)
inlinestatic

Pack a raw_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
time_usecTimestamp (microseconds since UNIX epoch or microseconds since system boot)
press_absAbsolute pressure (raw)
press_diff1Differential pressure 1 (raw, 0 if nonexistant)
press_diff2Differential pressure 2 (raw, 0 if nonexistant)
temperatureRaw Temperature measurement (raw)
Returns
length of the message in bytes (excluding serial stream start sign)

Definition at line 47 of file mavlink_msg_raw_pressure.h.

static uint16_t mavlink_msg_raw_pressure_pack_chan ( uint8_t  system_id,
uint8_t  component_id,
uint8_t  chan,
mavlink_message_t *  msg,
uint64_t  time_usec,
int16_t  press_abs,
int16_t  press_diff1,
int16_t  press_diff2,
int16_t  temperature 
)
inlinestatic

Pack a raw_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
time_usecTimestamp (microseconds since UNIX epoch or microseconds since system boot)
press_absAbsolute pressure (raw)
press_diff1Differential pressure 1 (raw, 0 if nonexistant)
press_diff2Differential pressure 2 (raw, 0 if nonexistant)
temperatureRaw Temperature measurement (raw)
Returns
length of the message in bytes (excluding serial stream start sign)

Definition at line 91 of file mavlink_msg_raw_pressure.h.



rosflight
Author(s): Daniel Koch , James Jackson
autogenerated on Thu Apr 15 2021 05:09:28