update xml, and pymavlink
This commit is contained in:
@@ -5,11 +5,11 @@
|
||||
|
||||
MAVPACKED(
|
||||
typedef struct __mavlink_raw_pressure_t {
|
||||
uint64_t time_usec; /*< Timestamp (microseconds since UNIX epoch or microseconds since system boot)*/
|
||||
int16_t press_abs; /*< Absolute pressure (raw)*/
|
||||
int16_t press_diff1; /*< Differential pressure 1 (raw, 0 if nonexistant)*/
|
||||
int16_t press_diff2; /*< Differential pressure 2 (raw, 0 if nonexistant)*/
|
||||
int16_t temperature; /*< Raw Temperature measurement (raw)*/
|
||||
uint64_t time_usec; /*< [us] Timestamp (microseconds since UNIX epoch or microseconds since system boot)*/
|
||||
int16_t press_abs; /*< Absolute pressure (raw)*/
|
||||
int16_t press_diff1; /*< Differential pressure 1 (raw, 0 if nonexistant)*/
|
||||
int16_t press_diff2; /*< Differential pressure 2 (raw, 0 if nonexistant)*/
|
||||
int16_t temperature; /*< Raw Temperature measurement (raw)*/
|
||||
}) mavlink_raw_pressure_t;
|
||||
|
||||
#define MAVLINK_MSG_ID_RAW_PRESSURE_LEN 16
|
||||
@@ -53,11 +53,11 @@ typedef struct __mavlink_raw_pressure_t {
|
||||
* @param component_id ID of this component (e.g. 200 for IMU)
|
||||
* @param msg The MAVLink message to compress the data into
|
||||
*
|
||||
* @param time_usec Timestamp (microseconds since UNIX epoch or microseconds since system boot)
|
||||
* @param press_abs Absolute pressure (raw)
|
||||
* @param press_diff1 Differential pressure 1 (raw, 0 if nonexistant)
|
||||
* @param press_diff2 Differential pressure 2 (raw, 0 if nonexistant)
|
||||
* @param temperature Raw Temperature measurement (raw)
|
||||
* @param time_usec [us] Timestamp (microseconds since UNIX epoch or microseconds since system boot)
|
||||
* @param press_abs Absolute pressure (raw)
|
||||
* @param press_diff1 Differential pressure 1 (raw, 0 if nonexistant)
|
||||
* @param press_diff2 Differential pressure 2 (raw, 0 if nonexistant)
|
||||
* @param temperature Raw Temperature measurement (raw)
|
||||
* @return length of the message in bytes (excluding serial stream start sign)
|
||||
*/
|
||||
static inline uint16_t mavlink_msg_raw_pressure_pack(uint8_t system_id, uint8_t component_id, mavlink_message_t* msg,
|
||||
@@ -93,11 +93,11 @@ static inline uint16_t mavlink_msg_raw_pressure_pack(uint8_t system_id, uint8_t
|
||||
* @param component_id ID of this component (e.g. 200 for IMU)
|
||||
* @param chan The MAVLink channel this message will be sent over
|
||||
* @param msg The MAVLink message to compress the data into
|
||||
* @param time_usec Timestamp (microseconds since UNIX epoch or microseconds since system boot)
|
||||
* @param press_abs Absolute pressure (raw)
|
||||
* @param press_diff1 Differential pressure 1 (raw, 0 if nonexistant)
|
||||
* @param press_diff2 Differential pressure 2 (raw, 0 if nonexistant)
|
||||
* @param temperature Raw Temperature measurement (raw)
|
||||
* @param time_usec [us] Timestamp (microseconds since UNIX epoch or microseconds since system boot)
|
||||
* @param press_abs Absolute pressure (raw)
|
||||
* @param press_diff1 Differential pressure 1 (raw, 0 if nonexistant)
|
||||
* @param press_diff2 Differential pressure 2 (raw, 0 if nonexistant)
|
||||
* @param temperature Raw Temperature measurement (raw)
|
||||
* @return length of the message in bytes (excluding serial stream start sign)
|
||||
*/
|
||||
static inline uint16_t mavlink_msg_raw_pressure_pack_chan(uint8_t system_id, uint8_t component_id, uint8_t chan,
|
||||
@@ -159,11 +159,11 @@ static inline uint16_t mavlink_msg_raw_pressure_encode_chan(uint8_t system_id, u
|
||||
* @brief Send a raw_pressure message
|
||||
* @param chan MAVLink channel to send the message
|
||||
*
|
||||
* @param time_usec Timestamp (microseconds since UNIX epoch or microseconds since system boot)
|
||||
* @param press_abs Absolute pressure (raw)
|
||||
* @param press_diff1 Differential pressure 1 (raw, 0 if nonexistant)
|
||||
* @param press_diff2 Differential pressure 2 (raw, 0 if nonexistant)
|
||||
* @param temperature Raw Temperature measurement (raw)
|
||||
* @param time_usec [us] Timestamp (microseconds since UNIX epoch or microseconds since system boot)
|
||||
* @param press_abs Absolute pressure (raw)
|
||||
* @param press_diff1 Differential pressure 1 (raw, 0 if nonexistant)
|
||||
* @param press_diff2 Differential pressure 2 (raw, 0 if nonexistant)
|
||||
* @param temperature Raw Temperature measurement (raw)
|
||||
*/
|
||||
#ifdef MAVLINK_USE_CONVENIENCE_FUNCTIONS
|
||||
|
||||
@@ -244,7 +244,7 @@ static inline void mavlink_msg_raw_pressure_send_buf(mavlink_message_t *msgbuf,
|
||||
/**
|
||||
* @brief Get field time_usec from raw_pressure message
|
||||
*
|
||||
* @return Timestamp (microseconds since UNIX epoch or microseconds since system boot)
|
||||
* @return [us] Timestamp (microseconds since UNIX epoch or microseconds since system boot)
|
||||
*/
|
||||
static inline uint64_t mavlink_msg_raw_pressure_get_time_usec(const mavlink_message_t* msg)
|
||||
{
|
||||
@@ -254,7 +254,7 @@ static inline uint64_t mavlink_msg_raw_pressure_get_time_usec(const mavlink_mess
|
||||
/**
|
||||
* @brief Get field press_abs from raw_pressure message
|
||||
*
|
||||
* @return Absolute pressure (raw)
|
||||
* @return Absolute pressure (raw)
|
||||
*/
|
||||
static inline int16_t mavlink_msg_raw_pressure_get_press_abs(const mavlink_message_t* msg)
|
||||
{
|
||||
@@ -264,7 +264,7 @@ static inline int16_t mavlink_msg_raw_pressure_get_press_abs(const mavlink_messa
|
||||
/**
|
||||
* @brief Get field press_diff1 from raw_pressure message
|
||||
*
|
||||
* @return Differential pressure 1 (raw, 0 if nonexistant)
|
||||
* @return Differential pressure 1 (raw, 0 if nonexistant)
|
||||
*/
|
||||
static inline int16_t mavlink_msg_raw_pressure_get_press_diff1(const mavlink_message_t* msg)
|
||||
{
|
||||
@@ -274,7 +274,7 @@ static inline int16_t mavlink_msg_raw_pressure_get_press_diff1(const mavlink_mes
|
||||
/**
|
||||
* @brief Get field press_diff2 from raw_pressure message
|
||||
*
|
||||
* @return Differential pressure 2 (raw, 0 if nonexistant)
|
||||
* @return Differential pressure 2 (raw, 0 if nonexistant)
|
||||
*/
|
||||
static inline int16_t mavlink_msg_raw_pressure_get_press_diff2(const mavlink_message_t* msg)
|
||||
{
|
||||
@@ -284,7 +284,7 @@ static inline int16_t mavlink_msg_raw_pressure_get_press_diff2(const mavlink_mes
|
||||
/**
|
||||
* @brief Get field temperature from raw_pressure message
|
||||
*
|
||||
* @return Raw Temperature measurement (raw)
|
||||
* @return Raw Temperature measurement (raw)
|
||||
*/
|
||||
static inline int16_t mavlink_msg_raw_pressure_get_temperature(const mavlink_message_t* msg)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user