Commit a91f8b47 authored by PX4BuildBot's avatar PX4BuildBot

autogenerated headers for rev...

autogenerated headers for rev https://github.com/mavlink/mavlink/tree/378ac9bbf96eba3d1edddf89249f18b80539c8aa
parent f4d7198d
This diff is collapsed.
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
#ifndef MAVLINK_VERSION_H #ifndef MAVLINK_VERSION_H
#define MAVLINK_VERSION_H #define MAVLINK_VERSION_H
#define MAVLINK_BUILD_DATE "Wed May 15 2019" #define MAVLINK_BUILD_DATE "Thu May 16 2019"
#define MAVLINK_WIRE_PROTOCOL_VERSION "2.0" #define MAVLINK_WIRE_PROTOCOL_VERSION "2.0"
#define MAVLINK_MAX_DIALECT_PAYLOAD_SIZE 255 #define MAVLINK_MAX_DIALECT_PAYLOAD_SIZE 255
......
This diff is collapsed.
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
#ifndef MAVLINK_VERSION_H #ifndef MAVLINK_VERSION_H
#define MAVLINK_VERSION_H #define MAVLINK_VERSION_H
#define MAVLINK_BUILD_DATE "Wed May 15 2019" #define MAVLINK_BUILD_DATE "Thu May 16 2019"
#define MAVLINK_WIRE_PROTOCOL_VERSION "2.0" #define MAVLINK_WIRE_PROTOCOL_VERSION "2.0"
#define MAVLINK_MAX_DIALECT_PAYLOAD_SIZE 255 #define MAVLINK_MAX_DIALECT_PAYLOAD_SIZE 255
......
This diff is collapsed.
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
#ifndef MAVLINK_VERSION_H #ifndef MAVLINK_VERSION_H
#define MAVLINK_VERSION_H #define MAVLINK_VERSION_H
#define MAVLINK_BUILD_DATE "Wed May 15 2019" #define MAVLINK_BUILD_DATE "Thu May 16 2019"
#define MAVLINK_WIRE_PROTOCOL_VERSION "2.0" #define MAVLINK_WIRE_PROTOCOL_VERSION "2.0"
#define MAVLINK_MAX_DIALECT_PAYLOAD_SIZE 255 #define MAVLINK_MAX_DIALECT_PAYLOAD_SIZE 255
......
This diff is collapsed.
...@@ -6,14 +6,14 @@ ...@@ -6,14 +6,14 @@
MAVPACKED( MAVPACKED(
typedef struct __mavlink_storage_information_t { typedef struct __mavlink_storage_information_t {
uint32_t time_boot_ms; /*< [ms] Timestamp (time since system boot).*/ uint32_t time_boot_ms; /*< [ms] Timestamp (time since system boot).*/
float total_capacity; /*< [MiB] Total capacity.*/ float total_capacity; /*< [MiB] Total capacity. If storage is not ready (STORAGE_STATUS_READY) value will be ignored.*/
float used_capacity; /*< [MiB] Used capacity.*/ float used_capacity; /*< [MiB] Used capacity. If storage is not ready (STORAGE_STATUS_READY) value will be ignored.*/
float available_capacity; /*< [MiB] Available storage capacity.*/ float available_capacity; /*< [MiB] Available storage capacity. If storage is not ready (STORAGE_STATUS_READY) value will be ignored.*/
float read_speed; /*< [MiB/s] Read speed.*/ float read_speed; /*< [MiB/s] Read speed.*/
float write_speed; /*< [MiB/s] Write speed.*/ float write_speed; /*< [MiB/s] Write speed.*/
uint8_t storage_id; /*< Storage ID (1 for first, 2 for second, etc.)*/ uint8_t storage_id; /*< Storage ID (1 for first, 2 for second, etc.)*/
uint8_t storage_count; /*< Number of storage devices*/ uint8_t storage_count; /*< Number of storage devices*/
uint8_t status; /*< Status of storage (0 not available, 1 unformatted, 2 formatted)*/ uint8_t status; /*< Status of storage*/
}) mavlink_storage_information_t; }) mavlink_storage_information_t;
#define MAVLINK_MSG_ID_STORAGE_INFORMATION_LEN 27 #define MAVLINK_MSG_ID_STORAGE_INFORMATION_LEN 27
...@@ -68,10 +68,10 @@ typedef struct __mavlink_storage_information_t { ...@@ -68,10 +68,10 @@ typedef struct __mavlink_storage_information_t {
* @param time_boot_ms [ms] Timestamp (time since system boot). * @param time_boot_ms [ms] Timestamp (time since system boot).
* @param storage_id Storage ID (1 for first, 2 for second, etc.) * @param storage_id Storage ID (1 for first, 2 for second, etc.)
* @param storage_count Number of storage devices * @param storage_count Number of storage devices
* @param status Status of storage (0 not available, 1 unformatted, 2 formatted) * @param status Status of storage
* @param total_capacity [MiB] Total capacity. * @param total_capacity [MiB] Total capacity. If storage is not ready (STORAGE_STATUS_READY) value will be ignored.
* @param used_capacity [MiB] Used capacity. * @param used_capacity [MiB] Used capacity. If storage is not ready (STORAGE_STATUS_READY) value will be ignored.
* @param available_capacity [MiB] Available storage capacity. * @param available_capacity [MiB] Available storage capacity. If storage is not ready (STORAGE_STATUS_READY) value will be ignored.
* @param read_speed [MiB/s] Read speed. * @param read_speed [MiB/s] Read speed.
* @param write_speed [MiB/s] Write speed. * @param write_speed [MiB/s] Write speed.
* @return length of the message in bytes (excluding serial stream start sign) * @return length of the message in bytes (excluding serial stream start sign)
...@@ -120,10 +120,10 @@ static inline uint16_t mavlink_msg_storage_information_pack(uint8_t system_id, u ...@@ -120,10 +120,10 @@ static inline uint16_t mavlink_msg_storage_information_pack(uint8_t system_id, u
* @param time_boot_ms [ms] Timestamp (time since system boot). * @param time_boot_ms [ms] Timestamp (time since system boot).
* @param storage_id Storage ID (1 for first, 2 for second, etc.) * @param storage_id Storage ID (1 for first, 2 for second, etc.)
* @param storage_count Number of storage devices * @param storage_count Number of storage devices
* @param status Status of storage (0 not available, 1 unformatted, 2 formatted) * @param status Status of storage
* @param total_capacity [MiB] Total capacity. * @param total_capacity [MiB] Total capacity. If storage is not ready (STORAGE_STATUS_READY) value will be ignored.
* @param used_capacity [MiB] Used capacity. * @param used_capacity [MiB] Used capacity. If storage is not ready (STORAGE_STATUS_READY) value will be ignored.
* @param available_capacity [MiB] Available storage capacity. * @param available_capacity [MiB] Available storage capacity. If storage is not ready (STORAGE_STATUS_READY) value will be ignored.
* @param read_speed [MiB/s] Read speed. * @param read_speed [MiB/s] Read speed.
* @param write_speed [MiB/s] Write speed. * @param write_speed [MiB/s] Write speed.
* @return length of the message in bytes (excluding serial stream start sign) * @return length of the message in bytes (excluding serial stream start sign)
...@@ -198,10 +198,10 @@ static inline uint16_t mavlink_msg_storage_information_encode_chan(uint8_t syste ...@@ -198,10 +198,10 @@ static inline uint16_t mavlink_msg_storage_information_encode_chan(uint8_t syste
* @param time_boot_ms [ms] Timestamp (time since system boot). * @param time_boot_ms [ms] Timestamp (time since system boot).
* @param storage_id Storage ID (1 for first, 2 for second, etc.) * @param storage_id Storage ID (1 for first, 2 for second, etc.)
* @param storage_count Number of storage devices * @param storage_count Number of storage devices
* @param status Status of storage (0 not available, 1 unformatted, 2 formatted) * @param status Status of storage
* @param total_capacity [MiB] Total capacity. * @param total_capacity [MiB] Total capacity. If storage is not ready (STORAGE_STATUS_READY) value will be ignored.
* @param used_capacity [MiB] Used capacity. * @param used_capacity [MiB] Used capacity. If storage is not ready (STORAGE_STATUS_READY) value will be ignored.
* @param available_capacity [MiB] Available storage capacity. * @param available_capacity [MiB] Available storage capacity. If storage is not ready (STORAGE_STATUS_READY) value will be ignored.
* @param read_speed [MiB/s] Read speed. * @param read_speed [MiB/s] Read speed.
* @param write_speed [MiB/s] Write speed. * @param write_speed [MiB/s] Write speed.
*/ */
...@@ -330,7 +330,7 @@ static inline uint8_t mavlink_msg_storage_information_get_storage_count(const ma ...@@ -330,7 +330,7 @@ static inline uint8_t mavlink_msg_storage_information_get_storage_count(const ma
/** /**
* @brief Get field status from storage_information message * @brief Get field status from storage_information message
* *
* @return Status of storage (0 not available, 1 unformatted, 2 formatted) * @return Status of storage
*/ */
static inline uint8_t mavlink_msg_storage_information_get_status(const mavlink_message_t* msg) static inline uint8_t mavlink_msg_storage_information_get_status(const mavlink_message_t* msg)
{ {
...@@ -340,7 +340,7 @@ static inline uint8_t mavlink_msg_storage_information_get_status(const mavlink_m ...@@ -340,7 +340,7 @@ static inline uint8_t mavlink_msg_storage_information_get_status(const mavlink_m
/** /**
* @brief Get field total_capacity from storage_information message * @brief Get field total_capacity from storage_information message
* *
* @return [MiB] Total capacity. * @return [MiB] Total capacity. If storage is not ready (STORAGE_STATUS_READY) value will be ignored.
*/ */
static inline float mavlink_msg_storage_information_get_total_capacity(const mavlink_message_t* msg) static inline float mavlink_msg_storage_information_get_total_capacity(const mavlink_message_t* msg)
{ {
...@@ -350,7 +350,7 @@ static inline float mavlink_msg_storage_information_get_total_capacity(const mav ...@@ -350,7 +350,7 @@ static inline float mavlink_msg_storage_information_get_total_capacity(const mav
/** /**
* @brief Get field used_capacity from storage_information message * @brief Get field used_capacity from storage_information message
* *
* @return [MiB] Used capacity. * @return [MiB] Used capacity. If storage is not ready (STORAGE_STATUS_READY) value will be ignored.
*/ */
static inline float mavlink_msg_storage_information_get_used_capacity(const mavlink_message_t* msg) static inline float mavlink_msg_storage_information_get_used_capacity(const mavlink_message_t* msg)
{ {
...@@ -360,7 +360,7 @@ static inline float mavlink_msg_storage_information_get_used_capacity(const mavl ...@@ -360,7 +360,7 @@ static inline float mavlink_msg_storage_information_get_used_capacity(const mavl
/** /**
* @brief Get field available_capacity from storage_information message * @brief Get field available_capacity from storage_information message
* *
* @return [MiB] Available storage capacity. * @return [MiB] Available storage capacity. If storage is not ready (STORAGE_STATUS_READY) value will be ignored.
*/ */
static inline float mavlink_msg_storage_information_get_available_capacity(const mavlink_message_t* msg) static inline float mavlink_msg_storage_information_get_available_capacity(const mavlink_message_t* msg)
{ {
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
#ifndef MAVLINK_VERSION_H #ifndef MAVLINK_VERSION_H
#define MAVLINK_VERSION_H #define MAVLINK_VERSION_H
#define MAVLINK_BUILD_DATE "Wed May 15 2019" #define MAVLINK_BUILD_DATE "Thu May 16 2019"
#define MAVLINK_WIRE_PROTOCOL_VERSION "2.0" #define MAVLINK_WIRE_PROTOCOL_VERSION "2.0"
#define MAVLINK_MAX_DIALECT_PAYLOAD_SIZE 255 #define MAVLINK_MAX_DIALECT_PAYLOAD_SIZE 255
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
#ifndef MAVLINK_VERSION_H #ifndef MAVLINK_VERSION_H
#define MAVLINK_VERSION_H #define MAVLINK_VERSION_H
#define MAVLINK_BUILD_DATE "Wed May 15 2019" #define MAVLINK_BUILD_DATE "Thu May 16 2019"
#define MAVLINK_WIRE_PROTOCOL_VERSION "2.0" #define MAVLINK_WIRE_PROTOCOL_VERSION "2.0"
#define MAVLINK_MAX_DIALECT_PAYLOAD_SIZE 255 #define MAVLINK_MAX_DIALECT_PAYLOAD_SIZE 255
......
This diff is collapsed.
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
#ifndef MAVLINK_VERSION_H #ifndef MAVLINK_VERSION_H
#define MAVLINK_VERSION_H #define MAVLINK_VERSION_H
#define MAVLINK_BUILD_DATE "Wed May 15 2019" #define MAVLINK_BUILD_DATE "Thu May 16 2019"
#define MAVLINK_WIRE_PROTOCOL_VERSION "2.0" #define MAVLINK_WIRE_PROTOCOL_VERSION "2.0"
#define MAVLINK_MAX_DIALECT_PAYLOAD_SIZE 255 #define MAVLINK_MAX_DIALECT_PAYLOAD_SIZE 255
......
...@@ -752,6 +752,21 @@ ...@@ -752,6 +752,21 @@
<description>The node is no longer available online.</description> <description>The node is no longer available online.</description>
</entry> </entry>
</enum> </enum>
<enum name="STORAGE_STATUS">
<description>Flags to indicate the status of camera storage.</description>
<entry value="0" name="STORAGE_STATUS_EMPTY">
<description>Storage is missing (no microSD card loaded for example.)</description>
</entry>
<entry value="1" name="STORAGE_STATUS_UNFORMATTED">
<description>Storage present but unformatted.</description>
</entry>
<entry value="2" name="STORAGE_STATUS_READY">
<description>Storage present and ready.</description>
</entry>
<entry value="3" name="STORAGE_STATUS_NOT_SUPPORTED">
<description>Camera does not supply storage status information. Capacity information in STORAGE_INFORMATION fields will be ignored.</description>
</entry>
</enum>
<!-- The MAV_CMD enum entries describe either: --> <!-- The MAV_CMD enum entries describe either: -->
<!-- * the data payload of mission items (as used in the MISSION_ITEM and MISSION_ITEM_INT messages) --> <!-- * the data payload of mission items (as used in the MISSION_ITEM and MISSION_ITEM_INT messages) -->
<!-- * the data payload of mavlink commands (as used in the COMMAND_INT and COMMAND_LONG messages) --> <!-- * the data payload of mavlink commands (as used in the COMMAND_INT and COMMAND_LONG messages) -->
...@@ -4809,14 +4824,14 @@ ...@@ -4809,14 +4824,14 @@
<field type="float" name="focusLevel">Current focus level (0.0 to 100.0, NaN if not known)</field> <field type="float" name="focusLevel">Current focus level (0.0 to 100.0, NaN if not known)</field>
</message> </message>
<message id="261" name="STORAGE_INFORMATION"> <message id="261" name="STORAGE_INFORMATION">
<description>Information about a storage medium.</description> <description>Information about a storage medium. This message is sent in response to a request and whenever the status of the storage changes (STORAGE_STATUS).</description>
<field type="uint32_t" name="time_boot_ms" units="ms">Timestamp (time since system boot).</field> <field type="uint32_t" name="time_boot_ms" units="ms">Timestamp (time since system boot).</field>
<field type="uint8_t" name="storage_id">Storage ID (1 for first, 2 for second, etc.)</field> <field type="uint8_t" name="storage_id">Storage ID (1 for first, 2 for second, etc.)</field>
<field type="uint8_t" name="storage_count">Number of storage devices</field> <field type="uint8_t" name="storage_count">Number of storage devices</field>
<field type="uint8_t" name="status">Status of storage (0 not available, 1 unformatted, 2 formatted)</field> <field type="uint8_t" name="status" enum="STORAGE_STATUS">Status of storage</field>
<field type="float" name="total_capacity" units="MiB">Total capacity.</field> <field type="float" name="total_capacity" units="MiB">Total capacity. If storage is not ready (STORAGE_STATUS_READY) value will be ignored.</field>
<field type="float" name="used_capacity" units="MiB">Used capacity.</field> <field type="float" name="used_capacity" units="MiB">Used capacity. If storage is not ready (STORAGE_STATUS_READY) value will be ignored.</field>
<field type="float" name="available_capacity" units="MiB">Available storage capacity.</field> <field type="float" name="available_capacity" units="MiB">Available storage capacity. If storage is not ready (STORAGE_STATUS_READY) value will be ignored.</field>
<field type="float" name="read_speed" units="MiB/s">Read speed.</field> <field type="float" name="read_speed" units="MiB/s">Read speed.</field>
<field type="float" name="write_speed" units="MiB/s">Write speed.</field> <field type="float" name="write_speed" units="MiB/s">Write speed.</field>
</message> </message>
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
#ifndef MAVLINK_VERSION_H #ifndef MAVLINK_VERSION_H
#define MAVLINK_VERSION_H #define MAVLINK_VERSION_H
#define MAVLINK_BUILD_DATE "Wed May 15 2019" #define MAVLINK_BUILD_DATE "Thu May 16 2019"
#define MAVLINK_WIRE_PROTOCOL_VERSION "2.0" #define MAVLINK_WIRE_PROTOCOL_VERSION "2.0"
#define MAVLINK_MAX_DIALECT_PAYLOAD_SIZE 9 #define MAVLINK_MAX_DIALECT_PAYLOAD_SIZE 9
......
This diff is collapsed.
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
#ifndef MAVLINK_VERSION_H #ifndef MAVLINK_VERSION_H
#define MAVLINK_VERSION_H #define MAVLINK_VERSION_H
#define MAVLINK_BUILD_DATE "Wed May 15 2019" #define MAVLINK_BUILD_DATE "Thu May 16 2019"
#define MAVLINK_WIRE_PROTOCOL_VERSION "2.0" #define MAVLINK_WIRE_PROTOCOL_VERSION "2.0"
#define MAVLINK_MAX_DIALECT_PAYLOAD_SIZE 255 #define MAVLINK_MAX_DIALECT_PAYLOAD_SIZE 255
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
#ifndef MAVLINK_VERSION_H #ifndef MAVLINK_VERSION_H
#define MAVLINK_VERSION_H #define MAVLINK_VERSION_H
#define MAVLINK_BUILD_DATE "Wed May 15 2019" #define MAVLINK_BUILD_DATE "Thu May 16 2019"
#define MAVLINK_WIRE_PROTOCOL_VERSION "2.0" #define MAVLINK_WIRE_PROTOCOL_VERSION "2.0"
#define MAVLINK_MAX_DIALECT_PAYLOAD_SIZE 255 #define MAVLINK_MAX_DIALECT_PAYLOAD_SIZE 255
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
#ifndef MAVLINK_VERSION_H #ifndef MAVLINK_VERSION_H
#define MAVLINK_VERSION_H #define MAVLINK_VERSION_H
#define MAVLINK_BUILD_DATE "Wed May 15 2019" #define MAVLINK_BUILD_DATE "Thu May 16 2019"
#define MAVLINK_WIRE_PROTOCOL_VERSION "2.0" #define MAVLINK_WIRE_PROTOCOL_VERSION "2.0"
#define MAVLINK_MAX_DIALECT_PAYLOAD_SIZE 179 #define MAVLINK_MAX_DIALECT_PAYLOAD_SIZE 179
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
#ifndef MAVLINK_VERSION_H #ifndef MAVLINK_VERSION_H
#define MAVLINK_VERSION_H #define MAVLINK_VERSION_H
#define MAVLINK_BUILD_DATE "Wed May 15 2019" #define MAVLINK_BUILD_DATE "Thu May 16 2019"
#define MAVLINK_WIRE_PROTOCOL_VERSION "2.0" #define MAVLINK_WIRE_PROTOCOL_VERSION "2.0"
#define MAVLINK_MAX_DIALECT_PAYLOAD_SIZE 255 #define MAVLINK_MAX_DIALECT_PAYLOAD_SIZE 255
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment