Skip to content

Commit

Permalink
autogenerated headers for rev https://github.com/mavlink/mavlink/tree…
Browse files Browse the repository at this point in the history
  • Loading branch information
PX4BuildBot committed Apr 25, 2024
1 parent 230d47d commit d9a68c5
Show file tree
Hide file tree
Showing 56 changed files with 62 additions and 62 deletions.
2 changes: 1 addition & 1 deletion ASLUAV/ASLUAV.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 -3081035230318259511
#define MAVLINK_ASLUAV_XML_HASH 1925738752227927751

#ifdef __cplusplus
extern "C" {
Expand Down
2 changes: 1 addition & 1 deletion ASLUAV/mavlink.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
#ifndef MAVLINK_H
#define MAVLINK_H

#define MAVLINK_PRIMARY_XML_HASH -3081035230318259511
#define MAVLINK_PRIMARY_XML_HASH 1925738752227927751

#ifndef MAVLINK_STX
#define MAVLINK_STX 253
Expand Down
2 changes: 1 addition & 1 deletion ASLUAV/version.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
#ifndef MAVLINK_VERSION_H
#define MAVLINK_VERSION_H

#define MAVLINK_BUILD_DATE "Wed Apr 24 2024"
#define MAVLINK_BUILD_DATE "Thu Apr 25 2024"
#define MAVLINK_WIRE_PROTOCOL_VERSION "2.0"
#define MAVLINK_MAX_DIALECT_PAYLOAD_SIZE 255

Expand Down
2 changes: 1 addition & 1 deletion AVSSUAS/AVSSUAS.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
#error Wrong include order: MAVLINK_AVSSUAS.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_AVSSUAS_XML_HASH 8219442979580150767
#define MAVLINK_AVSSUAS_XML_HASH 7534515139141050612

#ifdef __cplusplus
extern "C" {
Expand Down
2 changes: 1 addition & 1 deletion AVSSUAS/mavlink.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
#ifndef MAVLINK_H
#define MAVLINK_H

#define MAVLINK_PRIMARY_XML_HASH 8219442979580150767
#define MAVLINK_PRIMARY_XML_HASH 7534515139141050612

#ifndef MAVLINK_STX
#define MAVLINK_STX 253
Expand Down
2 changes: 1 addition & 1 deletion AVSSUAS/version.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
#ifndef MAVLINK_VERSION_H
#define MAVLINK_VERSION_H

#define MAVLINK_BUILD_DATE "Wed Apr 24 2024"
#define MAVLINK_BUILD_DATE "Thu Apr 25 2024"
#define MAVLINK_WIRE_PROTOCOL_VERSION "2.0"
#define MAVLINK_MAX_DIALECT_PAYLOAD_SIZE 255

Expand Down
2 changes: 1 addition & 1 deletion all/all.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
#error Wrong include order: MAVLINK_ALL.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_ALL_XML_HASH 7641859435117728735
#define MAVLINK_ALL_XML_HASH -3087946661773155940

#ifdef __cplusplus
extern "C" {
Expand Down
2 changes: 1 addition & 1 deletion all/mavlink.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
#ifndef MAVLINK_H
#define MAVLINK_H

#define MAVLINK_PRIMARY_XML_HASH 7641859435117728735
#define MAVLINK_PRIMARY_XML_HASH -3087946661773155940

#ifndef MAVLINK_STX
#define MAVLINK_STX 253
Expand Down
2 changes: 1 addition & 1 deletion all/version.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
#ifndef MAVLINK_VERSION_H
#define MAVLINK_VERSION_H

#define MAVLINK_BUILD_DATE "Wed Apr 24 2024"
#define MAVLINK_BUILD_DATE "Thu Apr 25 2024"
#define MAVLINK_WIRE_PROTOCOL_VERSION "2.0"
#define MAVLINK_MAX_DIALECT_PAYLOAD_SIZE 255

Expand Down
2 changes: 1 addition & 1 deletion ardupilotmega/ardupilotmega.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 1558267561822801750
#define MAVLINK_ARDUPILOTMEGA_XML_HASH 5700099770571698789

#ifdef __cplusplus
extern "C" {
Expand Down
2 changes: 1 addition & 1 deletion ardupilotmega/mavlink.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
#ifndef MAVLINK_H
#define MAVLINK_H

#define MAVLINK_PRIMARY_XML_HASH 1558267561822801750
#define MAVLINK_PRIMARY_XML_HASH 5700099770571698789

#ifndef MAVLINK_STX
#define MAVLINK_STX 253
Expand Down
2 changes: 1 addition & 1 deletion ardupilotmega/version.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
#ifndef MAVLINK_VERSION_H
#define MAVLINK_VERSION_H

#define MAVLINK_BUILD_DATE "Wed Apr 24 2024"
#define MAVLINK_BUILD_DATE "Thu Apr 25 2024"
#define MAVLINK_WIRE_PROTOCOL_VERSION "2.0"
#define MAVLINK_MAX_DIALECT_PAYLOAD_SIZE 255

Expand Down
2 changes: 1 addition & 1 deletion common/common.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 -9012871700331509764
#define MAVLINK_COMMON_XML_HASH 7113827026574931535

#ifdef __cplusplus
extern "C" {
Expand Down
2 changes: 1 addition & 1 deletion common/mavlink.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
#ifndef MAVLINK_H
#define MAVLINK_H

#define MAVLINK_PRIMARY_XML_HASH -9012871700331509764
#define MAVLINK_PRIMARY_XML_HASH 7113827026574931535

#ifndef MAVLINK_STX
#define MAVLINK_STX 253
Expand Down
2 changes: 1 addition & 1 deletion common/version.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
#ifndef MAVLINK_VERSION_H
#define MAVLINK_VERSION_H

#define MAVLINK_BUILD_DATE "Wed Apr 24 2024"
#define MAVLINK_BUILD_DATE "Thu Apr 25 2024"
#define MAVLINK_WIRE_PROTOCOL_VERSION "2.0"
#define MAVLINK_MAX_DIALECT_PAYLOAD_SIZE 255

Expand Down
2 changes: 1 addition & 1 deletion csAirLink/csAirLink.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
#error Wrong include order: MAVLINK_CSAIRLINK.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_CSAIRLINK_XML_HASH -7236076425449526366
#define MAVLINK_CSAIRLINK_XML_HASH -3149013211139068554

#ifdef __cplusplus
extern "C" {
Expand Down
2 changes: 1 addition & 1 deletion csAirLink/mavlink.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
#ifndef MAVLINK_H
#define MAVLINK_H

#define MAVLINK_PRIMARY_XML_HASH -7236076425449526366
#define MAVLINK_PRIMARY_XML_HASH -3149013211139068554

#ifndef MAVLINK_STX
#define MAVLINK_STX 253
Expand Down
2 changes: 1 addition & 1 deletion csAirLink/version.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
#ifndef MAVLINK_VERSION_H
#define MAVLINK_VERSION_H

#define MAVLINK_BUILD_DATE "Wed Apr 24 2024"
#define MAVLINK_BUILD_DATE "Thu Apr 25 2024"
#define MAVLINK_WIRE_PROTOCOL_VERSION "2.0"
#define MAVLINK_MAX_DIALECT_PAYLOAD_SIZE 100

Expand Down
2 changes: 1 addition & 1 deletion cubepilot/cubepilot.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 598637412712713850
#define MAVLINK_CUBEPILOT_XML_HASH 7564466998357411457

#ifdef __cplusplus
extern "C" {
Expand Down
2 changes: 1 addition & 1 deletion cubepilot/mavlink.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
#ifndef MAVLINK_H
#define MAVLINK_H

#define MAVLINK_PRIMARY_XML_HASH 598637412712713850
#define MAVLINK_PRIMARY_XML_HASH 7564466998357411457

#ifndef MAVLINK_STX
#define MAVLINK_STX 253
Expand Down
2 changes: 1 addition & 1 deletion cubepilot/version.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
#ifndef MAVLINK_VERSION_H
#define MAVLINK_VERSION_H

#define MAVLINK_BUILD_DATE "Wed Apr 24 2024"
#define MAVLINK_BUILD_DATE "Thu Apr 25 2024"
#define MAVLINK_WIRE_PROTOCOL_VERSION "2.0"
#define MAVLINK_MAX_DIALECT_PAYLOAD_SIZE 255

Expand Down
2 changes: 1 addition & 1 deletion development/development.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
#error Wrong include order: MAVLINK_DEVELOPMENT.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_DEVELOPMENT_XML_HASH -3870896773513154394
#define MAVLINK_DEVELOPMENT_XML_HASH -3544929667888305009

#ifdef __cplusplus
extern "C" {
Expand Down
2 changes: 1 addition & 1 deletion development/mavlink.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
#ifndef MAVLINK_H
#define MAVLINK_H

#define MAVLINK_PRIMARY_XML_HASH -3870896773513154394
#define MAVLINK_PRIMARY_XML_HASH -3544929667888305009

#ifndef MAVLINK_STX
#define MAVLINK_STX 253
Expand Down
12 changes: 6 additions & 6 deletions development/mavlink_msg_battery_status_v2.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ typedef struct __mavlink_battery_status_v2_t {
float voltage; /*< [V] Battery voltage (total). NaN: field not provided.*/
float current; /*< [A] Battery current (through all cells/loads). Positive value when discharging and negative if charging. NaN: field not provided.*/
float capacity_consumed; /*< [Ah] Consumed charge. NaN: field not provided. This is either the consumption since power-on or since the battery was full, depending on the value of MAV_BATTERY_STATUS_FLAGS_CAPACITY_RELATIVE_TO_FULL.*/
float capacity_remaining; /*< [Ah] Remaining charge (until empty). UINT32_MAX: field not provided. Note: If MAV_BATTERY_STATUS_FLAGS_CAPACITY_RELATIVE_TO_FULL is unset, this value is based on the assumption the battery was full when the system was powered.*/
float capacity_remaining; /*< [Ah] Remaining charge (until empty). NaN: field not provided. Note: If MAV_BATTERY_STATUS_FLAGS_CAPACITY_RELATIVE_TO_FULL is unset, this value is based on the assumption the battery was full when the system was powered.*/
uint32_t status_flags; /*< Fault, health, readiness, and other status indications.*/
int16_t temperature; /*< [cdegC] Temperature of the whole battery pack (not internal electronics). INT16_MAX field not provided.*/
uint8_t id; /*< Battery ID*/
Expand Down Expand Up @@ -67,7 +67,7 @@ typedef struct __mavlink_battery_status_v2_t {
* @param voltage [V] Battery voltage (total). NaN: field not provided.
* @param current [A] Battery current (through all cells/loads). Positive value when discharging and negative if charging. NaN: field not provided.
* @param capacity_consumed [Ah] Consumed charge. NaN: field not provided. This is either the consumption since power-on or since the battery was full, depending on the value of MAV_BATTERY_STATUS_FLAGS_CAPACITY_RELATIVE_TO_FULL.
* @param capacity_remaining [Ah] Remaining charge (until empty). UINT32_MAX: field not provided. Note: If MAV_BATTERY_STATUS_FLAGS_CAPACITY_RELATIVE_TO_FULL is unset, this value is based on the assumption the battery was full when the system was powered.
* @param capacity_remaining [Ah] Remaining charge (until empty). NaN: field not provided. Note: If MAV_BATTERY_STATUS_FLAGS_CAPACITY_RELATIVE_TO_FULL is unset, this value is based on the assumption the battery was full when the system was powered.
* @param percent_remaining [%] Remaining battery energy. Values: [0-100], UINT8_MAX: field not provided.
* @param status_flags Fault, health, readiness, and other status indications.
* @return length of the message in bytes (excluding serial stream start sign)
Expand Down Expand Up @@ -117,7 +117,7 @@ static inline uint16_t mavlink_msg_battery_status_v2_pack(uint8_t system_id, uin
* @param voltage [V] Battery voltage (total). NaN: field not provided.
* @param current [A] Battery current (through all cells/loads). Positive value when discharging and negative if charging. NaN: field not provided.
* @param capacity_consumed [Ah] Consumed charge. NaN: field not provided. This is either the consumption since power-on or since the battery was full, depending on the value of MAV_BATTERY_STATUS_FLAGS_CAPACITY_RELATIVE_TO_FULL.
* @param capacity_remaining [Ah] Remaining charge (until empty). UINT32_MAX: field not provided. Note: If MAV_BATTERY_STATUS_FLAGS_CAPACITY_RELATIVE_TO_FULL is unset, this value is based on the assumption the battery was full when the system was powered.
* @param capacity_remaining [Ah] Remaining charge (until empty). NaN: field not provided. Note: If MAV_BATTERY_STATUS_FLAGS_CAPACITY_RELATIVE_TO_FULL is unset, this value is based on the assumption the battery was full when the system was powered.
* @param percent_remaining [%] Remaining battery energy. Values: [0-100], UINT8_MAX: field not provided.
* @param status_flags Fault, health, readiness, and other status indications.
* @return length of the message in bytes (excluding serial stream start sign)
Expand Down Expand Up @@ -170,7 +170,7 @@ static inline uint16_t mavlink_msg_battery_status_v2_pack_status(uint8_t system_
* @param voltage [V] Battery voltage (total). NaN: field not provided.
* @param current [A] Battery current (through all cells/loads). Positive value when discharging and negative if charging. NaN: field not provided.
* @param capacity_consumed [Ah] Consumed charge. NaN: field not provided. This is either the consumption since power-on or since the battery was full, depending on the value of MAV_BATTERY_STATUS_FLAGS_CAPACITY_RELATIVE_TO_FULL.
* @param capacity_remaining [Ah] Remaining charge (until empty). UINT32_MAX: field not provided. Note: If MAV_BATTERY_STATUS_FLAGS_CAPACITY_RELATIVE_TO_FULL is unset, this value is based on the assumption the battery was full when the system was powered.
* @param capacity_remaining [Ah] Remaining charge (until empty). NaN: field not provided. Note: If MAV_BATTERY_STATUS_FLAGS_CAPACITY_RELATIVE_TO_FULL is unset, this value is based on the assumption the battery was full when the system was powered.
* @param percent_remaining [%] Remaining battery energy. Values: [0-100], UINT8_MAX: field not provided.
* @param status_flags Fault, health, readiness, and other status indications.
* @return length of the message in bytes (excluding serial stream start sign)
Expand Down Expand Up @@ -259,7 +259,7 @@ static inline uint16_t mavlink_msg_battery_status_v2_encode_status(uint8_t syste
* @param voltage [V] Battery voltage (total). NaN: field not provided.
* @param current [A] Battery current (through all cells/loads). Positive value when discharging and negative if charging. NaN: field not provided.
* @param capacity_consumed [Ah] Consumed charge. NaN: field not provided. This is either the consumption since power-on or since the battery was full, depending on the value of MAV_BATTERY_STATUS_FLAGS_CAPACITY_RELATIVE_TO_FULL.
* @param capacity_remaining [Ah] Remaining charge (until empty). UINT32_MAX: field not provided. Note: If MAV_BATTERY_STATUS_FLAGS_CAPACITY_RELATIVE_TO_FULL is unset, this value is based on the assumption the battery was full when the system was powered.
* @param capacity_remaining [Ah] Remaining charge (until empty). NaN: field not provided. Note: If MAV_BATTERY_STATUS_FLAGS_CAPACITY_RELATIVE_TO_FULL is unset, this value is based on the assumption the battery was full when the system was powered.
* @param percent_remaining [%] Remaining battery energy. Values: [0-100], UINT8_MAX: field not provided.
* @param status_flags Fault, health, readiness, and other status indications.
*/
Expand Down Expand Up @@ -404,7 +404,7 @@ static inline float mavlink_msg_battery_status_v2_get_capacity_consumed(const ma
/**
* @brief Get field capacity_remaining from battery_status_v2 message
*
* @return [Ah] Remaining charge (until empty). UINT32_MAX: field not provided. Note: If MAV_BATTERY_STATUS_FLAGS_CAPACITY_RELATIVE_TO_FULL is unset, this value is based on the assumption the battery was full when the system was powered.
* @return [Ah] Remaining charge (until empty). NaN: field not provided. Note: If MAV_BATTERY_STATUS_FLAGS_CAPACITY_RELATIVE_TO_FULL is unset, this value is based on the assumption the battery was full when the system was powered.
*/
static inline float mavlink_msg_battery_status_v2_get_capacity_remaining(const mavlink_message_t* msg)
{
Expand Down
2 changes: 1 addition & 1 deletion development/version.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
#ifndef MAVLINK_VERSION_H
#define MAVLINK_VERSION_H

#define MAVLINK_BUILD_DATE "Wed Apr 24 2024"
#define MAVLINK_BUILD_DATE "Thu Apr 25 2024"
#define MAVLINK_WIRE_PROTOCOL_VERSION "2.0"
#define MAVLINK_MAX_DIALECT_PAYLOAD_SIZE 255

Expand Down
2 changes: 1 addition & 1 deletion icarous/icarous.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 129991321363823293
#define MAVLINK_ICAROUS_XML_HASH -4604510939455702337

#ifdef __cplusplus
extern "C" {
Expand Down
2 changes: 1 addition & 1 deletion icarous/mavlink.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
#ifndef MAVLINK_H
#define MAVLINK_H

#define MAVLINK_PRIMARY_XML_HASH 129991321363823293
#define MAVLINK_PRIMARY_XML_HASH -4604510939455702337

#ifndef MAVLINK_STX
#define MAVLINK_STX 253
Expand Down
2 changes: 1 addition & 1 deletion icarous/version.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
#ifndef MAVLINK_VERSION_H
#define MAVLINK_VERSION_H

#define MAVLINK_BUILD_DATE "Wed Apr 24 2024"
#define MAVLINK_BUILD_DATE "Thu Apr 25 2024"
#define MAVLINK_WIRE_PROTOCOL_VERSION "2.0"
#define MAVLINK_MAX_DIALECT_PAYLOAD_SIZE 46

Expand Down
2 changes: 1 addition & 1 deletion matrixpilot/matrixpilot.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 5125019921798302367
#define MAVLINK_MATRIXPILOT_XML_HASH 3983019122121566016

#ifdef __cplusplus
extern "C" {
Expand Down
2 changes: 1 addition & 1 deletion matrixpilot/mavlink.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
#ifndef MAVLINK_H
#define MAVLINK_H

#define MAVLINK_PRIMARY_XML_HASH 5125019921798302367
#define MAVLINK_PRIMARY_XML_HASH 3983019122121566016

#ifndef MAVLINK_STX
#define MAVLINK_STX 253
Expand Down
2 changes: 1 addition & 1 deletion matrixpilot/version.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
#ifndef MAVLINK_VERSION_H
#define MAVLINK_VERSION_H

#define MAVLINK_BUILD_DATE "Wed Apr 24 2024"
#define MAVLINK_BUILD_DATE "Thu Apr 25 2024"
#define MAVLINK_WIRE_PROTOCOL_VERSION "2.0"
#define MAVLINK_MAX_DIALECT_PAYLOAD_SIZE 255

Expand Down
4 changes: 2 additions & 2 deletions message_definitions/development.xml
Original file line number Diff line number Diff line change
Expand Up @@ -477,7 +477,7 @@
<message id="369" name="BATTERY_STATUS_V2">
<description>Battery dynamic information.
This should be streamed (nominally at 1Hz).
Static/invariant battery information is sent in SMART_BATTERY_INFO.
Static/invariant battery information is sent in BATTERY_INFO.
Note that smart batteries should set the MAV_BATTERY_STATUS_FLAGS_CAPACITY_RELATIVE_TO_FULL bit to indicate that supplied capacity values are relative to a battery that is known to be full.
Power monitors would not set this bit, indicating that capacity_consumed is relative to drone power-on, and that other values are estimated based on the assumption that the battery was full on power-on.
</description>
Expand All @@ -486,7 +486,7 @@
<field type="float" name="voltage" units="V" invalid="NaN">Battery voltage (total). NaN: field not provided.</field>
<field type="float" name="current" units="A" invalid="NaN">Battery current (through all cells/loads). Positive value when discharging and negative if charging. NaN: field not provided.</field>
<field type="float" name="capacity_consumed" units="Ah" invalid="NaN">Consumed charge. NaN: field not provided. This is either the consumption since power-on or since the battery was full, depending on the value of MAV_BATTERY_STATUS_FLAGS_CAPACITY_RELATIVE_TO_FULL.</field>
<field type="float" name="capacity_remaining" units="Ah" invalid="NaN">Remaining charge (until empty). UINT32_MAX: field not provided. Note: If MAV_BATTERY_STATUS_FLAGS_CAPACITY_RELATIVE_TO_FULL is unset, this value is based on the assumption the battery was full when the system was powered.</field>
<field type="float" name="capacity_remaining" units="Ah" invalid="NaN">Remaining charge (until empty). NaN: field not provided. Note: If MAV_BATTERY_STATUS_FLAGS_CAPACITY_RELATIVE_TO_FULL is unset, this value is based on the assumption the battery was full when the system was powered.</field>
<field type="uint8_t" name="percent_remaining" units="%" invalid="UINT8_MAX">Remaining battery energy. Values: [0-100], UINT8_MAX: field not provided.</field>
<field type="uint32_t" name="status_flags" display="bitmask" enum="MAV_BATTERY_STATUS_FLAGS">Fault, health, readiness, and other status indications.</field>
</message>
Expand Down
2 changes: 1 addition & 1 deletion minimal/mavlink.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
#ifndef MAVLINK_H
#define MAVLINK_H

#define MAVLINK_PRIMARY_XML_HASH 3182733693063575231
#define MAVLINK_PRIMARY_XML_HASH 8499658397882623856

#ifndef MAVLINK_STX
#define MAVLINK_STX 253
Expand Down
2 changes: 1 addition & 1 deletion minimal/minimal.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 3182733693063575231
#define MAVLINK_MINIMAL_XML_HASH 8499658397882623856

#ifdef __cplusplus
extern "C" {
Expand Down
2 changes: 1 addition & 1 deletion minimal/version.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
#ifndef MAVLINK_VERSION_H
#define MAVLINK_VERSION_H

#define MAVLINK_BUILD_DATE "Wed Apr 24 2024"
#define MAVLINK_BUILD_DATE "Thu Apr 25 2024"
#define MAVLINK_WIRE_PROTOCOL_VERSION "2.0"
#define MAVLINK_MAX_DIALECT_PAYLOAD_SIZE 22

Expand Down
2 changes: 1 addition & 1 deletion paparazzi/mavlink.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
#ifndef MAVLINK_H
#define MAVLINK_H

#define MAVLINK_PRIMARY_XML_HASH -1997509605347343365
#define MAVLINK_PRIMARY_XML_HASH 2444734138017956203

#ifndef MAVLINK_STX
#define MAVLINK_STX 253
Expand Down
2 changes: 1 addition & 1 deletion paparazzi/paparazzi.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
#error Wrong include order: MAVLINK_PAPARAZZI.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_PAPARAZZI_XML_HASH -1997509605347343365
#define MAVLINK_PAPARAZZI_XML_HASH 2444734138017956203

#ifdef __cplusplus
extern "C" {
Expand Down
2 changes: 1 addition & 1 deletion paparazzi/version.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
#ifndef MAVLINK_VERSION_H
#define MAVLINK_VERSION_H

#define MAVLINK_BUILD_DATE "Wed Apr 24 2024"
#define MAVLINK_BUILD_DATE "Thu Apr 25 2024"
#define MAVLINK_WIRE_PROTOCOL_VERSION "2.0"
#define MAVLINK_MAX_DIALECT_PAYLOAD_SIZE 255

Expand Down
Loading

0 comments on commit d9a68c5

Please sign in to comment.