autogenerated headers for rev https://github.com/mavlink/mavlink/tree/0077129bc6169fa072bd86ed968bd486b0117d46
This commit is contained in:
+1
-1
@@ -10,7 +10,7 @@
|
||||
#error Wrong include order: MAVLINK_ASLUAV.H MUST NOT BE DIRECTLY USED. Include mavlink.h from the same directory instead or set ALL AND EVERY defines from MAVLINK.H manually accordingly, including the #define MAVLINK_H call.
|
||||
#endif
|
||||
|
||||
#define MAVLINK_ASLUAV_XML_HASH 403564493347310910
|
||||
#define MAVLINK_ASLUAV_XML_HASH 5690616993282149140
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
|
||||
+1
-1
@@ -6,7 +6,7 @@
|
||||
#ifndef MAVLINK_H
|
||||
#define MAVLINK_H
|
||||
|
||||
#define MAVLINK_PRIMARY_XML_HASH 403564493347310910
|
||||
#define MAVLINK_PRIMARY_XML_HASH 5690616993282149140
|
||||
|
||||
#ifndef MAVLINK_STX
|
||||
#define MAVLINK_STX 253
|
||||
|
||||
+1
-1
@@ -7,7 +7,7 @@
|
||||
#ifndef MAVLINK_VERSION_H
|
||||
#define MAVLINK_VERSION_H
|
||||
|
||||
#define MAVLINK_BUILD_DATE "Thu Dec 15 2022"
|
||||
#define MAVLINK_BUILD_DATE "Thu Dec 29 2022"
|
||||
#define MAVLINK_WIRE_PROTOCOL_VERSION "2.0"
|
||||
#define MAVLINK_MAX_DIALECT_PAYLOAD_SIZE 255
|
||||
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
#error Wrong include order: MAVLINK_ARDUPILOTMEGA.H MUST NOT BE DIRECTLY USED. Include mavlink.h from the same directory instead or set ALL AND EVERY defines from MAVLINK.H manually accordingly, including the #define MAVLINK_H call.
|
||||
#endif
|
||||
|
||||
#define MAVLINK_ARDUPILOTMEGA_XML_HASH 3153867550926313871
|
||||
#define MAVLINK_ARDUPILOTMEGA_XML_HASH 7920554505614258512
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
#ifndef MAVLINK_H
|
||||
#define MAVLINK_H
|
||||
|
||||
#define MAVLINK_PRIMARY_XML_HASH 3153867550926313871
|
||||
#define MAVLINK_PRIMARY_XML_HASH 7920554505614258512
|
||||
|
||||
#ifndef MAVLINK_STX
|
||||
#define MAVLINK_STX 253
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
#ifndef MAVLINK_VERSION_H
|
||||
#define MAVLINK_VERSION_H
|
||||
|
||||
#define MAVLINK_BUILD_DATE "Thu Dec 15 2022"
|
||||
#define MAVLINK_BUILD_DATE "Thu Dec 29 2022"
|
||||
#define MAVLINK_WIRE_PROTOCOL_VERSION "2.0"
|
||||
#define MAVLINK_MAX_DIALECT_PAYLOAD_SIZE 255
|
||||
|
||||
|
||||
+1
-1
@@ -10,7 +10,7 @@
|
||||
#error Wrong include order: MAVLINK_COMMON.H MUST NOT BE DIRECTLY USED. Include mavlink.h from the same directory instead or set ALL AND EVERY defines from MAVLINK.H manually accordingly, including the #define MAVLINK_H call.
|
||||
#endif
|
||||
|
||||
#define MAVLINK_COMMON_XML_HASH -4196291659103837926
|
||||
#define MAVLINK_COMMON_XML_HASH -2801044925549739763
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
|
||||
+1
-1
@@ -6,7 +6,7 @@
|
||||
#ifndef MAVLINK_H
|
||||
#define MAVLINK_H
|
||||
|
||||
#define MAVLINK_PRIMARY_XML_HASH -4196291659103837926
|
||||
#define MAVLINK_PRIMARY_XML_HASH -2801044925549739763
|
||||
|
||||
#ifndef MAVLINK_STX
|
||||
#define MAVLINK_STX 253
|
||||
|
||||
+1
-1
@@ -7,7 +7,7 @@
|
||||
#ifndef MAVLINK_VERSION_H
|
||||
#define MAVLINK_VERSION_H
|
||||
|
||||
#define MAVLINK_BUILD_DATE "Thu Dec 15 2022"
|
||||
#define MAVLINK_BUILD_DATE "Thu Dec 29 2022"
|
||||
#define MAVLINK_WIRE_PROTOCOL_VERSION "2.0"
|
||||
#define MAVLINK_MAX_DIALECT_PAYLOAD_SIZE 255
|
||||
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
#error Wrong include order: MAVLINK_CUBEPILOT.H MUST NOT BE DIRECTLY USED. Include mavlink.h from the same directory instead or set ALL AND EVERY defines from MAVLINK.H manually accordingly, including the #define MAVLINK_H call.
|
||||
#endif
|
||||
|
||||
#define MAVLINK_CUBEPILOT_XML_HASH 3755863490095765792
|
||||
#define MAVLINK_CUBEPILOT_XML_HASH 8711577769725947993
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
|
||||
+1
-1
@@ -6,7 +6,7 @@
|
||||
#ifndef MAVLINK_H
|
||||
#define MAVLINK_H
|
||||
|
||||
#define MAVLINK_PRIMARY_XML_HASH 3755863490095765792
|
||||
#define MAVLINK_PRIMARY_XML_HASH 8711577769725947993
|
||||
|
||||
#ifndef MAVLINK_STX
|
||||
#define MAVLINK_STX 253
|
||||
|
||||
+1
-1
@@ -7,7 +7,7 @@
|
||||
#ifndef MAVLINK_VERSION_H
|
||||
#define MAVLINK_VERSION_H
|
||||
|
||||
#define MAVLINK_BUILD_DATE "Thu Dec 15 2022"
|
||||
#define MAVLINK_BUILD_DATE "Thu Dec 29 2022"
|
||||
#define MAVLINK_WIRE_PROTOCOL_VERSION "2.0"
|
||||
#define MAVLINK_MAX_DIALECT_PAYLOAD_SIZE 255
|
||||
|
||||
|
||||
+10
-13
File diff suppressed because one or more lines are too long
@@ -6,7 +6,7 @@
|
||||
#ifndef MAVLINK_H
|
||||
#define MAVLINK_H
|
||||
|
||||
#define MAVLINK_PRIMARY_XML_HASH 5999551071146275441
|
||||
#define MAVLINK_PRIMARY_XML_HASH 5126427761350135475
|
||||
|
||||
#ifndef MAVLINK_STX
|
||||
#define MAVLINK_STX 253
|
||||
|
||||
@@ -5,22 +5,20 @@
|
||||
|
||||
|
||||
typedef struct __mavlink_airspeed_t {
|
||||
float airspeed; /*< [m/s] Calibrated airspeed (CAS) if available, otherwise indicated airspeed (IAS).*/
|
||||
float press_diff; /*< [hPa] Differential pressure. NaN for value unknown/not supplied.*/
|
||||
float press_static; /*< [hPa] Static pressure. NaN for value unknown/not supplied.*/
|
||||
float error; /*< [m/s] Error/accuracy. NaN for value unknown/not supplied.*/
|
||||
float airspeed; /*< [m/s] Calibrated airspeed (CAS).*/
|
||||
float raw_press; /*< [hPa] Raw differential pressure. NaN for value unknown/not supplied.*/
|
||||
int16_t temperature; /*< [cdegC] Temperature. INT16_MAX for value unknown/not supplied.*/
|
||||
uint8_t id; /*< Sensor ID.*/
|
||||
uint8_t type; /*< Airspeed sensor type. NaN for value unknown/not supplied. Used to estimate accuracy (i.e. as an alternative to using the error field).*/
|
||||
uint8_t flags; /*< Airspeed sensor flags.*/
|
||||
} mavlink_airspeed_t;
|
||||
|
||||
#define MAVLINK_MSG_ID_AIRSPEED_LEN 20
|
||||
#define MAVLINK_MSG_ID_AIRSPEED_MIN_LEN 20
|
||||
#define MAVLINK_MSG_ID_295_LEN 20
|
||||
#define MAVLINK_MSG_ID_295_MIN_LEN 20
|
||||
#define MAVLINK_MSG_ID_AIRSPEED_LEN 12
|
||||
#define MAVLINK_MSG_ID_AIRSPEED_MIN_LEN 12
|
||||
#define MAVLINK_MSG_ID_295_LEN 12
|
||||
#define MAVLINK_MSG_ID_295_MIN_LEN 12
|
||||
|
||||
#define MAVLINK_MSG_ID_AIRSPEED_CRC 41
|
||||
#define MAVLINK_MSG_ID_295_CRC 41
|
||||
#define MAVLINK_MSG_ID_AIRSPEED_CRC 234
|
||||
#define MAVLINK_MSG_ID_295_CRC 234
|
||||
|
||||
|
||||
|
||||
@@ -28,27 +26,23 @@ typedef struct __mavlink_airspeed_t {
|
||||
#define MAVLINK_MESSAGE_INFO_AIRSPEED { \
|
||||
295, \
|
||||
"AIRSPEED", \
|
||||
7, \
|
||||
{ { "id", NULL, MAVLINK_TYPE_UINT8_T, 0, 18, offsetof(mavlink_airspeed_t, id) }, \
|
||||
5, \
|
||||
{ { "id", NULL, MAVLINK_TYPE_UINT8_T, 0, 10, offsetof(mavlink_airspeed_t, id) }, \
|
||||
{ "airspeed", NULL, MAVLINK_TYPE_FLOAT, 0, 0, offsetof(mavlink_airspeed_t, airspeed) }, \
|
||||
{ "temperature", NULL, MAVLINK_TYPE_INT16_T, 0, 16, offsetof(mavlink_airspeed_t, temperature) }, \
|
||||
{ "press_diff", NULL, MAVLINK_TYPE_FLOAT, 0, 4, offsetof(mavlink_airspeed_t, press_diff) }, \
|
||||
{ "press_static", NULL, MAVLINK_TYPE_FLOAT, 0, 8, offsetof(mavlink_airspeed_t, press_static) }, \
|
||||
{ "error", NULL, MAVLINK_TYPE_FLOAT, 0, 12, offsetof(mavlink_airspeed_t, error) }, \
|
||||
{ "type", NULL, MAVLINK_TYPE_UINT8_T, 0, 19, offsetof(mavlink_airspeed_t, type) }, \
|
||||
{ "temperature", NULL, MAVLINK_TYPE_INT16_T, 0, 8, offsetof(mavlink_airspeed_t, temperature) }, \
|
||||
{ "raw_press", NULL, MAVLINK_TYPE_FLOAT, 0, 4, offsetof(mavlink_airspeed_t, raw_press) }, \
|
||||
{ "flags", NULL, MAVLINK_TYPE_UINT8_T, 0, 11, offsetof(mavlink_airspeed_t, flags) }, \
|
||||
} \
|
||||
}
|
||||
#else
|
||||
#define MAVLINK_MESSAGE_INFO_AIRSPEED { \
|
||||
"AIRSPEED", \
|
||||
7, \
|
||||
{ { "id", NULL, MAVLINK_TYPE_UINT8_T, 0, 18, offsetof(mavlink_airspeed_t, id) }, \
|
||||
5, \
|
||||
{ { "id", NULL, MAVLINK_TYPE_UINT8_T, 0, 10, offsetof(mavlink_airspeed_t, id) }, \
|
||||
{ "airspeed", NULL, MAVLINK_TYPE_FLOAT, 0, 0, offsetof(mavlink_airspeed_t, airspeed) }, \
|
||||
{ "temperature", NULL, MAVLINK_TYPE_INT16_T, 0, 16, offsetof(mavlink_airspeed_t, temperature) }, \
|
||||
{ "press_diff", NULL, MAVLINK_TYPE_FLOAT, 0, 4, offsetof(mavlink_airspeed_t, press_diff) }, \
|
||||
{ "press_static", NULL, MAVLINK_TYPE_FLOAT, 0, 8, offsetof(mavlink_airspeed_t, press_static) }, \
|
||||
{ "error", NULL, MAVLINK_TYPE_FLOAT, 0, 12, offsetof(mavlink_airspeed_t, error) }, \
|
||||
{ "type", NULL, MAVLINK_TYPE_UINT8_T, 0, 19, offsetof(mavlink_airspeed_t, type) }, \
|
||||
{ "temperature", NULL, MAVLINK_TYPE_INT16_T, 0, 8, offsetof(mavlink_airspeed_t, temperature) }, \
|
||||
{ "raw_press", NULL, MAVLINK_TYPE_FLOAT, 0, 4, offsetof(mavlink_airspeed_t, raw_press) }, \
|
||||
{ "flags", NULL, MAVLINK_TYPE_UINT8_T, 0, 11, offsetof(mavlink_airspeed_t, flags) }, \
|
||||
} \
|
||||
}
|
||||
#endif
|
||||
@@ -60,37 +54,31 @@ typedef struct __mavlink_airspeed_t {
|
||||
* @param msg The MAVLink message to compress the data into
|
||||
*
|
||||
* @param id Sensor ID.
|
||||
* @param airspeed [m/s] Calibrated airspeed (CAS) if available, otherwise indicated airspeed (IAS).
|
||||
* @param airspeed [m/s] Calibrated airspeed (CAS).
|
||||
* @param temperature [cdegC] Temperature. INT16_MAX for value unknown/not supplied.
|
||||
* @param press_diff [hPa] Differential pressure. NaN for value unknown/not supplied.
|
||||
* @param press_static [hPa] Static pressure. NaN for value unknown/not supplied.
|
||||
* @param error [m/s] Error/accuracy. NaN for value unknown/not supplied.
|
||||
* @param type Airspeed sensor type. NaN for value unknown/not supplied. Used to estimate accuracy (i.e. as an alternative to using the error field).
|
||||
* @param raw_press [hPa] Raw differential pressure. NaN for value unknown/not supplied.
|
||||
* @param flags Airspeed sensor flags.
|
||||
* @return length of the message in bytes (excluding serial stream start sign)
|
||||
*/
|
||||
static inline uint16_t mavlink_msg_airspeed_pack(uint8_t system_id, uint8_t component_id, mavlink_message_t* msg,
|
||||
uint8_t id, float airspeed, int16_t temperature, float press_diff, float press_static, float error, uint8_t type)
|
||||
uint8_t id, float airspeed, int16_t temperature, float raw_press, uint8_t flags)
|
||||
{
|
||||
#if MAVLINK_NEED_BYTE_SWAP || !MAVLINK_ALIGNED_FIELDS
|
||||
char buf[MAVLINK_MSG_ID_AIRSPEED_LEN];
|
||||
_mav_put_float(buf, 0, airspeed);
|
||||
_mav_put_float(buf, 4, press_diff);
|
||||
_mav_put_float(buf, 8, press_static);
|
||||
_mav_put_float(buf, 12, error);
|
||||
_mav_put_int16_t(buf, 16, temperature);
|
||||
_mav_put_uint8_t(buf, 18, id);
|
||||
_mav_put_uint8_t(buf, 19, type);
|
||||
_mav_put_float(buf, 4, raw_press);
|
||||
_mav_put_int16_t(buf, 8, temperature);
|
||||
_mav_put_uint8_t(buf, 10, id);
|
||||
_mav_put_uint8_t(buf, 11, flags);
|
||||
|
||||
memcpy(_MAV_PAYLOAD_NON_CONST(msg), buf, MAVLINK_MSG_ID_AIRSPEED_LEN);
|
||||
#else
|
||||
mavlink_airspeed_t packet;
|
||||
packet.airspeed = airspeed;
|
||||
packet.press_diff = press_diff;
|
||||
packet.press_static = press_static;
|
||||
packet.error = error;
|
||||
packet.raw_press = raw_press;
|
||||
packet.temperature = temperature;
|
||||
packet.id = id;
|
||||
packet.type = type;
|
||||
packet.flags = flags;
|
||||
|
||||
memcpy(_MAV_PAYLOAD_NON_CONST(msg), &packet, MAVLINK_MSG_ID_AIRSPEED_LEN);
|
||||
#endif
|
||||
@@ -106,38 +94,32 @@ static inline uint16_t mavlink_msg_airspeed_pack(uint8_t system_id, uint8_t comp
|
||||
* @param chan The MAVLink channel this message will be sent over
|
||||
* @param msg The MAVLink message to compress the data into
|
||||
* @param id Sensor ID.
|
||||
* @param airspeed [m/s] Calibrated airspeed (CAS) if available, otherwise indicated airspeed (IAS).
|
||||
* @param airspeed [m/s] Calibrated airspeed (CAS).
|
||||
* @param temperature [cdegC] Temperature. INT16_MAX for value unknown/not supplied.
|
||||
* @param press_diff [hPa] Differential pressure. NaN for value unknown/not supplied.
|
||||
* @param press_static [hPa] Static pressure. NaN for value unknown/not supplied.
|
||||
* @param error [m/s] Error/accuracy. NaN for value unknown/not supplied.
|
||||
* @param type Airspeed sensor type. NaN for value unknown/not supplied. Used to estimate accuracy (i.e. as an alternative to using the error field).
|
||||
* @param raw_press [hPa] Raw differential pressure. NaN for value unknown/not supplied.
|
||||
* @param flags Airspeed sensor flags.
|
||||
* @return length of the message in bytes (excluding serial stream start sign)
|
||||
*/
|
||||
static inline uint16_t mavlink_msg_airspeed_pack_chan(uint8_t system_id, uint8_t component_id, uint8_t chan,
|
||||
mavlink_message_t* msg,
|
||||
uint8_t id,float airspeed,int16_t temperature,float press_diff,float press_static,float error,uint8_t type)
|
||||
uint8_t id,float airspeed,int16_t temperature,float raw_press,uint8_t flags)
|
||||
{
|
||||
#if MAVLINK_NEED_BYTE_SWAP || !MAVLINK_ALIGNED_FIELDS
|
||||
char buf[MAVLINK_MSG_ID_AIRSPEED_LEN];
|
||||
_mav_put_float(buf, 0, airspeed);
|
||||
_mav_put_float(buf, 4, press_diff);
|
||||
_mav_put_float(buf, 8, press_static);
|
||||
_mav_put_float(buf, 12, error);
|
||||
_mav_put_int16_t(buf, 16, temperature);
|
||||
_mav_put_uint8_t(buf, 18, id);
|
||||
_mav_put_uint8_t(buf, 19, type);
|
||||
_mav_put_float(buf, 4, raw_press);
|
||||
_mav_put_int16_t(buf, 8, temperature);
|
||||
_mav_put_uint8_t(buf, 10, id);
|
||||
_mav_put_uint8_t(buf, 11, flags);
|
||||
|
||||
memcpy(_MAV_PAYLOAD_NON_CONST(msg), buf, MAVLINK_MSG_ID_AIRSPEED_LEN);
|
||||
#else
|
||||
mavlink_airspeed_t packet;
|
||||
packet.airspeed = airspeed;
|
||||
packet.press_diff = press_diff;
|
||||
packet.press_static = press_static;
|
||||
packet.error = error;
|
||||
packet.raw_press = raw_press;
|
||||
packet.temperature = temperature;
|
||||
packet.id = id;
|
||||
packet.type = type;
|
||||
packet.flags = flags;
|
||||
|
||||
memcpy(_MAV_PAYLOAD_NON_CONST(msg), &packet, MAVLINK_MSG_ID_AIRSPEED_LEN);
|
||||
#endif
|
||||
@@ -156,7 +138,7 @@ static inline uint16_t mavlink_msg_airspeed_pack_chan(uint8_t system_id, uint8_t
|
||||
*/
|
||||
static inline uint16_t mavlink_msg_airspeed_encode(uint8_t system_id, uint8_t component_id, mavlink_message_t* msg, const mavlink_airspeed_t* airspeed)
|
||||
{
|
||||
return mavlink_msg_airspeed_pack(system_id, component_id, msg, airspeed->id, airspeed->airspeed, airspeed->temperature, airspeed->press_diff, airspeed->press_static, airspeed->error, airspeed->type);
|
||||
return mavlink_msg_airspeed_pack(system_id, component_id, msg, airspeed->id, airspeed->airspeed, airspeed->temperature, airspeed->raw_press, airspeed->flags);
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -170,7 +152,7 @@ static inline uint16_t mavlink_msg_airspeed_encode(uint8_t system_id, uint8_t co
|
||||
*/
|
||||
static inline uint16_t mavlink_msg_airspeed_encode_chan(uint8_t system_id, uint8_t component_id, uint8_t chan, mavlink_message_t* msg, const mavlink_airspeed_t* airspeed)
|
||||
{
|
||||
return mavlink_msg_airspeed_pack_chan(system_id, component_id, chan, msg, airspeed->id, airspeed->airspeed, airspeed->temperature, airspeed->press_diff, airspeed->press_static, airspeed->error, airspeed->type);
|
||||
return mavlink_msg_airspeed_pack_chan(system_id, component_id, chan, msg, airspeed->id, airspeed->airspeed, airspeed->temperature, airspeed->raw_press, airspeed->flags);
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -178,37 +160,31 @@ static inline uint16_t mavlink_msg_airspeed_encode_chan(uint8_t system_id, uint8
|
||||
* @param chan MAVLink channel to send the message
|
||||
*
|
||||
* @param id Sensor ID.
|
||||
* @param airspeed [m/s] Calibrated airspeed (CAS) if available, otherwise indicated airspeed (IAS).
|
||||
* @param airspeed [m/s] Calibrated airspeed (CAS).
|
||||
* @param temperature [cdegC] Temperature. INT16_MAX for value unknown/not supplied.
|
||||
* @param press_diff [hPa] Differential pressure. NaN for value unknown/not supplied.
|
||||
* @param press_static [hPa] Static pressure. NaN for value unknown/not supplied.
|
||||
* @param error [m/s] Error/accuracy. NaN for value unknown/not supplied.
|
||||
* @param type Airspeed sensor type. NaN for value unknown/not supplied. Used to estimate accuracy (i.e. as an alternative to using the error field).
|
||||
* @param raw_press [hPa] Raw differential pressure. NaN for value unknown/not supplied.
|
||||
* @param flags Airspeed sensor flags.
|
||||
*/
|
||||
#ifdef MAVLINK_USE_CONVENIENCE_FUNCTIONS
|
||||
|
||||
static inline void mavlink_msg_airspeed_send(mavlink_channel_t chan, uint8_t id, float airspeed, int16_t temperature, float press_diff, float press_static, float error, uint8_t type)
|
||||
static inline void mavlink_msg_airspeed_send(mavlink_channel_t chan, uint8_t id, float airspeed, int16_t temperature, float raw_press, uint8_t flags)
|
||||
{
|
||||
#if MAVLINK_NEED_BYTE_SWAP || !MAVLINK_ALIGNED_FIELDS
|
||||
char buf[MAVLINK_MSG_ID_AIRSPEED_LEN];
|
||||
_mav_put_float(buf, 0, airspeed);
|
||||
_mav_put_float(buf, 4, press_diff);
|
||||
_mav_put_float(buf, 8, press_static);
|
||||
_mav_put_float(buf, 12, error);
|
||||
_mav_put_int16_t(buf, 16, temperature);
|
||||
_mav_put_uint8_t(buf, 18, id);
|
||||
_mav_put_uint8_t(buf, 19, type);
|
||||
_mav_put_float(buf, 4, raw_press);
|
||||
_mav_put_int16_t(buf, 8, temperature);
|
||||
_mav_put_uint8_t(buf, 10, id);
|
||||
_mav_put_uint8_t(buf, 11, flags);
|
||||
|
||||
_mav_finalize_message_chan_send(chan, MAVLINK_MSG_ID_AIRSPEED, buf, MAVLINK_MSG_ID_AIRSPEED_MIN_LEN, MAVLINK_MSG_ID_AIRSPEED_LEN, MAVLINK_MSG_ID_AIRSPEED_CRC);
|
||||
#else
|
||||
mavlink_airspeed_t packet;
|
||||
packet.airspeed = airspeed;
|
||||
packet.press_diff = press_diff;
|
||||
packet.press_static = press_static;
|
||||
packet.error = error;
|
||||
packet.raw_press = raw_press;
|
||||
packet.temperature = temperature;
|
||||
packet.id = id;
|
||||
packet.type = type;
|
||||
packet.flags = flags;
|
||||
|
||||
_mav_finalize_message_chan_send(chan, MAVLINK_MSG_ID_AIRSPEED, (const char *)&packet, MAVLINK_MSG_ID_AIRSPEED_MIN_LEN, MAVLINK_MSG_ID_AIRSPEED_LEN, MAVLINK_MSG_ID_AIRSPEED_CRC);
|
||||
#endif
|
||||
@@ -222,7 +198,7 @@ static inline void mavlink_msg_airspeed_send(mavlink_channel_t chan, uint8_t id,
|
||||
static inline void mavlink_msg_airspeed_send_struct(mavlink_channel_t chan, const mavlink_airspeed_t* airspeed)
|
||||
{
|
||||
#if MAVLINK_NEED_BYTE_SWAP || !MAVLINK_ALIGNED_FIELDS
|
||||
mavlink_msg_airspeed_send(chan, airspeed->id, airspeed->airspeed, airspeed->temperature, airspeed->press_diff, airspeed->press_static, airspeed->error, airspeed->type);
|
||||
mavlink_msg_airspeed_send(chan, airspeed->id, airspeed->airspeed, airspeed->temperature, airspeed->raw_press, airspeed->flags);
|
||||
#else
|
||||
_mav_finalize_message_chan_send(chan, MAVLINK_MSG_ID_AIRSPEED, (const char *)airspeed, MAVLINK_MSG_ID_AIRSPEED_MIN_LEN, MAVLINK_MSG_ID_AIRSPEED_LEN, MAVLINK_MSG_ID_AIRSPEED_CRC);
|
||||
#endif
|
||||
@@ -236,28 +212,24 @@ static inline void mavlink_msg_airspeed_send_struct(mavlink_channel_t chan, cons
|
||||
is usually the receive buffer for the channel, and allows a reply to an
|
||||
incoming message with minimum stack space usage.
|
||||
*/
|
||||
static inline void mavlink_msg_airspeed_send_buf(mavlink_message_t *msgbuf, mavlink_channel_t chan, uint8_t id, float airspeed, int16_t temperature, float press_diff, float press_static, float error, uint8_t type)
|
||||
static inline void mavlink_msg_airspeed_send_buf(mavlink_message_t *msgbuf, mavlink_channel_t chan, uint8_t id, float airspeed, int16_t temperature, float raw_press, uint8_t flags)
|
||||
{
|
||||
#if MAVLINK_NEED_BYTE_SWAP || !MAVLINK_ALIGNED_FIELDS
|
||||
char *buf = (char *)msgbuf;
|
||||
_mav_put_float(buf, 0, airspeed);
|
||||
_mav_put_float(buf, 4, press_diff);
|
||||
_mav_put_float(buf, 8, press_static);
|
||||
_mav_put_float(buf, 12, error);
|
||||
_mav_put_int16_t(buf, 16, temperature);
|
||||
_mav_put_uint8_t(buf, 18, id);
|
||||
_mav_put_uint8_t(buf, 19, type);
|
||||
_mav_put_float(buf, 4, raw_press);
|
||||
_mav_put_int16_t(buf, 8, temperature);
|
||||
_mav_put_uint8_t(buf, 10, id);
|
||||
_mav_put_uint8_t(buf, 11, flags);
|
||||
|
||||
_mav_finalize_message_chan_send(chan, MAVLINK_MSG_ID_AIRSPEED, buf, MAVLINK_MSG_ID_AIRSPEED_MIN_LEN, MAVLINK_MSG_ID_AIRSPEED_LEN, MAVLINK_MSG_ID_AIRSPEED_CRC);
|
||||
#else
|
||||
mavlink_airspeed_t *packet = (mavlink_airspeed_t *)msgbuf;
|
||||
packet->airspeed = airspeed;
|
||||
packet->press_diff = press_diff;
|
||||
packet->press_static = press_static;
|
||||
packet->error = error;
|
||||
packet->raw_press = raw_press;
|
||||
packet->temperature = temperature;
|
||||
packet->id = id;
|
||||
packet->type = type;
|
||||
packet->flags = flags;
|
||||
|
||||
_mav_finalize_message_chan_send(chan, MAVLINK_MSG_ID_AIRSPEED, (const char *)packet, MAVLINK_MSG_ID_AIRSPEED_MIN_LEN, MAVLINK_MSG_ID_AIRSPEED_LEN, MAVLINK_MSG_ID_AIRSPEED_CRC);
|
||||
#endif
|
||||
@@ -276,13 +248,13 @@ static inline void mavlink_msg_airspeed_send_buf(mavlink_message_t *msgbuf, mavl
|
||||
*/
|
||||
static inline uint8_t mavlink_msg_airspeed_get_id(const mavlink_message_t* msg)
|
||||
{
|
||||
return _MAV_RETURN_uint8_t(msg, 18);
|
||||
return _MAV_RETURN_uint8_t(msg, 10);
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief Get field airspeed from airspeed message
|
||||
*
|
||||
* @return [m/s] Calibrated airspeed (CAS) if available, otherwise indicated airspeed (IAS).
|
||||
* @return [m/s] Calibrated airspeed (CAS).
|
||||
*/
|
||||
static inline float mavlink_msg_airspeed_get_airspeed(const mavlink_message_t* msg)
|
||||
{
|
||||
@@ -296,47 +268,27 @@ static inline float mavlink_msg_airspeed_get_airspeed(const mavlink_message_t* m
|
||||
*/
|
||||
static inline int16_t mavlink_msg_airspeed_get_temperature(const mavlink_message_t* msg)
|
||||
{
|
||||
return _MAV_RETURN_int16_t(msg, 16);
|
||||
return _MAV_RETURN_int16_t(msg, 8);
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief Get field press_diff from airspeed message
|
||||
* @brief Get field raw_press from airspeed message
|
||||
*
|
||||
* @return [hPa] Differential pressure. NaN for value unknown/not supplied.
|
||||
* @return [hPa] Raw differential pressure. NaN for value unknown/not supplied.
|
||||
*/
|
||||
static inline float mavlink_msg_airspeed_get_press_diff(const mavlink_message_t* msg)
|
||||
static inline float mavlink_msg_airspeed_get_raw_press(const mavlink_message_t* msg)
|
||||
{
|
||||
return _MAV_RETURN_float(msg, 4);
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief Get field press_static from airspeed message
|
||||
* @brief Get field flags from airspeed message
|
||||
*
|
||||
* @return [hPa] Static pressure. NaN for value unknown/not supplied.
|
||||
* @return Airspeed sensor flags.
|
||||
*/
|
||||
static inline float mavlink_msg_airspeed_get_press_static(const mavlink_message_t* msg)
|
||||
static inline uint8_t mavlink_msg_airspeed_get_flags(const mavlink_message_t* msg)
|
||||
{
|
||||
return _MAV_RETURN_float(msg, 8);
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief Get field error from airspeed message
|
||||
*
|
||||
* @return [m/s] Error/accuracy. NaN for value unknown/not supplied.
|
||||
*/
|
||||
static inline float mavlink_msg_airspeed_get_error(const mavlink_message_t* msg)
|
||||
{
|
||||
return _MAV_RETURN_float(msg, 12);
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief Get field type from airspeed message
|
||||
*
|
||||
* @return Airspeed sensor type. NaN for value unknown/not supplied. Used to estimate accuracy (i.e. as an alternative to using the error field).
|
||||
*/
|
||||
static inline uint8_t mavlink_msg_airspeed_get_type(const mavlink_message_t* msg)
|
||||
{
|
||||
return _MAV_RETURN_uint8_t(msg, 19);
|
||||
return _MAV_RETURN_uint8_t(msg, 11);
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -349,12 +301,10 @@ static inline void mavlink_msg_airspeed_decode(const mavlink_message_t* msg, mav
|
||||
{
|
||||
#if MAVLINK_NEED_BYTE_SWAP || !MAVLINK_ALIGNED_FIELDS
|
||||
airspeed->airspeed = mavlink_msg_airspeed_get_airspeed(msg);
|
||||
airspeed->press_diff = mavlink_msg_airspeed_get_press_diff(msg);
|
||||
airspeed->press_static = mavlink_msg_airspeed_get_press_static(msg);
|
||||
airspeed->error = mavlink_msg_airspeed_get_error(msg);
|
||||
airspeed->raw_press = mavlink_msg_airspeed_get_raw_press(msg);
|
||||
airspeed->temperature = mavlink_msg_airspeed_get_temperature(msg);
|
||||
airspeed->id = mavlink_msg_airspeed_get_id(msg);
|
||||
airspeed->type = mavlink_msg_airspeed_get_type(msg);
|
||||
airspeed->flags = mavlink_msg_airspeed_get_flags(msg);
|
||||
#else
|
||||
uint8_t len = msg->len < MAVLINK_MSG_ID_AIRSPEED_LEN? msg->len : MAVLINK_MSG_ID_AIRSPEED_LEN;
|
||||
memset(airspeed, 0, MAVLINK_MSG_ID_AIRSPEED_LEN);
|
||||
|
||||
@@ -161,17 +161,15 @@ static void mavlink_test_airspeed(uint8_t system_id, uint8_t component_id, mavli
|
||||
uint8_t buffer[MAVLINK_MAX_PACKET_LEN];
|
||||
uint16_t i;
|
||||
mavlink_airspeed_t packet_in = {
|
||||
17.0,45.0,73.0,101.0,18067,187,254
|
||||
17.0,45.0,17651,163,230
|
||||
};
|
||||
mavlink_airspeed_t packet1, packet2;
|
||||
memset(&packet1, 0, sizeof(packet1));
|
||||
packet1.airspeed = packet_in.airspeed;
|
||||
packet1.press_diff = packet_in.press_diff;
|
||||
packet1.press_static = packet_in.press_static;
|
||||
packet1.error = packet_in.error;
|
||||
packet1.raw_press = packet_in.raw_press;
|
||||
packet1.temperature = packet_in.temperature;
|
||||
packet1.id = packet_in.id;
|
||||
packet1.type = packet_in.type;
|
||||
packet1.flags = packet_in.flags;
|
||||
|
||||
|
||||
#ifdef MAVLINK_STATUS_FLAG_OUT_MAVLINK1
|
||||
@@ -186,12 +184,12 @@ static void mavlink_test_airspeed(uint8_t system_id, uint8_t component_id, mavli
|
||||
MAVLINK_ASSERT(memcmp(&packet1, &packet2, sizeof(packet1)) == 0);
|
||||
|
||||
memset(&packet2, 0, sizeof(packet2));
|
||||
mavlink_msg_airspeed_pack(system_id, component_id, &msg , packet1.id , packet1.airspeed , packet1.temperature , packet1.press_diff , packet1.press_static , packet1.error , packet1.type );
|
||||
mavlink_msg_airspeed_pack(system_id, component_id, &msg , packet1.id , packet1.airspeed , packet1.temperature , packet1.raw_press , packet1.flags );
|
||||
mavlink_msg_airspeed_decode(&msg, &packet2);
|
||||
MAVLINK_ASSERT(memcmp(&packet1, &packet2, sizeof(packet1)) == 0);
|
||||
|
||||
memset(&packet2, 0, sizeof(packet2));
|
||||
mavlink_msg_airspeed_pack_chan(system_id, component_id, MAVLINK_COMM_0, &msg , packet1.id , packet1.airspeed , packet1.temperature , packet1.press_diff , packet1.press_static , packet1.error , packet1.type );
|
||||
mavlink_msg_airspeed_pack_chan(system_id, component_id, MAVLINK_COMM_0, &msg , packet1.id , packet1.airspeed , packet1.temperature , packet1.raw_press , packet1.flags );
|
||||
mavlink_msg_airspeed_decode(&msg, &packet2);
|
||||
MAVLINK_ASSERT(memcmp(&packet1, &packet2, sizeof(packet1)) == 0);
|
||||
|
||||
@@ -204,7 +202,7 @@ static void mavlink_test_airspeed(uint8_t system_id, uint8_t component_id, mavli
|
||||
MAVLINK_ASSERT(memcmp(&packet1, &packet2, sizeof(packet1)) == 0);
|
||||
|
||||
memset(&packet2, 0, sizeof(packet2));
|
||||
mavlink_msg_airspeed_send(MAVLINK_COMM_1 , packet1.id , packet1.airspeed , packet1.temperature , packet1.press_diff , packet1.press_static , packet1.error , packet1.type );
|
||||
mavlink_msg_airspeed_send(MAVLINK_COMM_1 , packet1.id , packet1.airspeed , packet1.temperature , packet1.raw_press , packet1.flags );
|
||||
mavlink_msg_airspeed_decode(last_msg, &packet2);
|
||||
MAVLINK_ASSERT(memcmp(&packet1, &packet2, sizeof(packet1)) == 0);
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
#ifndef MAVLINK_VERSION_H
|
||||
#define MAVLINK_VERSION_H
|
||||
|
||||
#define MAVLINK_BUILD_DATE "Thu Dec 15 2022"
|
||||
#define MAVLINK_BUILD_DATE "Thu Dec 29 2022"
|
||||
#define MAVLINK_WIRE_PROTOCOL_VERSION "2.0"
|
||||
#define MAVLINK_MAX_DIALECT_PAYLOAD_SIZE 255
|
||||
|
||||
|
||||
+1
-1
@@ -10,7 +10,7 @@
|
||||
#error Wrong include order: MAVLINK_ICAROUS.H MUST NOT BE DIRECTLY USED. Include mavlink.h from the same directory instead or set ALL AND EVERY defines from MAVLINK.H manually accordingly, including the #define MAVLINK_H call.
|
||||
#endif
|
||||
|
||||
#define MAVLINK_ICAROUS_XML_HASH -7398638960870222159
|
||||
#define MAVLINK_ICAROUS_XML_HASH 9059061159983506791
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
|
||||
+1
-1
@@ -6,7 +6,7 @@
|
||||
#ifndef MAVLINK_H
|
||||
#define MAVLINK_H
|
||||
|
||||
#define MAVLINK_PRIMARY_XML_HASH -7398638960870222159
|
||||
#define MAVLINK_PRIMARY_XML_HASH 9059061159983506791
|
||||
|
||||
#ifndef MAVLINK_STX
|
||||
#define MAVLINK_STX 253
|
||||
|
||||
+1
-1
@@ -7,7 +7,7 @@
|
||||
#ifndef MAVLINK_VERSION_H
|
||||
#define MAVLINK_VERSION_H
|
||||
|
||||
#define MAVLINK_BUILD_DATE "Thu Dec 15 2022"
|
||||
#define MAVLINK_BUILD_DATE "Thu Dec 29 2022"
|
||||
#define MAVLINK_WIRE_PROTOCOL_VERSION "2.0"
|
||||
#define MAVLINK_MAX_DIALECT_PAYLOAD_SIZE 46
|
||||
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
#error Wrong include order: MAVLINK_MATRIXPILOT.H MUST NOT BE DIRECTLY USED. Include mavlink.h from the same directory instead or set ALL AND EVERY defines from MAVLINK.H manually accordingly, including the #define MAVLINK_H call.
|
||||
#endif
|
||||
|
||||
#define MAVLINK_MATRIXPILOT_XML_HASH 6032070150705067345
|
||||
#define MAVLINK_MATRIXPILOT_XML_HASH -1112340382054825037
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
#ifndef MAVLINK_H
|
||||
#define MAVLINK_H
|
||||
|
||||
#define MAVLINK_PRIMARY_XML_HASH 6032070150705067345
|
||||
#define MAVLINK_PRIMARY_XML_HASH -1112340382054825037
|
||||
|
||||
#ifndef MAVLINK_STX
|
||||
#define MAVLINK_STX 253
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
#ifndef MAVLINK_VERSION_H
|
||||
#define MAVLINK_VERSION_H
|
||||
|
||||
#define MAVLINK_BUILD_DATE "Thu Dec 15 2022"
|
||||
#define MAVLINK_BUILD_DATE "Thu Dec 29 2022"
|
||||
#define MAVLINK_WIRE_PROTOCOL_VERSION "2.0"
|
||||
#define MAVLINK_MAX_DIALECT_PAYLOAD_SIZE 255
|
||||
|
||||
|
||||
@@ -26,22 +26,13 @@
|
||||
<description>WPA3.</description>
|
||||
</entry>
|
||||
</enum>
|
||||
<enum name="AIRSPEED_SENSOR_TYPE">
|
||||
<description>Types of airspeed sensor/data. May be be used in AIRSPEED message to estimate accuracy of indicated speed.</description>
|
||||
<entry value="0" name="AIRSPEED_SENSOR_TYPE_UNKNOWN">
|
||||
<description>Airspeed sensor type unknown/not supplied.</description>
|
||||
<enum name="AIRSPEED_SENSOR_FLAGS" bitmask="true">
|
||||
<description>Airspeed sensor flags</description>
|
||||
<entry value="0" name="AIRSPEED_SENSOR_UNHEALTHY">
|
||||
<description>Airspeed sensor is unhealthy</description>
|
||||
</entry>
|
||||
<entry value="1" name="AIRSPEED_SENSOR_TYPE_DIFFERENTIAL">
|
||||
<description>Differential airspeed sensor</description>
|
||||
</entry>
|
||||
<entry value="2" name="AIRSPEED_SENSOR_TYPE_MASS_FLOW">
|
||||
<description>Mass-flow airspeed sensor.</description>
|
||||
</entry>
|
||||
<entry value="3" name="AIRSPEED_SENSOR_TYPE_WINDVANE">
|
||||
<description>Windvane airspeed sensor.</description>
|
||||
</entry>
|
||||
<entry value="4" name="AIRSPEED_SENSOR_TYPE_SYNTHETIC">
|
||||
<description>Synthetic/calculated airspeed.</description>
|
||||
<entry value="1" name="AIRSPEED_SENSOR_USING">
|
||||
<description>True if the data from this sensor is being actively used by the flight controller for guidance, navigation or control.</description>
|
||||
</entry>
|
||||
</enum>
|
||||
<!-- Transactions for parameter protocol -->
|
||||
@@ -376,12 +367,10 @@
|
||||
<message id="295" name="AIRSPEED">
|
||||
<description>Airspeed information from a sensor.</description>
|
||||
<field type="uint8_t" name="id" instance="true">Sensor ID.</field>
|
||||
<field type="float" name="airspeed" units="m/s">Calibrated airspeed (CAS) if available, otherwise indicated airspeed (IAS).</field>
|
||||
<field type="float" name="airspeed" units="m/s">Calibrated airspeed (CAS).</field>
|
||||
<field type="int16_t" name="temperature" units="cdegC">Temperature. INT16_MAX for value unknown/not supplied.</field>
|
||||
<field type="float" name="press_diff" units="hPa">Differential pressure. NaN for value unknown/not supplied.</field>
|
||||
<field type="float" name="press_static" units="hPa">Static pressure. NaN for value unknown/not supplied.</field>
|
||||
<field type="float" name="error" units="m/s">Error/accuracy. NaN for value unknown/not supplied.</field>
|
||||
<field type="uint8_t" name="type" enum="AIRSPEED_SENSOR_TYPE">Airspeed sensor type. NaN for value unknown/not supplied. Used to estimate accuracy (i.e. as an alternative to using the error field).</field>
|
||||
<field type="float" name="raw_press" units="hPa">Raw differential pressure. NaN for value unknown/not supplied.</field>
|
||||
<field type="uint8_t" name="flags" enum="AIRSPEED_SENSOR_FLAGS">Airspeed sensor flags.</field>
|
||||
</message>
|
||||
<message id="298" name="WIFI_NETWORK_INFO">
|
||||
<description>Detected WiFi network status information. This message is sent per each WiFi network detected in range with known SSID and general status parameters.</description>
|
||||
|
||||
+1
-1
@@ -6,7 +6,7 @@
|
||||
#ifndef MAVLINK_H
|
||||
#define MAVLINK_H
|
||||
|
||||
#define MAVLINK_PRIMARY_XML_HASH -452921889865480545
|
||||
#define MAVLINK_PRIMARY_XML_HASH 251154109142316061
|
||||
|
||||
#ifndef MAVLINK_STX
|
||||
#define MAVLINK_STX 253
|
||||
|
||||
+1
-1
@@ -10,7 +10,7 @@
|
||||
#error Wrong include order: MAVLINK_MINIMAL.H MUST NOT BE DIRECTLY USED. Include mavlink.h from the same directory instead or set ALL AND EVERY defines from MAVLINK.H manually accordingly, including the #define MAVLINK_H call.
|
||||
#endif
|
||||
|
||||
#define MAVLINK_MINIMAL_XML_HASH -452921889865480545
|
||||
#define MAVLINK_MINIMAL_XML_HASH 251154109142316061
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
|
||||
+1
-1
@@ -7,7 +7,7 @@
|
||||
#ifndef MAVLINK_VERSION_H
|
||||
#define MAVLINK_VERSION_H
|
||||
|
||||
#define MAVLINK_BUILD_DATE "Thu Dec 15 2022"
|
||||
#define MAVLINK_BUILD_DATE "Thu Dec 29 2022"
|
||||
#define MAVLINK_WIRE_PROTOCOL_VERSION "2.0"
|
||||
#define MAVLINK_MAX_DIALECT_PAYLOAD_SIZE 22
|
||||
|
||||
|
||||
+1
-1
@@ -6,7 +6,7 @@
|
||||
#ifndef MAVLINK_H
|
||||
#define MAVLINK_H
|
||||
|
||||
#define MAVLINK_PRIMARY_XML_HASH -447159505806348298
|
||||
#define MAVLINK_PRIMARY_XML_HASH -4471114175204776091
|
||||
|
||||
#ifndef MAVLINK_STX
|
||||
#define MAVLINK_STX 253
|
||||
|
||||
+1
-1
@@ -10,7 +10,7 @@
|
||||
#error Wrong include order: MAVLINK_STANDARD.H MUST NOT BE DIRECTLY USED. Include mavlink.h from the same directory instead or set ALL AND EVERY defines from MAVLINK.H manually accordingly, including the #define MAVLINK_H call.
|
||||
#endif
|
||||
|
||||
#define MAVLINK_STANDARD_XML_HASH -447159505806348298
|
||||
#define MAVLINK_STANDARD_XML_HASH -4471114175204776091
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
|
||||
+1
-1
@@ -7,7 +7,7 @@
|
||||
#ifndef MAVLINK_VERSION_H
|
||||
#define MAVLINK_VERSION_H
|
||||
|
||||
#define MAVLINK_BUILD_DATE "Thu Dec 15 2022"
|
||||
#define MAVLINK_BUILD_DATE "Thu Dec 29 2022"
|
||||
#define MAVLINK_WIRE_PROTOCOL_VERSION "2.0"
|
||||
#define MAVLINK_MAX_DIALECT_PAYLOAD_SIZE 22
|
||||
|
||||
|
||||
+1
-1
@@ -6,7 +6,7 @@
|
||||
#ifndef MAVLINK_H
|
||||
#define MAVLINK_H
|
||||
|
||||
#define MAVLINK_PRIMARY_XML_HASH -1511622691306201780
|
||||
#define MAVLINK_PRIMARY_XML_HASH -4247398117010206127
|
||||
|
||||
#ifndef MAVLINK_STX
|
||||
#define MAVLINK_STX 253
|
||||
|
||||
+1
-1
@@ -10,7 +10,7 @@
|
||||
#error Wrong include order: MAVLINK_TEST.H MUST NOT BE DIRECTLY USED. Include mavlink.h from the same directory instead or set ALL AND EVERY defines from MAVLINK.H manually accordingly, including the #define MAVLINK_H call.
|
||||
#endif
|
||||
|
||||
#define MAVLINK_TEST_XML_HASH -1511622691306201780
|
||||
#define MAVLINK_TEST_XML_HASH -4247398117010206127
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
|
||||
+1
-1
@@ -7,7 +7,7 @@
|
||||
#ifndef MAVLINK_VERSION_H
|
||||
#define MAVLINK_VERSION_H
|
||||
|
||||
#define MAVLINK_BUILD_DATE "Thu Dec 15 2022"
|
||||
#define MAVLINK_BUILD_DATE "Thu Dec 29 2022"
|
||||
#define MAVLINK_WIRE_PROTOCOL_VERSION "2.0"
|
||||
#define MAVLINK_MAX_DIALECT_PAYLOAD_SIZE 179
|
||||
|
||||
|
||||
+1
-1
@@ -6,7 +6,7 @@
|
||||
#ifndef MAVLINK_H
|
||||
#define MAVLINK_H
|
||||
|
||||
#define MAVLINK_PRIMARY_XML_HASH -2239982505136153010
|
||||
#define MAVLINK_PRIMARY_XML_HASH 5522738110606691493
|
||||
|
||||
#ifndef MAVLINK_STX
|
||||
#define MAVLINK_STX 253
|
||||
|
||||
+1
-1
@@ -10,7 +10,7 @@
|
||||
#error Wrong include order: MAVLINK_UAVIONIX.H MUST NOT BE DIRECTLY USED. Include mavlink.h from the same directory instead or set ALL AND EVERY defines from MAVLINK.H manually accordingly, including the #define MAVLINK_H call.
|
||||
#endif
|
||||
|
||||
#define MAVLINK_UAVIONIX_XML_HASH -2239982505136153010
|
||||
#define MAVLINK_UAVIONIX_XML_HASH 5522738110606691493
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
|
||||
+1
-1
@@ -7,7 +7,7 @@
|
||||
#ifndef MAVLINK_VERSION_H
|
||||
#define MAVLINK_VERSION_H
|
||||
|
||||
#define MAVLINK_BUILD_DATE "Thu Dec 15 2022"
|
||||
#define MAVLINK_BUILD_DATE "Thu Dec 29 2022"
|
||||
#define MAVLINK_WIRE_PROTOCOL_VERSION "2.0"
|
||||
#define MAVLINK_MAX_DIALECT_PAYLOAD_SIZE 255
|
||||
|
||||
|
||||
Reference in New Issue
Block a user