✨feat: update definitions
This commit is contained in:
@@ -15,7 +15,7 @@ typedef struct __mavlink_high_latency2_t {
|
||||
uint16_t wp_num; /*< Current waypoint number*/
|
||||
uint16_t failure_flags; /*< Bitmap of failure flags.*/
|
||||
uint8_t type; /*< Type of the MAV (quadrotor, helicopter, etc.)*/
|
||||
uint8_t autopilot; /*< Autopilot type / class.*/
|
||||
uint8_t autopilot; /*< Autopilot type / class. Use MAV_AUTOPILOT_INVALID for components that are not flight controllers.*/
|
||||
uint8_t heading; /*< [deg/2] Heading*/
|
||||
uint8_t target_heading; /*< [deg/2] Heading setpoint*/
|
||||
uint8_t throttle; /*< [%] Throttle*/
|
||||
@@ -28,7 +28,7 @@ typedef struct __mavlink_high_latency2_t {
|
||||
uint8_t epv; /*< [dm] Maximum error vertical position since last message*/
|
||||
int8_t temperature_air; /*< [degC] Air temperature from airspeed sensor*/
|
||||
int8_t climb_rate; /*< [dm/s] Maximum climb rate magnitude since last message*/
|
||||
int8_t battery; /*< [%] Battery (percentage, -1 for DNU)*/
|
||||
int8_t battery; /*< [%] Battery level (-1 if field not provided).*/
|
||||
int8_t custom0; /*< Field for custom payload.*/
|
||||
int8_t custom1; /*< Field for custom payload.*/
|
||||
int8_t custom2; /*< Field for custom payload.*/
|
||||
@@ -121,7 +121,7 @@ typedef struct __mavlink_high_latency2_t {
|
||||
*
|
||||
* @param timestamp [ms] Timestamp (milliseconds since boot or Unix epoch)
|
||||
* @param type Type of the MAV (quadrotor, helicopter, etc.)
|
||||
* @param autopilot Autopilot type / class.
|
||||
* @param autopilot Autopilot type / class. Use MAV_AUTOPILOT_INVALID for components that are not flight controllers.
|
||||
* @param custom_mode A bitfield for use for autopilot-specific flags (2 byte version).
|
||||
* @param latitude [degE7] Latitude
|
||||
* @param longitude [degE7] Longitude
|
||||
@@ -140,7 +140,7 @@ typedef struct __mavlink_high_latency2_t {
|
||||
* @param epv [dm] Maximum error vertical position since last message
|
||||
* @param temperature_air [degC] Air temperature from airspeed sensor
|
||||
* @param climb_rate [dm/s] Maximum climb rate magnitude since last message
|
||||
* @param battery [%] Battery (percentage, -1 for DNU)
|
||||
* @param battery [%] Battery level (-1 if field not provided).
|
||||
* @param wp_num Current waypoint number
|
||||
* @param failure_flags Bitmap of failure flags.
|
||||
* @param custom0 Field for custom payload.
|
||||
@@ -227,7 +227,7 @@ static inline uint16_t mavlink_msg_high_latency2_pack(uint16_t system_id, uint8_
|
||||
* @param msg The MAVLink message to compress the data into
|
||||
* @param timestamp [ms] Timestamp (milliseconds since boot or Unix epoch)
|
||||
* @param type Type of the MAV (quadrotor, helicopter, etc.)
|
||||
* @param autopilot Autopilot type / class.
|
||||
* @param autopilot Autopilot type / class. Use MAV_AUTOPILOT_INVALID for components that are not flight controllers.
|
||||
* @param custom_mode A bitfield for use for autopilot-specific flags (2 byte version).
|
||||
* @param latitude [degE7] Latitude
|
||||
* @param longitude [degE7] Longitude
|
||||
@@ -246,7 +246,7 @@ static inline uint16_t mavlink_msg_high_latency2_pack(uint16_t system_id, uint8_
|
||||
* @param epv [dm] Maximum error vertical position since last message
|
||||
* @param temperature_air [degC] Air temperature from airspeed sensor
|
||||
* @param climb_rate [dm/s] Maximum climb rate magnitude since last message
|
||||
* @param battery [%] Battery (percentage, -1 for DNU)
|
||||
* @param battery [%] Battery level (-1 if field not provided).
|
||||
* @param wp_num Current waypoint number
|
||||
* @param failure_flags Bitmap of failure flags.
|
||||
* @param custom0 Field for custom payload.
|
||||
@@ -359,7 +359,7 @@ static inline uint16_t mavlink_msg_high_latency2_encode_chan(uint16_t system_id,
|
||||
*
|
||||
* @param timestamp [ms] Timestamp (milliseconds since boot or Unix epoch)
|
||||
* @param type Type of the MAV (quadrotor, helicopter, etc.)
|
||||
* @param autopilot Autopilot type / class.
|
||||
* @param autopilot Autopilot type / class. Use MAV_AUTOPILOT_INVALID for components that are not flight controllers.
|
||||
* @param custom_mode A bitfield for use for autopilot-specific flags (2 byte version).
|
||||
* @param latitude [degE7] Latitude
|
||||
* @param longitude [degE7] Longitude
|
||||
@@ -378,7 +378,7 @@ static inline uint16_t mavlink_msg_high_latency2_encode_chan(uint16_t system_id,
|
||||
* @param epv [dm] Maximum error vertical position since last message
|
||||
* @param temperature_air [degC] Air temperature from airspeed sensor
|
||||
* @param climb_rate [dm/s] Maximum climb rate magnitude since last message
|
||||
* @param battery [%] Battery (percentage, -1 for DNU)
|
||||
* @param battery [%] Battery level (-1 if field not provided).
|
||||
* @param wp_num Current waypoint number
|
||||
* @param failure_flags Bitmap of failure flags.
|
||||
* @param custom0 Field for custom payload.
|
||||
@@ -572,7 +572,7 @@ static inline uint8_t mavlink_msg_high_latency2_get_type(const mavlink_message_t
|
||||
/**
|
||||
* @brief Get field autopilot from high_latency2 message
|
||||
*
|
||||
* @return Autopilot type / class.
|
||||
* @return Autopilot type / class. Use MAV_AUTOPILOT_INVALID for components that are not flight controllers.
|
||||
*/
|
||||
static inline uint8_t mavlink_msg_high_latency2_get_autopilot(const mavlink_message_t* msg)
|
||||
{
|
||||
@@ -762,7 +762,7 @@ static inline int8_t mavlink_msg_high_latency2_get_climb_rate(const mavlink_mess
|
||||
/**
|
||||
* @brief Get field battery from high_latency2 message
|
||||
*
|
||||
* @return [%] Battery (percentage, -1 for DNU)
|
||||
* @return [%] Battery level (-1 if field not provided).
|
||||
*/
|
||||
static inline int8_t mavlink_msg_high_latency2_get_battery(const mavlink_message_t* msg)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user