Commit 40bfa6c3 authored by PX4BuildBot's avatar PX4BuildBot

autogenerated headers for rev...

autogenerated headers for rev https://github.com/mavlink/mavlink/tree/4590822ebde2a5737504c832669d74310afa4b8e
parent ad2c30b2
This diff is collapsed.
...@@ -13,7 +13,7 @@ typedef struct __mavlink_command_int_stamped_t { ...@@ -13,7 +13,7 @@ typedef struct __mavlink_command_int_stamped_t {
float param4; /*< PARAM4, see MAV_CMD enum*/ float param4; /*< PARAM4, see MAV_CMD enum*/
int32_t x; /*< PARAM5 / local: x position in meters * 1e4, global: latitude in degrees * 10^7*/ int32_t x; /*< PARAM5 / local: x position in meters * 1e4, global: latitude in degrees * 10^7*/
int32_t y; /*< PARAM6 / local: y position in meters * 1e4, global: longitude in degrees * 10^7*/ int32_t y; /*< PARAM6 / local: y position in meters * 1e4, global: longitude in degrees * 10^7*/
float z; /*< PARAM7 / z position: global: altitude in meters (relative or absolute, depending on frame.*/ float z; /*< PARAM7 / z position: global: altitude in meters (MSL, WGS84, AGL or relative to home - depending on frame).*/
uint16_t command; /*< The scheduled action for the mission item, as defined by MAV_CMD enum*/ uint16_t command; /*< The scheduled action for the mission item, as defined by MAV_CMD enum*/
uint8_t target_system; /*< System ID*/ uint8_t target_system; /*< System ID*/
uint8_t target_component; /*< Component ID*/ uint8_t target_component; /*< Component ID*/
...@@ -97,7 +97,7 @@ typedef struct __mavlink_command_int_stamped_t { ...@@ -97,7 +97,7 @@ typedef struct __mavlink_command_int_stamped_t {
* @param param4 PARAM4, see MAV_CMD enum * @param param4 PARAM4, see MAV_CMD enum
* @param x PARAM5 / local: x position in meters * 1e4, global: latitude in degrees * 10^7 * @param x PARAM5 / local: x position in meters * 1e4, global: latitude in degrees * 10^7
* @param y PARAM6 / local: y position in meters * 1e4, global: longitude in degrees * 10^7 * @param y PARAM6 / local: y position in meters * 1e4, global: longitude in degrees * 10^7
* @param z PARAM7 / z position: global: altitude in meters (relative or absolute, depending on frame. * @param z PARAM7 / z position: global: altitude in meters (MSL, WGS84, AGL or relative to home - depending on frame).
* @return length of the message in bytes (excluding serial stream start sign) * @return length of the message in bytes (excluding serial stream start sign)
*/ */
static inline uint16_t mavlink_msg_command_int_stamped_pack(uint8_t system_id, uint8_t component_id, mavlink_message_t* msg, static inline uint16_t mavlink_msg_command_int_stamped_pack(uint8_t system_id, uint8_t component_id, mavlink_message_t* msg,
...@@ -167,7 +167,7 @@ static inline uint16_t mavlink_msg_command_int_stamped_pack(uint8_t system_id, u ...@@ -167,7 +167,7 @@ static inline uint16_t mavlink_msg_command_int_stamped_pack(uint8_t system_id, u
* @param param4 PARAM4, see MAV_CMD enum * @param param4 PARAM4, see MAV_CMD enum
* @param x PARAM5 / local: x position in meters * 1e4, global: latitude in degrees * 10^7 * @param x PARAM5 / local: x position in meters * 1e4, global: latitude in degrees * 10^7
* @param y PARAM6 / local: y position in meters * 1e4, global: longitude in degrees * 10^7 * @param y PARAM6 / local: y position in meters * 1e4, global: longitude in degrees * 10^7
* @param z PARAM7 / z position: global: altitude in meters (relative or absolute, depending on frame. * @param z PARAM7 / z position: global: altitude in meters (MSL, WGS84, AGL or relative to home - depending on frame).
* @return length of the message in bytes (excluding serial stream start sign) * @return length of the message in bytes (excluding serial stream start sign)
*/ */
static inline uint16_t mavlink_msg_command_int_stamped_pack_chan(uint8_t system_id, uint8_t component_id, uint8_t chan, static inline uint16_t mavlink_msg_command_int_stamped_pack_chan(uint8_t system_id, uint8_t component_id, uint8_t chan,
...@@ -263,7 +263,7 @@ static inline uint16_t mavlink_msg_command_int_stamped_encode_chan(uint8_t syste ...@@ -263,7 +263,7 @@ static inline uint16_t mavlink_msg_command_int_stamped_encode_chan(uint8_t syste
* @param param4 PARAM4, see MAV_CMD enum * @param param4 PARAM4, see MAV_CMD enum
* @param x PARAM5 / local: x position in meters * 1e4, global: latitude in degrees * 10^7 * @param x PARAM5 / local: x position in meters * 1e4, global: latitude in degrees * 10^7
* @param y PARAM6 / local: y position in meters * 1e4, global: longitude in degrees * 10^7 * @param y PARAM6 / local: y position in meters * 1e4, global: longitude in degrees * 10^7
* @param z PARAM7 / z position: global: altitude in meters (relative or absolute, depending on frame. * @param z PARAM7 / z position: global: altitude in meters (MSL, WGS84, AGL or relative to home - depending on frame).
*/ */
#ifdef MAVLINK_USE_CONVENIENCE_FUNCTIONS #ifdef MAVLINK_USE_CONVENIENCE_FUNCTIONS
...@@ -524,7 +524,7 @@ static inline int32_t mavlink_msg_command_int_stamped_get_y(const mavlink_messag ...@@ -524,7 +524,7 @@ static inline int32_t mavlink_msg_command_int_stamped_get_y(const mavlink_messag
/** /**
* @brief Get field z from command_int_stamped message * @brief Get field z from command_int_stamped message
* *
* @return PARAM7 / z position: global: altitude in meters (relative or absolute, depending on frame. * @return PARAM7 / z position: global: altitude in meters (MSL, WGS84, AGL or relative to home - depending on frame).
*/ */
static inline float mavlink_msg_command_int_stamped_get_z(const mavlink_message_t* msg) static inline float mavlink_msg_command_int_stamped_get_z(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 "Fri Oct 26 2018" #define MAVLINK_BUILD_DATE "Mon Oct 29 2018"
#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.
...@@ -8,8 +8,8 @@ typedef struct __mavlink_camera_feedback_t { ...@@ -8,8 +8,8 @@ typedef struct __mavlink_camera_feedback_t {
uint64_t time_usec; /*< [us] Image timestamp (since UNIX epoch), as passed in by CAMERA_STATUS message (or autopilot if no CCB).*/ uint64_t time_usec; /*< [us] Image timestamp (since UNIX epoch), as passed in by CAMERA_STATUS message (or autopilot if no CCB).*/
int32_t lat; /*< [degE7] Latitude.*/ int32_t lat; /*< [degE7] Latitude.*/
int32_t lng; /*< [degE7] Longitude.*/ int32_t lng; /*< [degE7] Longitude.*/
float alt_msl; /*< [m] Altitude Absolute (AMSL).*/ float alt_msl; /*< [m] Altitude (MSL).*/
float alt_rel; /*< [m] Altitude Relative (above HOME location).*/ float alt_rel; /*< [m] Altitude (Relative to HOME location).*/
float roll; /*< [deg] Camera Roll angle (earth frame, +-180).*/ float roll; /*< [deg] Camera Roll angle (earth frame, +-180).*/
float pitch; /*< [deg] Camera Pitch angle (earth frame, +-180).*/ float pitch; /*< [deg] Camera Pitch angle (earth frame, +-180).*/
float yaw; /*< [deg] Camera Yaw (earth frame, 0-360, true).*/ float yaw; /*< [deg] Camera Yaw (earth frame, 0-360, true).*/
...@@ -86,8 +86,8 @@ typedef struct __mavlink_camera_feedback_t { ...@@ -86,8 +86,8 @@ typedef struct __mavlink_camera_feedback_t {
* @param img_idx Image index. * @param img_idx Image index.
* @param lat [degE7] Latitude. * @param lat [degE7] Latitude.
* @param lng [degE7] Longitude. * @param lng [degE7] Longitude.
* @param alt_msl [m] Altitude Absolute (AMSL). * @param alt_msl [m] Altitude (MSL).
* @param alt_rel [m] Altitude Relative (above HOME location). * @param alt_rel [m] Altitude (Relative to HOME location).
* @param roll [deg] Camera Roll angle (earth frame, +-180). * @param roll [deg] Camera Roll angle (earth frame, +-180).
* @param pitch [deg] Camera Pitch angle (earth frame, +-180). * @param pitch [deg] Camera Pitch angle (earth frame, +-180).
* @param yaw [deg] Camera Yaw (earth frame, 0-360, true). * @param yaw [deg] Camera Yaw (earth frame, 0-360, true).
...@@ -153,8 +153,8 @@ static inline uint16_t mavlink_msg_camera_feedback_pack(uint8_t system_id, uint8 ...@@ -153,8 +153,8 @@ static inline uint16_t mavlink_msg_camera_feedback_pack(uint8_t system_id, uint8
* @param img_idx Image index. * @param img_idx Image index.
* @param lat [degE7] Latitude. * @param lat [degE7] Latitude.
* @param lng [degE7] Longitude. * @param lng [degE7] Longitude.
* @param alt_msl [m] Altitude Absolute (AMSL). * @param alt_msl [m] Altitude (MSL).
* @param alt_rel [m] Altitude Relative (above HOME location). * @param alt_rel [m] Altitude (Relative to HOME location).
* @param roll [deg] Camera Roll angle (earth frame, +-180). * @param roll [deg] Camera Roll angle (earth frame, +-180).
* @param pitch [deg] Camera Pitch angle (earth frame, +-180). * @param pitch [deg] Camera Pitch angle (earth frame, +-180).
* @param yaw [deg] Camera Yaw (earth frame, 0-360, true). * @param yaw [deg] Camera Yaw (earth frame, 0-360, true).
...@@ -246,8 +246,8 @@ static inline uint16_t mavlink_msg_camera_feedback_encode_chan(uint8_t system_id ...@@ -246,8 +246,8 @@ static inline uint16_t mavlink_msg_camera_feedback_encode_chan(uint8_t system_id
* @param img_idx Image index. * @param img_idx Image index.
* @param lat [degE7] Latitude. * @param lat [degE7] Latitude.
* @param lng [degE7] Longitude. * @param lng [degE7] Longitude.
* @param alt_msl [m] Altitude Absolute (AMSL). * @param alt_msl [m] Altitude (MSL).
* @param alt_rel [m] Altitude Relative (above HOME location). * @param alt_rel [m] Altitude (Relative to HOME location).
* @param roll [deg] Camera Roll angle (earth frame, +-180). * @param roll [deg] Camera Roll angle (earth frame, +-180).
* @param pitch [deg] Camera Pitch angle (earth frame, +-180). * @param pitch [deg] Camera Pitch angle (earth frame, +-180).
* @param yaw [deg] Camera Yaw (earth frame, 0-360, true). * @param yaw [deg] Camera Yaw (earth frame, 0-360, true).
...@@ -430,7 +430,7 @@ static inline int32_t mavlink_msg_camera_feedback_get_lng(const mavlink_message_ ...@@ -430,7 +430,7 @@ static inline int32_t mavlink_msg_camera_feedback_get_lng(const mavlink_message_
/** /**
* @brief Get field alt_msl from camera_feedback message * @brief Get field alt_msl from camera_feedback message
* *
* @return [m] Altitude Absolute (AMSL). * @return [m] Altitude (MSL).
*/ */
static inline float mavlink_msg_camera_feedback_get_alt_msl(const mavlink_message_t* msg) static inline float mavlink_msg_camera_feedback_get_alt_msl(const mavlink_message_t* msg)
{ {
...@@ -440,7 +440,7 @@ static inline float mavlink_msg_camera_feedback_get_alt_msl(const mavlink_messag ...@@ -440,7 +440,7 @@ static inline float mavlink_msg_camera_feedback_get_alt_msl(const mavlink_messag
/** /**
* @brief Get field alt_rel from camera_feedback message * @brief Get field alt_rel from camera_feedback message
* *
* @return [m] Altitude Relative (above HOME location). * @return [m] Altitude (Relative to HOME location).
*/ */
static inline float mavlink_msg_camera_feedback_get_alt_rel(const mavlink_message_t* msg) static inline float mavlink_msg_camera_feedback_get_alt_rel(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 "Fri Oct 26 2018" #define MAVLINK_BUILD_DATE "Mon Oct 29 2018"
#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 "Fri Oct 26 2018" #define MAVLINK_BUILD_DATE "Mon Oct 29 2018"
#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 @@ MAVPACKED( ...@@ -7,7 +7,7 @@ MAVPACKED(
typedef struct __mavlink_altitude_t { typedef struct __mavlink_altitude_t {
uint64_t time_usec; /*< [us] Timestamp (UNIX Epoch time or time since system boot). The receiving end can infer timestamp format (since 1.1.1970 or since system boot) by checking for the magnitude the number.*/ uint64_t time_usec; /*< [us] Timestamp (UNIX Epoch time or time since system boot). The receiving end can infer timestamp format (since 1.1.1970 or since system boot) by checking for the magnitude the number.*/
float altitude_monotonic; /*< [m] This altitude measure is initialized on system boot and monotonic (it is never reset, but represents the local altitude change). The only guarantee on this field is that it will never be reset and is consistent within a flight. The recommended value for this field is the uncorrected barometric altitude at boot time. This altitude will also drift and vary between flights.*/ float altitude_monotonic; /*< [m] This altitude measure is initialized on system boot and monotonic (it is never reset, but represents the local altitude change). The only guarantee on this field is that it will never be reset and is consistent within a flight. The recommended value for this field is the uncorrected barometric altitude at boot time. This altitude will also drift and vary between flights.*/
float altitude_amsl; /*< [m] This altitude measure is strictly above mean sea level and might be non-monotonic (it might reset on events like GPS lock or when a new QNH value is set). It should be the altitude to which global altitude waypoints are compared to. Note that it is *not* the GPS altitude, however, most GPS modules already output AMSL by default and not the WGS84 altitude.*/ float altitude_amsl; /*< [m] This altitude measure is strictly above mean sea level and might be non-monotonic (it might reset on events like GPS lock or when a new QNH value is set). It should be the altitude to which global altitude waypoints are compared to. Note that it is *not* the GPS altitude, however, most GPS modules already output MSL by default and not the WGS84 altitude.*/
float altitude_local; /*< [m] This is the local altitude in the local coordinate frame. It is not the altitude above home, but in reference to the coordinate origin (0, 0, 0). It is up-positive.*/ float altitude_local; /*< [m] This is the local altitude in the local coordinate frame. It is not the altitude above home, but in reference to the coordinate origin (0, 0, 0). It is up-positive.*/
float altitude_relative; /*< [m] This is the altitude above the home position. It resets on each change of the current home position.*/ float altitude_relative; /*< [m] This is the altitude above the home position. It resets on each change of the current home position.*/
float altitude_terrain; /*< [m] This is the altitude above terrain. It might be fed by a terrain database or an altimeter. Values smaller than -1000 should be interpreted as unknown.*/ float altitude_terrain; /*< [m] This is the altitude above terrain. It might be fed by a terrain database or an altimeter. Values smaller than -1000 should be interpreted as unknown.*/
...@@ -61,7 +61,7 @@ typedef struct __mavlink_altitude_t { ...@@ -61,7 +61,7 @@ typedef struct __mavlink_altitude_t {
* *
* @param time_usec [us] Timestamp (UNIX Epoch time or time since system boot). The receiving end can infer timestamp format (since 1.1.1970 or since system boot) by checking for the magnitude the number. * @param time_usec [us] Timestamp (UNIX Epoch time or time since system boot). The receiving end can infer timestamp format (since 1.1.1970 or since system boot) by checking for the magnitude the number.
* @param altitude_monotonic [m] This altitude measure is initialized on system boot and monotonic (it is never reset, but represents the local altitude change). The only guarantee on this field is that it will never be reset and is consistent within a flight. The recommended value for this field is the uncorrected barometric altitude at boot time. This altitude will also drift and vary between flights. * @param altitude_monotonic [m] This altitude measure is initialized on system boot and monotonic (it is never reset, but represents the local altitude change). The only guarantee on this field is that it will never be reset and is consistent within a flight. The recommended value for this field is the uncorrected barometric altitude at boot time. This altitude will also drift and vary between flights.
* @param altitude_amsl [m] This altitude measure is strictly above mean sea level and might be non-monotonic (it might reset on events like GPS lock or when a new QNH value is set). It should be the altitude to which global altitude waypoints are compared to. Note that it is *not* the GPS altitude, however, most GPS modules already output AMSL by default and not the WGS84 altitude. * @param altitude_amsl [m] This altitude measure is strictly above mean sea level and might be non-monotonic (it might reset on events like GPS lock or when a new QNH value is set). It should be the altitude to which global altitude waypoints are compared to. Note that it is *not* the GPS altitude, however, most GPS modules already output MSL by default and not the WGS84 altitude.
* @param altitude_local [m] This is the local altitude in the local coordinate frame. It is not the altitude above home, but in reference to the coordinate origin (0, 0, 0). It is up-positive. * @param altitude_local [m] This is the local altitude in the local coordinate frame. It is not the altitude above home, but in reference to the coordinate origin (0, 0, 0). It is up-positive.
* @param altitude_relative [m] This is the altitude above the home position. It resets on each change of the current home position. * @param altitude_relative [m] This is the altitude above the home position. It resets on each change of the current home position.
* @param altitude_terrain [m] This is the altitude above terrain. It might be fed by a terrain database or an altimeter. Values smaller than -1000 should be interpreted as unknown. * @param altitude_terrain [m] This is the altitude above terrain. It might be fed by a terrain database or an altimeter. Values smaller than -1000 should be interpreted as unknown.
...@@ -107,7 +107,7 @@ static inline uint16_t mavlink_msg_altitude_pack(uint8_t system_id, uint8_t comp ...@@ -107,7 +107,7 @@ static inline uint16_t mavlink_msg_altitude_pack(uint8_t system_id, uint8_t comp
* @param msg The MAVLink message to compress the data into * @param msg The MAVLink message to compress the data into
* @param time_usec [us] Timestamp (UNIX Epoch time or time since system boot). The receiving end can infer timestamp format (since 1.1.1970 or since system boot) by checking for the magnitude the number. * @param time_usec [us] Timestamp (UNIX Epoch time or time since system boot). The receiving end can infer timestamp format (since 1.1.1970 or since system boot) by checking for the magnitude the number.
* @param altitude_monotonic [m] This altitude measure is initialized on system boot and monotonic (it is never reset, but represents the local altitude change). The only guarantee on this field is that it will never be reset and is consistent within a flight. The recommended value for this field is the uncorrected barometric altitude at boot time. This altitude will also drift and vary between flights. * @param altitude_monotonic [m] This altitude measure is initialized on system boot and monotonic (it is never reset, but represents the local altitude change). The only guarantee on this field is that it will never be reset and is consistent within a flight. The recommended value for this field is the uncorrected barometric altitude at boot time. This altitude will also drift and vary between flights.
* @param altitude_amsl [m] This altitude measure is strictly above mean sea level and might be non-monotonic (it might reset on events like GPS lock or when a new QNH value is set). It should be the altitude to which global altitude waypoints are compared to. Note that it is *not* the GPS altitude, however, most GPS modules already output AMSL by default and not the WGS84 altitude. * @param altitude_amsl [m] This altitude measure is strictly above mean sea level and might be non-monotonic (it might reset on events like GPS lock or when a new QNH value is set). It should be the altitude to which global altitude waypoints are compared to. Note that it is *not* the GPS altitude, however, most GPS modules already output MSL by default and not the WGS84 altitude.
* @param altitude_local [m] This is the local altitude in the local coordinate frame. It is not the altitude above home, but in reference to the coordinate origin (0, 0, 0). It is up-positive. * @param altitude_local [m] This is the local altitude in the local coordinate frame. It is not the altitude above home, but in reference to the coordinate origin (0, 0, 0). It is up-positive.
* @param altitude_relative [m] This is the altitude above the home position. It resets on each change of the current home position. * @param altitude_relative [m] This is the altitude above the home position. It resets on each change of the current home position.
* @param altitude_terrain [m] This is the altitude above terrain. It might be fed by a terrain database or an altimeter. Values smaller than -1000 should be interpreted as unknown. * @param altitude_terrain [m] This is the altitude above terrain. It might be fed by a terrain database or an altimeter. Values smaller than -1000 should be interpreted as unknown.
...@@ -179,7 +179,7 @@ static inline uint16_t mavlink_msg_altitude_encode_chan(uint8_t system_id, uint8 ...@@ -179,7 +179,7 @@ static inline uint16_t mavlink_msg_altitude_encode_chan(uint8_t system_id, uint8
* *
* @param time_usec [us] Timestamp (UNIX Epoch time or time since system boot). The receiving end can infer timestamp format (since 1.1.1970 or since system boot) by checking for the magnitude the number. * @param time_usec [us] Timestamp (UNIX Epoch time or time since system boot). The receiving end can infer timestamp format (since 1.1.1970 or since system boot) by checking for the magnitude the number.
* @param altitude_monotonic [m] This altitude measure is initialized on system boot and monotonic (it is never reset, but represents the local altitude change). The only guarantee on this field is that it will never be reset and is consistent within a flight. The recommended value for this field is the uncorrected barometric altitude at boot time. This altitude will also drift and vary between flights. * @param altitude_monotonic [m] This altitude measure is initialized on system boot and monotonic (it is never reset, but represents the local altitude change). The only guarantee on this field is that it will never be reset and is consistent within a flight. The recommended value for this field is the uncorrected barometric altitude at boot time. This altitude will also drift and vary between flights.
* @param altitude_amsl [m] This altitude measure is strictly above mean sea level and might be non-monotonic (it might reset on events like GPS lock or when a new QNH value is set). It should be the altitude to which global altitude waypoints are compared to. Note that it is *not* the GPS altitude, however, most GPS modules already output AMSL by default and not the WGS84 altitude. * @param altitude_amsl [m] This altitude measure is strictly above mean sea level and might be non-monotonic (it might reset on events like GPS lock or when a new QNH value is set). It should be the altitude to which global altitude waypoints are compared to. Note that it is *not* the GPS altitude, however, most GPS modules already output MSL by default and not the WGS84 altitude.
* @param altitude_local [m] This is the local altitude in the local coordinate frame. It is not the altitude above home, but in reference to the coordinate origin (0, 0, 0). It is up-positive. * @param altitude_local [m] This is the local altitude in the local coordinate frame. It is not the altitude above home, but in reference to the coordinate origin (0, 0, 0). It is up-positive.
* @param altitude_relative [m] This is the altitude above the home position. It resets on each change of the current home position. * @param altitude_relative [m] This is the altitude above the home position. It resets on each change of the current home position.
* @param altitude_terrain [m] This is the altitude above terrain. It might be fed by a terrain database or an altimeter. Values smaller than -1000 should be interpreted as unknown. * @param altitude_terrain [m] This is the altitude above terrain. It might be fed by a terrain database or an altimeter. Values smaller than -1000 should be interpreted as unknown.
...@@ -292,7 +292,7 @@ static inline float mavlink_msg_altitude_get_altitude_monotonic(const mavlink_me ...@@ -292,7 +292,7 @@ static inline float mavlink_msg_altitude_get_altitude_monotonic(const mavlink_me
/** /**
* @brief Get field altitude_amsl from altitude message * @brief Get field altitude_amsl from altitude message
* *
* @return [m] This altitude measure is strictly above mean sea level and might be non-monotonic (it might reset on events like GPS lock or when a new QNH value is set). It should be the altitude to which global altitude waypoints are compared to. Note that it is *not* the GPS altitude, however, most GPS modules already output AMSL by default and not the WGS84 altitude. * @return [m] This altitude measure is strictly above mean sea level and might be non-monotonic (it might reset on events like GPS lock or when a new QNH value is set). It should be the altitude to which global altitude waypoints are compared to. Note that it is *not* the GPS altitude, however, most GPS modules already output MSL by default and not the WGS84 altitude.
*/ */
static inline float mavlink_msg_altitude_get_altitude_amsl(const mavlink_message_t* msg) static inline float mavlink_msg_altitude_get_altitude_amsl(const mavlink_message_t* msg)
{ {
......
...@@ -9,7 +9,7 @@ typedef struct __mavlink_camera_image_captured_t { ...@@ -9,7 +9,7 @@ typedef struct __mavlink_camera_image_captured_t {
uint32_t time_boot_ms; /*< [ms] Timestamp (time since system boot).*/ uint32_t time_boot_ms; /*< [ms] Timestamp (time since system boot).*/
int32_t lat; /*< [degE7] Latitude where image was taken*/ int32_t lat; /*< [degE7] Latitude where image was taken*/
int32_t lon; /*< [degE7] Longitude where capture was taken*/ int32_t lon; /*< [degE7] Longitude where capture was taken*/
int32_t alt; /*< [mm] Altitude (AMSL) where image was taken*/ int32_t alt; /*< [mm] Altitude (MSL) where image was taken*/
int32_t relative_alt; /*< [mm] Altitude above ground*/ int32_t relative_alt; /*< [mm] Altitude above ground*/
float q[4]; /*< Quaternion of camera orientation (w, x, y, z order, zero-rotation is 0, 0, 0, 0)*/ float q[4]; /*< Quaternion of camera orientation (w, x, y, z order, zero-rotation is 0, 0, 0, 0)*/
int32_t image_index; /*< Zero based index of this image (image count since armed -1)*/ int32_t image_index; /*< Zero based index of this image (image count since armed -1)*/
...@@ -77,7 +77,7 @@ typedef struct __mavlink_camera_image_captured_t { ...@@ -77,7 +77,7 @@ typedef struct __mavlink_camera_image_captured_t {
* @param camera_id Camera ID (1 for first, 2 for second, etc.) * @param camera_id Camera ID (1 for first, 2 for second, etc.)
* @param lat [degE7] Latitude where image was taken * @param lat [degE7] Latitude where image was taken
* @param lon [degE7] Longitude where capture was taken * @param lon [degE7] Longitude where capture was taken
* @param alt [mm] Altitude (AMSL) where image was taken * @param alt [mm] Altitude (MSL) where image was taken
* @param relative_alt [mm] Altitude above ground * @param relative_alt [mm] Altitude above ground
* @param q Quaternion of camera orientation (w, x, y, z order, zero-rotation is 0, 0, 0, 0) * @param q Quaternion of camera orientation (w, x, y, z order, zero-rotation is 0, 0, 0, 0)
* @param image_index Zero based index of this image (image count since armed -1) * @param image_index Zero based index of this image (image count since armed -1)
...@@ -133,7 +133,7 @@ static inline uint16_t mavlink_msg_camera_image_captured_pack(uint8_t system_id, ...@@ -133,7 +133,7 @@ static inline uint16_t mavlink_msg_camera_image_captured_pack(uint8_t system_id,
* @param camera_id Camera ID (1 for first, 2 for second, etc.) * @param camera_id Camera ID (1 for first, 2 for second, etc.)
* @param lat [degE7] Latitude where image was taken * @param lat [degE7] Latitude where image was taken
* @param lon [degE7] Longitude where capture was taken * @param lon [degE7] Longitude where capture was taken
* @param alt [mm] Altitude (AMSL) where image was taken * @param alt [mm] Altitude (MSL) where image was taken
* @param relative_alt [mm] Altitude above ground * @param relative_alt [mm] Altitude above ground
* @param q Quaternion of camera orientation (w, x, y, z order, zero-rotation is 0, 0, 0, 0) * @param q Quaternion of camera orientation (w, x, y, z order, zero-rotation is 0, 0, 0, 0)
* @param image_index Zero based index of this image (image count since armed -1) * @param image_index Zero based index of this image (image count since armed -1)
...@@ -215,7 +215,7 @@ static inline uint16_t mavlink_msg_camera_image_captured_encode_chan(uint8_t sys ...@@ -215,7 +215,7 @@ static inline uint16_t mavlink_msg_camera_image_captured_encode_chan(uint8_t sys
* @param camera_id Camera ID (1 for first, 2 for second, etc.) * @param camera_id Camera ID (1 for first, 2 for second, etc.)
* @param lat [degE7] Latitude where image was taken * @param lat [degE7] Latitude where image was taken
* @param lon [degE7] Longitude where capture was taken * @param lon [degE7] Longitude where capture was taken
* @param alt [mm] Altitude (AMSL) where image was taken * @param alt [mm] Altitude (MSL) where image was taken
* @param relative_alt [mm] Altitude above ground * @param relative_alt [mm] Altitude above ground
* @param q Quaternion of camera orientation (w, x, y, z order, zero-rotation is 0, 0, 0, 0) * @param q Quaternion of camera orientation (w, x, y, z order, zero-rotation is 0, 0, 0, 0)
* @param image_index Zero based index of this image (image count since armed -1) * @param image_index Zero based index of this image (image count since armed -1)
...@@ -371,7 +371,7 @@ static inline int32_t mavlink_msg_camera_image_captured_get_lon(const mavlink_me ...@@ -371,7 +371,7 @@ static inline int32_t mavlink_msg_camera_image_captured_get_lon(const mavlink_me
/** /**
* @brief Get field alt from camera_image_captured message * @brief Get field alt from camera_image_captured message
* *
* @return [mm] Altitude (AMSL) where image was taken * @return [mm] Altitude (MSL) where image was taken
*/ */
static inline int32_t mavlink_msg_camera_image_captured_get_alt(const mavlink_message_t* msg) static inline int32_t mavlink_msg_camera_image_captured_get_alt(const mavlink_message_t* msg)
{ {
......
...@@ -9,7 +9,7 @@ typedef struct __mavlink_follow_target_t { ...@@ -9,7 +9,7 @@ typedef struct __mavlink_follow_target_t {
uint64_t custom_state; /*< button states or switches of a tracker device*/ uint64_t custom_state; /*< button states or switches of a tracker device*/
int32_t lat; /*< [degE7] Latitude (WGS84)*/ int32_t lat; /*< [degE7] Latitude (WGS84)*/
int32_t lon; /*< [degE7] Longitude (WGS84)*/ int32_t lon; /*< [degE7] Longitude (WGS84)*/
float alt; /*< [m] Altitude (AMSL)*/ float alt; /*< [m] Altitude (MSL)*/
float vel[3]; /*< [m/s] target velocity (0,0,0) for unknown*/ float vel[3]; /*< [m/s] target velocity (0,0,0) for unknown*/
float acc[3]; /*< [m/s/s] linear target acceleration (0,0,0) for unknown*/ float acc[3]; /*< [m/s/s] linear target acceleration (0,0,0) for unknown*/
float attitude_q[4]; /*< (1 0 0 0 for unknown)*/ float attitude_q[4]; /*< (1 0 0 0 for unknown)*/
...@@ -79,7 +79,7 @@ typedef struct __mavlink_follow_target_t { ...@@ -79,7 +79,7 @@ typedef struct __mavlink_follow_target_t {
* @param est_capabilities bit positions for tracker reporting capabilities (POS = 0, VEL = 1, ACCEL = 2, ATT + RATES = 3) * @param est_capabilities bit positions for tracker reporting capabilities (POS = 0, VEL = 1, ACCEL = 2, ATT + RATES = 3)
* @param lat [degE7] Latitude (WGS84) * @param lat [degE7] Latitude (WGS84)
* @param lon [degE7] Longitude (WGS84) * @param lon [degE7] Longitude (WGS84)
* @param alt [m] Altitude (AMSL) * @param alt [m] Altitude (MSL)
* @param vel [m/s] target velocity (0,0,0) for unknown * @param vel [m/s] target velocity (0,0,0) for unknown
* @param acc [m/s/s] linear target acceleration (0,0,0) for unknown * @param acc [m/s/s] linear target acceleration (0,0,0) for unknown
* @param attitude_q (1 0 0 0 for unknown) * @param attitude_q (1 0 0 0 for unknown)
...@@ -135,7 +135,7 @@ static inline uint16_t mavlink_msg_follow_target_pack(uint8_t system_id, uint8_t ...@@ -135,7 +135,7 @@ static inline uint16_t mavlink_msg_follow_target_pack(uint8_t system_id, uint8_t
* @param est_capabilities bit positions for tracker reporting capabilities (POS = 0, VEL = 1, ACCEL = 2, ATT + RATES = 3) * @param est_capabilities bit positions for tracker reporting capabilities (POS = 0, VEL = 1, ACCEL = 2, ATT + RATES = 3)
* @param lat [degE7] Latitude (WGS84) * @param lat [degE7] Latitude (WGS84)
* @param lon [degE7] Longitude (WGS84) * @param lon [degE7] Longitude (WGS84)
* @param alt [m] Altitude (AMSL) * @param alt [m] Altitude (MSL)
* @param vel [m/s] target velocity (0,0,0) for unknown * @param vel [m/s] target velocity (0,0,0) for unknown
* @param acc [m/s/s] linear target acceleration (0,0,0) for unknown * @param acc [m/s/s] linear target acceleration (0,0,0) for unknown
* @param attitude_q (1 0 0 0 for unknown) * @param attitude_q (1 0 0 0 for unknown)
...@@ -217,7 +217,7 @@ static inline uint16_t mavlink_msg_follow_target_encode_chan(uint8_t system_id, ...@@ -217,7 +217,7 @@ static inline uint16_t mavlink_msg_follow_target_encode_chan(uint8_t system_id,
* @param est_capabilities bit positions for tracker reporting capabilities (POS = 0, VEL = 1, ACCEL = 2, ATT + RATES = 3) * @param est_capabilities bit positions for tracker reporting capabilities (POS = 0, VEL = 1, ACCEL = 2, ATT + RATES = 3)
* @param lat [degE7] Latitude (WGS84) * @param lat [degE7] Latitude (WGS84)
* @param lon [degE7] Longitude (WGS84) * @param lon [degE7] Longitude (WGS84)
* @param alt [m] Altitude (AMSL) * @param alt [m] Altitude (MSL)
* @param vel [m/s] target velocity (0,0,0) for unknown * @param vel [m/s] target velocity (0,0,0) for unknown
* @param acc [m/s/s] linear target acceleration (0,0,0) for unknown * @param acc [m/s/s] linear target acceleration (0,0,0) for unknown
* @param attitude_q (1 0 0 0 for unknown) * @param attitude_q (1 0 0 0 for unknown)
...@@ -364,7 +364,7 @@ static inline int32_t mavlink_msg_follow_target_get_lon(const mavlink_message_t* ...@@ -364,7 +364,7 @@ static inline int32_t mavlink_msg_follow_target_get_lon(const mavlink_message_t*
/** /**
* @brief Get field alt from follow_target message * @brief Get field alt from follow_target message
* *
* @return [m] Altitude (AMSL) * @return [m] Altitude (MSL)
*/ */
static inline float mavlink_msg_follow_target_get_alt(const mavlink_message_t* msg) static inline float mavlink_msg_follow_target_get_alt(const mavlink_message_t* msg)
{ {
......
...@@ -8,7 +8,7 @@ typedef struct __mavlink_global_position_int_t { ...@@ -8,7 +8,7 @@ typedef struct __mavlink_global_position_int_t {
uint32_t time_boot_ms; /*< [ms] Timestamp (time since system boot).*/ uint32_t time_boot_ms; /*< [ms] Timestamp (time since system boot).*/
int32_t lat; /*< [degE7] Latitude, expressed*/ int32_t lat; /*< [degE7] Latitude, expressed*/
int32_t lon; /*< [degE7] Longitude, expressed*/ int32_t lon; /*< [degE7] Longitude, expressed*/
int32_t alt; /*< [mm] Altitude (AMSL). Note that virtually all GPS modules provide both WGS84 and AMSL.*/ int32_t alt; /*< [mm] Altitude (MSL). Note that virtually all GPS modules provide both WGS84 and MSL.*/
int32_t relative_alt; /*< [mm] Altitude above ground*/ int32_t relative_alt; /*< [mm] Altitude above ground*/
int16_t vx; /*< [cm/s] Ground X Speed (Latitude, positive north)*/ int16_t vx; /*< [cm/s] Ground X Speed (Latitude, positive north)*/
int16_t vy; /*< [cm/s] Ground Y Speed (Longitude, positive east)*/ int16_t vy; /*< [cm/s] Ground Y Speed (Longitude, positive east)*/
...@@ -68,7 +68,7 @@ typedef struct __mavlink_global_position_int_t { ...@@ -68,7 +68,7 @@ typedef struct __mavlink_global_position_int_t {
* @param time_boot_ms [ms] Timestamp (time since system boot). * @param time_boot_ms [ms] Timestamp (time since system boot).
* @param lat [degE7] Latitude, expressed * @param lat [degE7] Latitude, expressed
* @param lon [degE7] Longitude, expressed * @param lon [degE7] Longitude, expressed
* @param alt [mm] Altitude (AMSL). Note that virtually all GPS modules provide both WGS84 and AMSL. * @param alt [mm] Altitude (MSL). Note that virtually all GPS modules provide both WGS84 and MSL.
* @param relative_alt [mm] Altitude above ground * @param relative_alt [mm] Altitude above ground
* @param vx [cm/s] Ground X Speed (Latitude, positive north) * @param vx [cm/s] Ground X Speed (Latitude, positive north)
* @param vy [cm/s] Ground Y Speed (Longitude, positive east) * @param vy [cm/s] Ground Y Speed (Longitude, positive east)
...@@ -120,7 +120,7 @@ static inline uint16_t mavlink_msg_global_position_int_pack(uint8_t system_id, u ...@@ -120,7 +120,7 @@ static inline uint16_t mavlink_msg_global_position_int_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 lat [degE7] Latitude, expressed * @param lat [degE7] Latitude, expressed
* @param lon [degE7] Longitude, expressed * @param lon [degE7] Longitude, expressed
* @param alt [mm] Altitude (AMSL). Note that virtually all GPS modules provide both WGS84 and AMSL. * @param alt [mm] Altitude (MSL). Note that virtually all GPS modules provide both WGS84 and MSL.
* @param relative_alt [mm] Altitude above ground * @param relative_alt [mm] Altitude above ground
* @param vx [cm/s] Ground X Speed (Latitude, positive north) * @param vx [cm/s] Ground X Speed (Latitude, positive north)
* @param vy [cm/s] Ground Y Speed (Longitude, positive east) * @param vy [cm/s] Ground Y Speed (Longitude, positive east)
...@@ -198,7 +198,7 @@ static inline uint16_t mavlink_msg_global_position_int_encode_chan(uint8_t syste ...@@ -198,7 +198,7 @@ static inline uint16_t mavlink_msg_global_position_int_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 lat [degE7] Latitude, expressed * @param lat [degE7] Latitude, expressed
* @param lon [degE7] Longitude, expressed * @param lon [degE7] Longitude, expressed
* @param alt [mm] Altitude (AMSL). Note that virtually all GPS modules provide both WGS84 and AMSL. * @param alt [mm] Altitude (MSL). Note that virtually all GPS modules provide both WGS84 and MSL.
* @param relative_alt [mm] Altitude above ground * @param relative_alt [mm] Altitude above ground
* @param vx [cm/s] Ground X Speed (Latitude, positive north) * @param vx [cm/s] Ground X Speed (Latitude, positive north)
* @param vy [cm/s] Ground Y Speed (Longitude, positive east) * @param vy [cm/s] Ground Y Speed (Longitude, positive east)
...@@ -330,7 +330,7 @@ static inline int32_t mavlink_msg_global_position_int_get_lon(const mavlink_mess ...@@ -330,7 +330,7 @@ static inline int32_t mavlink_msg_global_position_int_get_lon(const mavlink_mess
/** /**
* @brief Get field alt from global_position_int message * @brief Get field alt from global_position_int message
* *
* @return [mm] Altitude (AMSL). Note that virtually all GPS modules provide both WGS84 and AMSL. * @return [mm] Altitude (MSL). Note that virtually all GPS modules provide both WGS84 and MSL.
*/ */
static inline int32_t mavlink_msg_global_position_int_get_alt(const mavlink_message_t* msg) static inline int32_t mavlink_msg_global_position_int_get_alt(const mavlink_message_t* msg)
{ {
......
...@@ -8,7 +8,7 @@ typedef struct __mavlink_gps2_raw_t { ...@@ -8,7 +8,7 @@ typedef struct __mavlink_gps2_raw_t {
uint64_t time_usec; /*< [us] Timestamp (UNIX Epoch time or time since system boot). The receiving end can infer timestamp format (since 1.1.1970 or since system boot) by checking for the magnitude the number.*/ uint64_t time_usec; /*< [us] Timestamp (UNIX Epoch time or time since system boot). The receiving end can infer timestamp format (since 1.1.1970 or since system boot) by checking for the magnitude the number.*/
int32_t lat; /*< [degE7] Latitude (WGS84)*/ int32_t lat; /*< [degE7] Latitude (WGS84)*/
int32_t lon; /*< [degE7] Longitude (WGS84)*/ int32_t lon; /*< [degE7] Longitude (WGS84)*/
int32_t alt; /*< [mm] Altitude (AMSL). Positive for up.*/ int32_t alt; /*< [mm] Altitude (MSL). Positive for up.*/
uint32_t dgps_age; /*< [ms] Age of DGPS info*/ uint32_t dgps_age; /*< [ms] Age of DGPS info*/
uint16_t eph; /*< [cm] GPS HDOP horizontal dilution of position. If unknown, set to: UINT16_MAX*/ uint16_t eph; /*< [cm] GPS HDOP horizontal dilution of position. If unknown, set to: UINT16_MAX*/
uint16_t epv; /*< [cm] GPS VDOP vertical dilution of position. If unknown, set to: UINT16_MAX*/ uint16_t epv; /*< [cm] GPS VDOP vertical dilution of position. If unknown, set to: UINT16_MAX*/
...@@ -78,7 +78,7 @@ typedef struct __mavlink_gps2_raw_t { ...@@ -78,7 +78,7 @@ typedef struct __mavlink_gps2_raw_t {
* @param fix_type GPS fix type. * @param fix_type GPS fix type.
* @param lat [degE7] Latitude (WGS84) * @param lat [degE7] Latitude (WGS84)
* @param lon [degE7] Longitude (WGS84) * @param lon [degE7] Longitude (WGS84)
* @param alt [mm] Altitude (AMSL). Positive for up. * @param alt [mm] Altitude (MSL). Positive for up.
* @param eph [cm] GPS HDOP horizontal dilution of position. If unknown, set to: UINT16_MAX * @param eph [cm] GPS HDOP horizontal dilution of position. If unknown, set to: UINT16_MAX
* @param epv [cm] GPS VDOP vertical dilution of position. If unknown, set to: UINT16_MAX * @param epv [cm] GPS VDOP vertical dilution of position. If unknown, set to: UINT16_MAX
* @param vel [cm/s] GPS ground speed. If unknown, set to: UINT16_MAX * @param vel [cm/s] GPS ground speed. If unknown, set to: UINT16_MAX
...@@ -139,7 +139,7 @@ static inline uint16_t mavlink_msg_gps2_raw_pack(uint8_t system_id, uint8_t comp ...@@ -139,7 +139,7 @@ static inline uint16_t mavlink_msg_gps2_raw_pack(uint8_t system_id, uint8_t comp
* @param fix_type GPS fix type. * @param fix_type GPS fix type.
* @param lat [degE7] Latitude (WGS84) * @param lat [degE7] Latitude (WGS84)
* @param lon [degE7] Longitude (WGS84) * @param lon [degE7] Longitude (WGS84)
* @param alt [mm] Altitude (AMSL). Positive for up. * @param alt [mm] Altitude (MSL). Positive for up.
* @param eph [cm] GPS HDOP horizontal dilution of position. If unknown, set to: UINT16_MAX * @param eph [cm] GPS HDOP horizontal dilution of position. If unknown, set to: UINT16_MAX
* @param epv [cm] GPS VDOP vertical dilution of position. If unknown, set to: UINT16_MAX * @param epv [cm] GPS VDOP vertical dilution of position. If unknown, set to: UINT16_MAX
* @param vel [cm/s] GPS ground speed. If unknown, set to: UINT16_MAX * @param vel [cm/s] GPS ground speed. If unknown, set to: UINT16_MAX
...@@ -226,7 +226,7 @@ static inline uint16_t mavlink_msg_gps2_raw_encode_chan(uint8_t system_id, uint8 ...@@ -226,7 +226,7 @@ static inline uint16_t mavlink_msg_gps2_raw_encode_chan(uint8_t system_id, uint8
* @param fix_type GPS fix type. * @param fix_type GPS fix type.
* @param lat [degE7] Latitude (WGS84) * @param lat [degE7] Latitude (WGS84)
* @param lon [degE7] Longitude (WGS84) * @param lon [degE7] Longitude (WGS84)
* @param alt [mm] Altitude (AMSL). Positive for up. * @param alt [mm] Altitude (MSL). Positive for up.
* @param eph [cm] GPS HDOP horizontal dilution of position. If unknown, set to: UINT16_MAX * @param eph [cm] GPS HDOP horizontal dilution of position. If unknown, set to: UINT16_MAX
* @param epv [cm] GPS VDOP vertical dilution of position. If unknown, set to: UINT16_MAX * @param epv [cm] GPS VDOP vertical dilution of position. If unknown, set to: UINT16_MAX
* @param vel [cm/s] GPS ground speed. If unknown, set to: UINT16_MAX * @param vel [cm/s] GPS ground speed. If unknown, set to: UINT16_MAX
...@@ -382,7 +382,7 @@ static inline int32_t mavlink_msg_gps2_raw_get_lon(const mavlink_message_t* msg) ...@@ -382,7 +382,7 @@ static inline int32_t mavlink_msg_gps2_raw_get_lon(const mavlink_message_t* msg)
/** /**
* @brief Get field alt from gps2_raw message * @brief Get field alt from gps2_raw message
* *
* @return [mm] Altitude (AMSL). Positive for up. * @return [mm] Altitude (MSL). Positive for up.
*/ */
static inline int32_t mavlink_msg_gps2_raw_get_alt(const mavlink_message_t* msg) static inline int32_t mavlink_msg_gps2_raw_get_alt(const mavlink_message_t* msg)
{ {
......
...@@ -7,7 +7,7 @@ MAVPACKED( ...@@ -7,7 +7,7 @@ MAVPACKED(
typedef struct __mavlink_gps_global_origin_t { typedef struct __mavlink_gps_global_origin_t {
int32_t latitude; /*< [degE7] Latitude (WGS84)*/ int32_t latitude; /*< [degE7] Latitude (WGS84)*/
int32_t longitude; /*< [degE7] Longitude (WGS84)*/ int32_t longitude; /*< [degE7] Longitude (WGS84)*/
int32_t altitude; /*< [mm] Altitude (AMSL). Positive for up.*/ int32_t altitude; /*< [mm] Altitude (MSL). Positive for up.*/
uint64_t time_usec; /*< [us] Timestamp (UNIX Epoch time or time since system boot). The receiving end can infer timestamp format (since 1.1.1970 or since system boot) by checking for the magnitude the number.*/ uint64_t time_usec; /*< [us] Timestamp (UNIX Epoch time or time since system boot). The receiving end can infer timestamp format (since 1.1.1970 or since system boot) by checking for the magnitude the number.*/
}) mavlink_gps_global_origin_t; }) mavlink_gps_global_origin_t;
...@@ -52,7 +52,7 @@ typedef struct __mavlink_gps_global_origin_t { ...@@ -52,7 +52,7 @@ typedef struct __mavlink_gps_global_origin_t {
* *
* @param latitude [degE7] Latitude (WGS84) * @param latitude [degE7] Latitude (WGS84)
* @param longitude [degE7] Longitude (WGS84) * @param longitude [degE7] Longitude (WGS84)
* @param altitude [mm] Altitude (AMSL). Positive for up. * @param altitude [mm] Altitude (MSL). Positive for up.
* @param time_usec [us] Timestamp (UNIX Epoch time or time since system boot). The receiving end can infer timestamp format (since 1.1.1970 or since system boot) by checking for the magnitude the number. * @param time_usec [us] Timestamp (UNIX Epoch time or time since system boot). The receiving end can infer timestamp format (since 1.1.1970 or since system boot) by checking for the magnitude the number.
* @return length of the message in bytes (excluding serial stream start sign) * @return length of the message in bytes (excluding serial stream start sign)
*/ */
...@@ -89,7 +89,7 @@ static inline uint16_t mavlink_msg_gps_global_origin_pack(uint8_t system_id, uin ...@@ -89,7 +89,7 @@ static inline uint16_t mavlink_msg_gps_global_origin_pack(uint8_t system_id, uin
* @param msg The MAVLink message to compress the data into * @param msg The MAVLink message to compress the data into
* @param latitude [degE7] Latitude (WGS84) * @param latitude [degE7] Latitude (WGS84)
* @param longitude [degE7] Longitude (WGS84) * @param longitude [degE7] Longitude (WGS84)
* @param altitude [mm] Altitude (AMSL). Positive for up. * @param altitude [mm] Altitude (MSL). Positive for up.
* @param time_usec [us] Timestamp (UNIX Epoch time or time since system boot). The receiving end can infer timestamp format (since 1.1.1970 or since system boot) by checking for the magnitude the number. * @param time_usec [us] Timestamp (UNIX Epoch time or time since system boot). The receiving end can infer timestamp format (since 1.1.1970 or since system boot) by checking for the magnitude the number.
* @return length of the message in bytes (excluding serial stream start sign) * @return length of the message in bytes (excluding serial stream start sign)
*/ */
...@@ -152,7 +152,7 @@ static inline uint16_t mavlink_msg_gps_global_origin_encode_chan(uint8_t system_ ...@@ -152,7 +152,7 @@ static inline uint16_t mavlink_msg_gps_global_origin_encode_chan(uint8_t system_
* *
* @param latitude [degE7] Latitude (WGS84) * @param latitude [degE7] Latitude (WGS84)
* @param longitude [degE7] Longitude (WGS84) * @param longitude [degE7] Longitude (WGS84)
* @param altitude [mm] Altitude (AMSL). Positive for up. * @param altitude [mm] Altitude (MSL). Positive for up.
* @param time_usec [us] Timestamp (UNIX Epoch time or time since system boot). The receiving end can infer timestamp format (since 1.1.1970 or since system boot) by checking for the magnitude the number. * @param time_usec [us] Timestamp (UNIX Epoch time or time since system boot). The receiving end can infer timestamp format (since 1.1.1970 or since system boot) by checking for the magnitude the number.
*/ */
#ifdef MAVLINK_USE_CONVENIENCE_FUNCTIONS #ifdef MAVLINK_USE_CONVENIENCE_FUNCTIONS
...@@ -250,7 +250,7 @@ static inline int32_t mavlink_msg_gps_global_origin_get_longitude(const mavlink_ ...@@ -250,7 +250,7 @@ static inline int32_t mavlink_msg_gps_global_origin_get_longitude(const mavlink_
/** /**
* @brief Get field altitude from gps_global_origin message * @brief Get field altitude from gps_global_origin message
* *
* @return [mm] Altitude (AMSL). Positive for up. * @return [mm] Altitude (MSL). Positive for up.
*/ */
static inline int32_t mavlink_msg_gps_global_origin_get_altitude(const mavlink_message_t* msg) static inline int32_t mavlink_msg_gps_global_origin_get_altitude(const mavlink_message_t* msg)
{ {
......
...@@ -9,7 +9,7 @@ typedef struct __mavlink_gps_input_t { ...@@ -9,7 +9,7 @@ typedef struct __mavlink_gps_input_t {
uint32_t time_week_ms; /*< [ms] GPS time (from start of GPS week)*/ uint32_t time_week_ms; /*< [ms] GPS time (from start of GPS week)*/
int32_t lat; /*< [degE7] Latitude (WGS84)*/ int32_t lat; /*< [degE7] Latitude (WGS84)*/
int32_t lon; /*< [degE7] Longitude (WGS84)*/ int32_t lon; /*< [degE7] Longitude (WGS84)*/
float alt; /*< [m] Altitude (AMSL). Positive for up.*/ float alt; /*< [m] Altitude (MSL). Positive for up.*/
float hdop; /*< [m] GPS HDOP horizontal dilution of position*/ float hdop; /*< [m] GPS HDOP horizontal dilution of position*/
float vdop; /*< [m] GPS VDOP vertical dilution of position*/ float vdop; /*< [m] GPS VDOP vertical dilution of position*/
float vn; /*< [m/s] GPS velocity in NORTH direction in earth-fixed NED frame*/ float vn; /*< [m/s] GPS velocity in NORTH direction in earth-fixed NED frame*/
...@@ -100,7 +100,7 @@ typedef struct __mavlink_gps_input_t { ...@@ -100,7 +100,7 @@ typedef struct __mavlink_gps_input_t {
* @param fix_type 0-1: no fix, 2: 2D fix, 3: 3D fix. 4: 3D with DGPS. 5: 3D with RTK * @param fix_type 0-1: no fix, 2: 2D fix, 3: 3D fix. 4: 3D with DGPS. 5: 3D with RTK
* @param lat [degE7] Latitude (WGS84) * @param lat [degE7] Latitude (WGS84)
* @param lon [degE7] Longitude (WGS84) * @param lon [degE7] Longitude (WGS84)
* @param alt [m] Altitude (AMSL). Positive for up. * @param alt [m] Altitude (MSL). Positive for up.
* @param hdop [m] GPS HDOP horizontal dilution of position * @param hdop [m] GPS HDOP horizontal dilution of position
* @param vdop [m] GPS VDOP vertical dilution of position * @param vdop [m] GPS VDOP vertical dilution of position
* @param vn [m/s] GPS velocity in NORTH direction in earth-fixed NED frame * @param vn [m/s] GPS velocity in NORTH direction in earth-fixed NED frame
...@@ -179,7 +179,7 @@ static inline uint16_t mavlink_msg_gps_input_pack(uint8_t system_id, uint8_t com ...@@ -179,7 +179,7 @@ static inline uint16_t mavlink_msg_gps_input_pack(uint8_t system_id, uint8_t com
* @param fix_type 0-1: no fix, 2: 2D fix, 3: 3D fix. 4: 3D with DGPS. 5: 3D with RTK * @param fix_type 0-1: no fix, 2: 2D fix, 3: 3D fix. 4: 3D with DGPS. 5: 3D with RTK
* @param lat [degE7] Latitude (WGS84) * @param lat [degE7] Latitude (WGS84)
* @param lon [degE7] Longitude (WGS84) * @param lon [degE7] Longitude (WGS84)
* @param alt [m] Altitude (AMSL). Positive for up. * @param alt [m] Altitude (MSL). Positive for up.
* @param hdop [m] GPS HDOP horizontal dilution of position * @param hdop [m] GPS HDOP horizontal dilution of position
* @param vdop [m] GPS VDOP vertical dilution of position * @param vdop [m] GPS VDOP vertical dilution of position
* @param vn [m/s] GPS velocity in NORTH direction in earth-fixed NED frame * @param vn [m/s] GPS velocity in NORTH direction in earth-fixed NED frame
...@@ -284,7 +284,7 @@ static inline uint16_t mavlink_msg_gps_input_encode_chan(uint8_t system_id, uint ...@@ -284,7 +284,7 @@ static inline uint16_t mavlink_msg_gps_input_encode_chan(uint8_t system_id, uint
* @param fix_type 0-1: no fix, 2: 2D fix, 3: 3D fix. 4: 3D with DGPS. 5: 3D with RTK * @param fix_type 0-1: no fix, 2: 2D fix, 3: 3D fix. 4: 3D with DGPS. 5: 3D with RTK
* @param lat [degE7] Latitude (WGS84) * @param lat [degE7] Latitude (WGS84)
* @param lon [degE7] Longitude (WGS84) * @param lon [degE7] Longitude (WGS84)
* @param alt [m] Altitude (AMSL). Positive for up. * @param alt [m] Altitude (MSL). Positive for up.
* @param hdop [m] GPS HDOP horizontal dilution of position * @param hdop [m] GPS HDOP horizontal dilution of position
* @param vdop [m] GPS VDOP vertical dilution of position * @param vdop [m] GPS VDOP vertical dilution of position
* @param vn [m/s] GPS velocity in NORTH direction in earth-fixed NED frame * @param vn [m/s] GPS velocity in NORTH direction in earth-fixed NED frame
...@@ -506,7 +506,7 @@ static inline int32_t mavlink_msg_gps_input_get_lon(const mavlink_message_t* msg ...@@ -506,7 +506,7 @@ static inline int32_t mavlink_msg_gps_input_get_lon(const mavlink_message_t* msg
/** /**
* @brief Get field alt from gps_input message * @brief Get field alt from gps_input message
* *
* @return [m] Altitude (AMSL). Positive for up. * @return [m] Altitude (MSL). Positive for up.
*/ */
static inline float mavlink_msg_gps_input_get_alt(const mavlink_message_t* msg) static inline float mavlink_msg_gps_input_get_alt(const mavlink_message_t* msg)
{ {
......
...@@ -8,7 +8,7 @@ typedef struct __mavlink_gps_raw_int_t { ...@@ -8,7 +8,7 @@ typedef struct __mavlink_gps_raw_int_t {
uint64_t time_usec; /*< [us] Timestamp (UNIX Epoch time or time since system boot). The receiving end can infer timestamp format (since 1.1.1970 or since system boot) by checking for the magnitude the number.*/ uint64_t time_usec; /*< [us] Timestamp (UNIX Epoch time or time since system boot). The receiving end can infer timestamp format (since 1.1.1970 or since system boot) by checking for the magnitude the number.*/
int32_t lat; /*< [degE7] Latitude (WGS84, EGM96 ellipsoid)*/ int32_t lat; /*< [degE7] Latitude (WGS84, EGM96 ellipsoid)*/
int32_t lon; /*< [degE7] Longitude (WGS84, EGM96 ellipsoid)*/ int32_t lon; /*< [degE7] Longitude (WGS84, EGM96 ellipsoid)*/
int32_t alt; /*< [mm] Altitude (AMSL). Positive for up. Note that virtually all GPS modules provide the AMSL altitude in addition to the WGS84 altitude.*/ int32_t alt; /*< [mm] Altitude (MSL). Positive for up. Note that virtually all GPS modules provide the MSL altitude in addition to the WGS84 altitude.*/
uint16_t eph; /*< GPS HDOP horizontal dilution of position (unitless). If unknown, set to: UINT16_MAX*/ uint16_t eph; /*< GPS HDOP horizontal dilution of position (unitless). If unknown, set to: UINT16_MAX*/
uint16_t epv; /*< GPS VDOP vertical dilution of position (unitless). If unknown, set to: UINT16_MAX*/ uint16_t epv; /*< GPS VDOP vertical dilution of position (unitless). If unknown, set to: UINT16_MAX*/
uint16_t vel; /*< [cm/s] GPS ground speed. If unknown, set to: UINT16_MAX*/ uint16_t vel; /*< [cm/s] GPS ground speed. If unknown, set to: UINT16_MAX*/
...@@ -87,7 +87,7 @@ typedef struct __mavlink_gps_raw_int_t { ...@@ -87,7 +87,7 @@ typedef struct __mavlink_gps_raw_int_t {
* @param fix_type GPS fix type. * @param fix_type GPS fix type.
* @param lat [degE7] Latitude (WGS84, EGM96 ellipsoid) * @param lat [degE7] Latitude (WGS84, EGM96 ellipsoid)
* @param lon [degE7] Longitude (WGS84, EGM96 ellipsoid) * @param lon [degE7] Longitude (WGS84, EGM96 ellipsoid)
* @param alt [mm] Altitude (AMSL). Positive for up. Note that virtually all GPS modules provide the AMSL altitude in addition to the WGS84 altitude. * @param alt [mm] Altitude (MSL). Positive for up. Note that virtually all GPS modules provide the MSL altitude in addition to the WGS84 altitude.
* @param eph GPS HDOP horizontal dilution of position (unitless). If unknown, set to: UINT16_MAX * @param eph GPS HDOP horizontal dilution of position (unitless). If unknown, set to: UINT16_MAX
* @param epv GPS VDOP vertical dilution of position (unitless). If unknown, set to: UINT16_MAX * @param epv GPS VDOP vertical dilution of position (unitless). If unknown, set to: UINT16_MAX
* @param vel [cm/s] GPS ground speed. If unknown, set to: UINT16_MAX * @param vel [cm/s] GPS ground speed. If unknown, set to: UINT16_MAX
...@@ -157,7 +157,7 @@ static inline uint16_t mavlink_msg_gps_raw_int_pack(uint8_t system_id, uint8_t c ...@@ -157,7 +157,7 @@ static inline uint16_t mavlink_msg_gps_raw_int_pack(uint8_t system_id, uint8_t c
* @param fix_type GPS fix type. * @param fix_type GPS fix type.
* @param lat [degE7] Latitude (WGS84, EGM96 ellipsoid) * @param lat [degE7] Latitude (WGS84, EGM96 ellipsoid)
* @param lon [degE7] Longitude (WGS84, EGM96 ellipsoid) * @param lon [degE7] Longitude (WGS84, EGM96 ellipsoid)
* @param alt [mm] Altitude (AMSL). Positive for up. Note that virtually all GPS modules provide the AMSL altitude in addition to the WGS84 altitude. * @param alt [mm] Altitude (MSL). Positive for up. Note that virtually all GPS modules provide the MSL altitude in addition to the WGS84 altitude.
* @param eph GPS HDOP horizontal dilution of position (unitless). If unknown, set to: UINT16_MAX * @param eph GPS HDOP horizontal dilution of position (unitless). If unknown, set to: UINT16_MAX
* @param epv GPS VDOP vertical dilution of position (unitless). If unknown, set to: UINT16_MAX * @param epv GPS VDOP vertical dilution of position (unitless). If unknown, set to: UINT16_MAX
* @param vel [cm/s] GPS ground speed. If unknown, set to: UINT16_MAX * @param vel [cm/s] GPS ground speed. If unknown, set to: UINT16_MAX
...@@ -253,7 +253,7 @@ static inline uint16_t mavlink_msg_gps_raw_int_encode_chan(uint8_t system_id, ui ...@@ -253,7 +253,7 @@ static inline uint16_t mavlink_msg_gps_raw_int_encode_chan(uint8_t system_id, ui
* @param fix_type GPS fix type. * @param fix_type GPS fix type.
* @param lat [degE7] Latitude (WGS84, EGM96 ellipsoid) * @param lat [degE7] Latitude (WGS84, EGM96 ellipsoid)
* @param lon [degE7] Longitude (WGS84, EGM96 ellipsoid) * @param lon [degE7] Longitude (WGS84, EGM96 ellipsoid)
* @param alt [mm] Altitude (AMSL). Positive for up. Note that virtually all GPS modules provide the AMSL altitude in addition to the WGS84 altitude. * @param alt [mm] Altitude (MSL). Positive for up. Note that virtually all GPS modules provide the MSL altitude in addition to the WGS84 altitude.
* @param eph GPS HDOP horizontal dilution of position (unitless). If unknown, set to: UINT16_MAX * @param eph GPS HDOP horizontal dilution of position (unitless). If unknown, set to: UINT16_MAX
* @param epv GPS VDOP vertical dilution of position (unitless). If unknown, set to: UINT16_MAX * @param epv GPS VDOP vertical dilution of position (unitless). If unknown, set to: UINT16_MAX
* @param vel [cm/s] GPS ground speed. If unknown, set to: UINT16_MAX * @param vel [cm/s] GPS ground speed. If unknown, set to: UINT16_MAX
...@@ -424,7 +424,7 @@ static inline int32_t mavlink_msg_gps_raw_int_get_lon(const mavlink_message_t* m ...@@ -424,7 +424,7 @@ static inline int32_t mavlink_msg_gps_raw_int_get_lon(const mavlink_message_t* m
/** /**
* @brief Get field alt from gps_raw_int message * @brief Get field alt from gps_raw_int message
* *
* @return [mm] Altitude (AMSL). Positive for up. Note that virtually all GPS modules provide the AMSL altitude in addition to the WGS84 altitude. * @return [mm] Altitude (MSL). Positive for up. Note that virtually all GPS modules provide the MSL altitude in addition to the WGS84 altitude.
*/ */
static inline int32_t mavlink_msg_gps_raw_int_get_alt(const mavlink_message_t* msg) static inline int32_t mavlink_msg_gps_raw_int_get_alt(const mavlink_message_t* msg)
{ {
......
...@@ -8,7 +8,7 @@ typedef struct __mavlink_hil_gps_t { ...@@ -8,7 +8,7 @@ typedef struct __mavlink_hil_gps_t {
uint64_t time_usec; /*< [us] Timestamp (UNIX Epoch time or time since system boot). The receiving end can infer timestamp format (since 1.1.1970 or since system boot) by checking for the magnitude the number.*/ uint64_t time_usec; /*< [us] Timestamp (UNIX Epoch time or time since system boot). The receiving end can infer timestamp format (since 1.1.1970 or since system boot) by checking for the magnitude the number.*/
int32_t lat; /*< [degE7] Latitude (WGS84)*/ int32_t lat; /*< [degE7] Latitude (WGS84)*/
int32_t lon; /*< [degE7] Longitude (WGS84)*/ int32_t lon; /*< [degE7] Longitude (WGS84)*/
int32_t alt; /*< [mm] Altitude (AMSL). Positive for up.*/ int32_t alt; /*< [mm] Altitude (MSL). Positive for up.*/
uint16_t eph; /*< [cm] GPS HDOP horizontal dilution of position. If unknown, set to: 65535*/ uint16_t eph; /*< [cm] GPS HDOP horizontal dilution of position. If unknown, set to: 65535*/
uint16_t epv; /*< [cm] GPS VDOP vertical dilution of position. If unknown, set to: 65535*/ uint16_t epv; /*< [cm] GPS VDOP vertical dilution of position. If unknown, set to: 65535*/
uint16_t vel; /*< [cm/s] GPS ground speed. If unknown, set to: 65535*/ uint16_t vel; /*< [cm/s] GPS ground speed. If unknown, set to: 65535*/
...@@ -81,7 +81,7 @@ typedef struct __mavlink_hil_gps_t { ...@@ -81,7 +81,7 @@ typedef struct __mavlink_hil_gps_t {
* @param fix_type 0-1: no fix, 2: 2D fix, 3: 3D fix. Some applications will not use the value of this field unless it is at least two, so always correctly fill in the fix. * @param fix_type 0-1: no fix, 2: 2D fix, 3: 3D fix. Some applications will not use the value of this field unless it is at least two, so always correctly fill in the fix.
* @param lat [degE7] Latitude (WGS84) * @param lat [degE7] Latitude (WGS84)
* @param lon [degE7] Longitude (WGS84) * @param lon [degE7] Longitude (WGS84)
* @param alt [mm] Altitude (AMSL). Positive for up. * @param alt [mm] Altitude (MSL). Positive for up.
* @param eph [cm] GPS HDOP horizontal dilution of position. If unknown, set to: 65535 * @param eph [cm] GPS HDOP horizontal dilution of position. If unknown, set to: 65535
* @param epv [cm] GPS VDOP vertical dilution of position. If unknown, set to: 65535 * @param epv [cm] GPS VDOP vertical dilution of position. If unknown, set to: 65535
* @param vel [cm/s] GPS ground speed. If unknown, set to: 65535 * @param vel [cm/s] GPS ground speed. If unknown, set to: 65535
...@@ -145,7 +145,7 @@ static inline uint16_t mavlink_msg_hil_gps_pack(uint8_t system_id, uint8_t compo ...@@ -145,7 +145,7 @@ static inline uint16_t mavlink_msg_hil_gps_pack(uint8_t system_id, uint8_t compo
* @param fix_type 0-1: no fix, 2: 2D fix, 3: 3D fix. Some applications will not use the value of this field unless it is at least two, so always correctly fill in the fix. * @param fix_type 0-1: no fix, 2: 2D fix, 3: 3D fix. Some applications will not use the value of this field unless it is at least two, so always correctly fill in the fix.
* @param lat [degE7] Latitude (WGS84) * @param lat [degE7] Latitude (WGS84)
* @param lon [degE7] Longitude (WGS84) * @param lon [degE7] Longitude (WGS84)
* @param alt [mm] Altitude (AMSL). Positive for up. * @param alt [mm] Altitude (MSL). Positive for up.
* @param eph [cm] GPS HDOP horizontal dilution of position. If unknown, set to: 65535 * @param eph [cm] GPS HDOP horizontal dilution of position. If unknown, set to: 65535
* @param epv [cm] GPS VDOP vertical dilution of position. If unknown, set to: 65535 * @param epv [cm] GPS VDOP vertical dilution of position. If unknown, set to: 65535
* @param vel [cm/s] GPS ground speed. If unknown, set to: 65535 * @param vel [cm/s] GPS ground speed. If unknown, set to: 65535
...@@ -235,7 +235,7 @@ static inline uint16_t mavlink_msg_hil_gps_encode_chan(uint8_t system_id, uint8_ ...@@ -235,7 +235,7 @@ static inline uint16_t mavlink_msg_hil_gps_encode_chan(uint8_t system_id, uint8_
* @param fix_type 0-1: no fix, 2: 2D fix, 3: 3D fix. Some applications will not use the value of this field unless it is at least two, so always correctly fill in the fix. * @param fix_type 0-1: no fix, 2: 2D fix, 3: 3D fix. Some applications will not use the value of this field unless it is at least two, so always correctly fill in the fix.
* @param lat [degE7] Latitude (WGS84) * @param lat [degE7] Latitude (WGS84)
* @param lon [degE7] Longitude (WGS84) * @param lon [degE7] Longitude (WGS84)
* @param alt [mm] Altitude (AMSL). Positive for up. * @param alt [mm] Altitude (MSL). Positive for up.
* @param eph [cm] GPS HDOP horizontal dilution of position. If unknown, set to: 65535 * @param eph [cm] GPS HDOP horizontal dilution of position. If unknown, set to: 65535
* @param epv [cm] GPS VDOP vertical dilution of position. If unknown, set to: 65535 * @param epv [cm] GPS VDOP vertical dilution of position. If unknown, set to: 65535
* @param vel [cm/s] GPS ground speed. If unknown, set to: 65535 * @param vel [cm/s] GPS ground speed. If unknown, set to: 65535
...@@ -396,7 +396,7 @@ static inline int32_t mavlink_msg_hil_gps_get_lon(const mavlink_message_t* msg) ...@@ -396,7 +396,7 @@ static inline int32_t mavlink_msg_hil_gps_get_lon(const mavlink_message_t* msg)
/** /**
* @brief Get field alt from hil_gps message * @brief Get field alt from hil_gps message
* *
* @return [mm] Altitude (AMSL). Positive for up. * @return [mm] Altitude (MSL). Positive for up.
*/ */
static inline int32_t mavlink_msg_hil_gps_get_alt(const mavlink_message_t* msg) static inline int32_t mavlink_msg_hil_gps_get_alt(const mavlink_message_t* msg)
{ {
......
...@@ -7,7 +7,7 @@ MAVPACKED( ...@@ -7,7 +7,7 @@ MAVPACKED(
typedef struct __mavlink_home_position_t { typedef struct __mavlink_home_position_t {
int32_t latitude; /*< [degE7] Latitude (WGS84)*/ int32_t latitude; /*< [degE7] Latitude (WGS84)*/
int32_t longitude; /*< [degE7] Longitude (WGS84)*/ int32_t longitude; /*< [degE7] Longitude (WGS84)*/
int32_t altitude; /*< [mm] Altitude (AMSL). Positive for up.*/ int32_t altitude; /*< [mm] Altitude (MSL). Positive for up.*/
float x; /*< [m] Local X position of this position in the local coordinate frame*/ float x; /*< [m] Local X position of this position in the local coordinate frame*/
float y; /*< [m] Local Y position of this position in the local coordinate frame*/ float y; /*< [m] Local Y position of this position in the local coordinate frame*/
float z; /*< [m] Local Z position of this position in the local coordinate frame*/ float z; /*< [m] Local Z position of this position in the local coordinate frame*/
...@@ -73,7 +73,7 @@ typedef struct __mavlink_home_position_t { ...@@ -73,7 +73,7 @@ typedef struct __mavlink_home_position_t {
* *
* @param latitude [degE7] Latitude (WGS84) * @param latitude [degE7] Latitude (WGS84)
* @param longitude [degE7] Longitude (WGS84) * @param longitude [degE7] Longitude (WGS84)
* @param altitude [mm] Altitude (AMSL). Positive for up. * @param altitude [mm] Altitude (MSL). Positive for up.
* @param x [m] Local X position of this position in the local coordinate frame * @param x [m] Local X position of this position in the local coordinate frame
* @param y [m] Local Y position of this position in the local coordinate frame * @param y [m] Local Y position of this position in the local coordinate frame
* @param z [m] Local Z position of this position in the local coordinate frame * @param z [m] Local Z position of this position in the local coordinate frame
...@@ -129,7 +129,7 @@ static inline uint16_t mavlink_msg_home_position_pack(uint8_t system_id, uint8_t ...@@ -129,7 +129,7 @@ static inline uint16_t mavlink_msg_home_position_pack(uint8_t system_id, uint8_t
* @param msg The MAVLink message to compress the data into * @param msg The MAVLink message to compress the data into
* @param latitude [degE7] Latitude (WGS84) * @param latitude [degE7] Latitude (WGS84)
* @param longitude [degE7] Longitude (WGS84) * @param longitude [degE7] Longitude (WGS84)
* @param altitude [mm] Altitude (AMSL). Positive for up. * @param altitude [mm] Altitude (MSL). Positive for up.
* @param x [m] Local X position of this position in the local coordinate frame * @param x [m] Local X position of this position in the local coordinate frame
* @param y [m] Local Y position of this position in the local coordinate frame * @param y [m] Local Y position of this position in the local coordinate frame
* @param z [m] Local Z position of this position in the local coordinate frame * @param z [m] Local Z position of this position in the local coordinate frame
...@@ -211,7 +211,7 @@ static inline uint16_t mavlink_msg_home_position_encode_chan(uint8_t system_id, ...@@ -211,7 +211,7 @@ static inline uint16_t mavlink_msg_home_position_encode_chan(uint8_t system_id,
* *
* @param latitude [degE7] Latitude (WGS84) * @param latitude [degE7] Latitude (WGS84)
* @param longitude [degE7] Longitude (WGS84) * @param longitude [degE7] Longitude (WGS84)
* @param altitude [mm] Altitude (AMSL). Positive for up. * @param altitude [mm] Altitude (MSL). Positive for up.
* @param x [m] Local X position of this position in the local coordinate frame * @param x [m] Local X position of this position in the local coordinate frame
* @param y [m] Local Y position of this position in the local coordinate frame * @param y [m] Local Y position of this position in the local coordinate frame
* @param z [m] Local Z position of this position in the local coordinate frame * @param z [m] Local Z position of this position in the local coordinate frame
...@@ -340,7 +340,7 @@ static inline int32_t mavlink_msg_home_position_get_longitude(const mavlink_mess ...@@ -340,7 +340,7 @@ static inline int32_t mavlink_msg_home_position_get_longitude(const mavlink_mess
/** /**
* @brief Get field altitude from home_position message * @brief Get field altitude from home_position message
* *
* @return [mm] Altitude (AMSL). Positive for up. * @return [mm] Altitude (MSL). Positive for up.
*/ */
static inline int32_t mavlink_msg_home_position_get_altitude(const mavlink_message_t* msg) static inline int32_t mavlink_msg_home_position_get_altitude(const mavlink_message_t* msg)
{ {
......
...@@ -8,7 +8,7 @@ typedef struct __mavlink_position_target_global_int_t { ...@@ -8,7 +8,7 @@ typedef struct __mavlink_position_target_global_int_t {
uint32_t time_boot_ms; /*< [ms] Timestamp (time since system boot). The rationale for the timestamp in the setpoint is to allow the system to compensate for the transport delay of the setpoint. This allows the system to compensate processing latency.*/ uint32_t time_boot_ms; /*< [ms] Timestamp (time since system boot). The rationale for the timestamp in the setpoint is to allow the system to compensate for the transport delay of the setpoint. This allows the system to compensate processing latency.*/
int32_t lat_int; /*< [degE7] X Position in WGS84 frame*/ int32_t lat_int; /*< [degE7] X Position in WGS84 frame*/
int32_t lon_int; /*< [degE7] Y Position in WGS84 frame*/ int32_t lon_int; /*< [degE7] Y Position in WGS84 frame*/
float alt; /*< [m] Altitude (AMSL) if absolute or relative, above terrain if GLOBAL_TERRAIN_ALT_INT*/ float alt; /*< [m] Altitude (MSL, AGL or relative to home altitude, depending on frame)*/
float vx; /*< [m/s] X velocity in NED frame*/ float vx; /*< [m/s] X velocity in NED frame*/
float vy; /*< [m/s] Y velocity in NED frame*/ float vy; /*< [m/s] Y velocity in NED frame*/
float vz; /*< [m/s] Z velocity in NED frame*/ float vz; /*< [m/s] Z velocity in NED frame*/
...@@ -85,7 +85,7 @@ typedef struct __mavlink_position_target_global_int_t { ...@@ -85,7 +85,7 @@ typedef struct __mavlink_position_target_global_int_t {
* @param type_mask Bitmap to indicate which dimensions should be ignored by the vehicle. * @param type_mask Bitmap to indicate which dimensions should be ignored by the vehicle.
* @param lat_int [degE7] X Position in WGS84 frame * @param lat_int [degE7] X Position in WGS84 frame
* @param lon_int [degE7] Y Position in WGS84 frame * @param lon_int [degE7] Y Position in WGS84 frame
* @param alt [m] Altitude (AMSL) if absolute or relative, above terrain if GLOBAL_TERRAIN_ALT_INT * @param alt [m] Altitude (MSL, AGL or relative to home altitude, depending on frame)
* @param vx [m/s] X velocity in NED frame * @param vx [m/s] X velocity in NED frame
* @param vy [m/s] Y velocity in NED frame * @param vy [m/s] Y velocity in NED frame
* @param vz [m/s] Z velocity in NED frame * @param vz [m/s] Z velocity in NED frame
...@@ -152,7 +152,7 @@ static inline uint16_t mavlink_msg_position_target_global_int_pack(uint8_t syste ...@@ -152,7 +152,7 @@ static inline uint16_t mavlink_msg_position_target_global_int_pack(uint8_t syste
* @param type_mask Bitmap to indicate which dimensions should be ignored by the vehicle. * @param type_mask Bitmap to indicate which dimensions should be ignored by the vehicle.
* @param lat_int [degE7] X Position in WGS84 frame * @param lat_int [degE7] X Position in WGS84 frame
* @param lon_int [degE7] Y Position in WGS84 frame * @param lon_int [degE7] Y Position in WGS84 frame
* @param alt [m] Altitude (AMSL) if absolute or relative, above terrain if GLOBAL_TERRAIN_ALT_INT * @param alt [m] Altitude (MSL, AGL or relative to home altitude, depending on frame)
* @param vx [m/s] X velocity in NED frame * @param vx [m/s] X velocity in NED frame
* @param vy [m/s] Y velocity in NED frame * @param vy [m/s] Y velocity in NED frame
* @param vz [m/s] Z velocity in NED frame * @param vz [m/s] Z velocity in NED frame
...@@ -245,7 +245,7 @@ static inline uint16_t mavlink_msg_position_target_global_int_encode_chan(uint8_ ...@@ -245,7 +245,7 @@ static inline uint16_t mavlink_msg_position_target_global_int_encode_chan(uint8_
* @param type_mask Bitmap to indicate which dimensions should be ignored by the vehicle. * @param type_mask Bitmap to indicate which dimensions should be ignored by the vehicle.
* @param lat_int [degE7] X Position in WGS84 frame * @param lat_int [degE7] X Position in WGS84 frame
* @param lon_int [degE7] Y Position in WGS84 frame * @param lon_int [degE7] Y Position in WGS84 frame
* @param alt [m] Altitude (AMSL) if absolute or relative, above terrain if GLOBAL_TERRAIN_ALT_INT * @param alt [m] Altitude (MSL, AGL or relative to home altitude, depending on frame)
* @param vx [m/s] X velocity in NED frame * @param vx [m/s] X velocity in NED frame
* @param vy [m/s] Y velocity in NED frame * @param vy [m/s] Y velocity in NED frame
* @param vz [m/s] Z velocity in NED frame * @param vz [m/s] Z velocity in NED frame
...@@ -420,7 +420,7 @@ static inline int32_t mavlink_msg_position_target_global_int_get_lon_int(const m ...@@ -420,7 +420,7 @@ static inline int32_t mavlink_msg_position_target_global_int_get_lon_int(const m
/** /**
* @brief Get field alt from position_target_global_int message * @brief Get field alt from position_target_global_int message
* *
* @return [m] Altitude (AMSL) if absolute or relative, above terrain if GLOBAL_TERRAIN_ALT_INT * @return [m] Altitude (MSL, AGL or relative to home altitude, depending on frame)
*/ */
static inline float mavlink_msg_position_target_global_int_get_alt(const mavlink_message_t* msg) static inline float mavlink_msg_position_target_global_int_get_alt(const mavlink_message_t* msg)
{ {
......
...@@ -7,7 +7,7 @@ MAVPACKED( ...@@ -7,7 +7,7 @@ MAVPACKED(
typedef struct __mavlink_set_gps_global_origin_t { typedef struct __mavlink_set_gps_global_origin_t {
int32_t latitude; /*< [degE7] Latitude (WGS84)*/ int32_t latitude; /*< [degE7] Latitude (WGS84)*/
int32_t longitude; /*< [degE7] Longitude (WGS84)*/ int32_t longitude; /*< [degE7] Longitude (WGS84)*/
int32_t altitude; /*< [mm] Altitude (AMSL). Positive for up.*/ int32_t altitude; /*< [mm] Altitude (MSL). Positive for up.*/
uint8_t target_system; /*< System ID*/ uint8_t target_system; /*< System ID*/
uint64_t time_usec; /*< [us] Timestamp (UNIX Epoch time or time since system boot). The receiving end can infer timestamp format (since 1.1.1970 or since system boot) by checking for the magnitude the number.*/ uint64_t time_usec; /*< [us] Timestamp (UNIX Epoch time or time since system boot). The receiving end can infer timestamp format (since 1.1.1970 or since system boot) by checking for the magnitude the number.*/
}) mavlink_set_gps_global_origin_t; }) mavlink_set_gps_global_origin_t;
...@@ -56,7 +56,7 @@ typedef struct __mavlink_set_gps_global_origin_t { ...@@ -56,7 +56,7 @@ typedef struct __mavlink_set_gps_global_origin_t {
* @param target_system System ID * @param target_system System ID
* @param latitude [degE7] Latitude (WGS84) * @param latitude [degE7] Latitude (WGS84)
* @param longitude [degE7] Longitude (WGS84) * @param longitude [degE7] Longitude (WGS84)
* @param altitude [mm] Altitude (AMSL). Positive for up. * @param altitude [mm] Altitude (MSL). Positive for up.
* @param time_usec [us] Timestamp (UNIX Epoch time or time since system boot). The receiving end can infer timestamp format (since 1.1.1970 or since system boot) by checking for the magnitude the number. * @param time_usec [us] Timestamp (UNIX Epoch time or time since system boot). The receiving end can infer timestamp format (since 1.1.1970 or since system boot) by checking for the magnitude the number.
* @return length of the message in bytes (excluding serial stream start sign) * @return length of the message in bytes (excluding serial stream start sign)
*/ */
...@@ -96,7 +96,7 @@ static inline uint16_t mavlink_msg_set_gps_global_origin_pack(uint8_t system_id, ...@@ -96,7 +96,7 @@ static inline uint16_t mavlink_msg_set_gps_global_origin_pack(uint8_t system_id,
* @param target_system System ID * @param target_system System ID
* @param latitude [degE7] Latitude (WGS84) * @param latitude [degE7] Latitude (WGS84)
* @param longitude [degE7] Longitude (WGS84) * @param longitude [degE7] Longitude (WGS84)
* @param altitude [mm] Altitude (AMSL). Positive for up. * @param altitude [mm] Altitude (MSL). Positive for up.
* @param time_usec [us] Timestamp (UNIX Epoch time or time since system boot). The receiving end can infer timestamp format (since 1.1.1970 or since system boot) by checking for the magnitude the number. * @param time_usec [us] Timestamp (UNIX Epoch time or time since system boot). The receiving end can infer timestamp format (since 1.1.1970 or since system boot) by checking for the magnitude the number.
* @return length of the message in bytes (excluding serial stream start sign) * @return length of the message in bytes (excluding serial stream start sign)
*/ */
...@@ -162,7 +162,7 @@ static inline uint16_t mavlink_msg_set_gps_global_origin_encode_chan(uint8_t sys ...@@ -162,7 +162,7 @@ static inline uint16_t mavlink_msg_set_gps_global_origin_encode_chan(uint8_t sys
* @param target_system System ID * @param target_system System ID
* @param latitude [degE7] Latitude (WGS84) * @param latitude [degE7] Latitude (WGS84)
* @param longitude [degE7] Longitude (WGS84) * @param longitude [degE7] Longitude (WGS84)
* @param altitude [mm] Altitude (AMSL). Positive for up. * @param altitude [mm] Altitude (MSL). Positive for up.
* @param time_usec [us] Timestamp (UNIX Epoch time or time since system boot). The receiving end can infer timestamp format (since 1.1.1970 or since system boot) by checking for the magnitude the number. * @param time_usec [us] Timestamp (UNIX Epoch time or time since system boot). The receiving end can infer timestamp format (since 1.1.1970 or since system boot) by checking for the magnitude the number.
*/ */
#ifdef MAVLINK_USE_CONVENIENCE_FUNCTIONS #ifdef MAVLINK_USE_CONVENIENCE_FUNCTIONS
...@@ -274,7 +274,7 @@ static inline int32_t mavlink_msg_set_gps_global_origin_get_longitude(const mavl ...@@ -274,7 +274,7 @@ static inline int32_t mavlink_msg_set_gps_global_origin_get_longitude(const mavl
/** /**
* @brief Get field altitude from set_gps_global_origin message * @brief Get field altitude from set_gps_global_origin message
* *
* @return [mm] Altitude (AMSL). Positive for up. * @return [mm] Altitude (MSL). Positive for up.
*/ */
static inline int32_t mavlink_msg_set_gps_global_origin_get_altitude(const mavlink_message_t* msg) static inline int32_t mavlink_msg_set_gps_global_origin_get_altitude(const mavlink_message_t* msg)
{ {
......
...@@ -7,7 +7,7 @@ MAVPACKED( ...@@ -7,7 +7,7 @@ MAVPACKED(
typedef struct __mavlink_set_home_position_t { typedef struct __mavlink_set_home_position_t {
int32_t latitude; /*< [degE7] Latitude (WGS84)*/ int32_t latitude; /*< [degE7] Latitude (WGS84)*/
int32_t longitude; /*< [degE7] Longitude (WGS84)*/ int32_t longitude; /*< [degE7] Longitude (WGS84)*/
int32_t altitude; /*< [mm] Altitude (AMSL). Positive for up.*/ int32_t altitude; /*< [mm] Altitude (MSL). Positive for up.*/
float x; /*< [m] Local X position of this position in the local coordinate frame*/ float x; /*< [m] Local X position of this position in the local coordinate frame*/
float y; /*< [m] Local Y position of this position in the local coordinate frame*/ float y; /*< [m] Local Y position of this position in the local coordinate frame*/
float z; /*< [m] Local Z position of this position in the local coordinate frame*/ float z; /*< [m] Local Z position of this position in the local coordinate frame*/
...@@ -77,7 +77,7 @@ typedef struct __mavlink_set_home_position_t { ...@@ -77,7 +77,7 @@ typedef struct __mavlink_set_home_position_t {
* @param target_system System ID. * @param target_system System ID.
* @param latitude [degE7] Latitude (WGS84) * @param latitude [degE7] Latitude (WGS84)
* @param longitude [degE7] Longitude (WGS84) * @param longitude [degE7] Longitude (WGS84)
* @param altitude [mm] Altitude (AMSL). Positive for up. * @param altitude [mm] Altitude (MSL). Positive for up.
* @param x [m] Local X position of this position in the local coordinate frame * @param x [m] Local X position of this position in the local coordinate frame
* @param y [m] Local Y position of this position in the local coordinate frame * @param y [m] Local Y position of this position in the local coordinate frame
* @param z [m] Local Z position of this position in the local coordinate frame * @param z [m] Local Z position of this position in the local coordinate frame
...@@ -136,7 +136,7 @@ static inline uint16_t mavlink_msg_set_home_position_pack(uint8_t system_id, uin ...@@ -136,7 +136,7 @@ static inline uint16_t mavlink_msg_set_home_position_pack(uint8_t system_id, uin
* @param target_system System ID. * @param target_system System ID.
* @param latitude [degE7] Latitude (WGS84) * @param latitude [degE7] Latitude (WGS84)
* @param longitude [degE7] Longitude (WGS84) * @param longitude [degE7] Longitude (WGS84)
* @param altitude [mm] Altitude (AMSL). Positive for up. * @param altitude [mm] Altitude (MSL). Positive for up.
* @param x [m] Local X position of this position in the local coordinate frame * @param x [m] Local X position of this position in the local coordinate frame
* @param y [m] Local Y position of this position in the local coordinate frame * @param y [m] Local Y position of this position in the local coordinate frame
* @param z [m] Local Z position of this position in the local coordinate frame * @param z [m] Local Z position of this position in the local coordinate frame
...@@ -221,7 +221,7 @@ static inline uint16_t mavlink_msg_set_home_position_encode_chan(uint8_t system_ ...@@ -221,7 +221,7 @@ static inline uint16_t mavlink_msg_set_home_position_encode_chan(uint8_t system_
* @param target_system System ID. * @param target_system System ID.
* @param latitude [degE7] Latitude (WGS84) * @param latitude [degE7] Latitude (WGS84)
* @param longitude [degE7] Longitude (WGS84) * @param longitude [degE7] Longitude (WGS84)
* @param altitude [mm] Altitude (AMSL). Positive for up. * @param altitude [mm] Altitude (MSL). Positive for up.
* @param x [m] Local X position of this position in the local coordinate frame * @param x [m] Local X position of this position in the local coordinate frame
* @param y [m] Local Y position of this position in the local coordinate frame * @param y [m] Local Y position of this position in the local coordinate frame
* @param z [m] Local Z position of this position in the local coordinate frame * @param z [m] Local Z position of this position in the local coordinate frame
...@@ -364,7 +364,7 @@ static inline int32_t mavlink_msg_set_home_position_get_longitude(const mavlink_ ...@@ -364,7 +364,7 @@ static inline int32_t mavlink_msg_set_home_position_get_longitude(const mavlink_
/** /**
* @brief Get field altitude from set_home_position message * @brief Get field altitude from set_home_position message
* *
* @return [mm] Altitude (AMSL). Positive for up. * @return [mm] Altitude (MSL). Positive for up.
*/ */
static inline int32_t mavlink_msg_set_home_position_get_altitude(const mavlink_message_t* msg) static inline int32_t mavlink_msg_set_home_position_get_altitude(const mavlink_message_t* msg)
{ {
......
...@@ -8,7 +8,7 @@ typedef struct __mavlink_set_position_target_global_int_t { ...@@ -8,7 +8,7 @@ typedef struct __mavlink_set_position_target_global_int_t {
uint32_t time_boot_ms; /*< [ms] Timestamp (time since system boot). The rationale for the timestamp in the setpoint is to allow the system to compensate for the transport delay of the setpoint. This allows the system to compensate processing latency.*/ uint32_t time_boot_ms; /*< [ms] Timestamp (time since system boot). The rationale for the timestamp in the setpoint is to allow the system to compensate for the transport delay of the setpoint. This allows the system to compensate processing latency.*/
int32_t lat_int; /*< [degE7] X Position in WGS84 frame*/ int32_t lat_int; /*< [degE7] X Position in WGS84 frame*/
int32_t lon_int; /*< [degE7] Y Position in WGS84 frame*/ int32_t lon_int; /*< [degE7] Y Position in WGS84 frame*/
float alt; /*< [m] Altitude (AMSL) if absolute or relative, above terrain if GLOBAL_TERRAIN_ALT_INT*/ float alt; /*< [m] Altitude (MSL, Relative to home, or AGL - depending on frame)*/
float vx; /*< [m/s] X velocity in NED frame*/ float vx; /*< [m/s] X velocity in NED frame*/
float vy; /*< [m/s] Y velocity in NED frame*/ float vy; /*< [m/s] Y velocity in NED frame*/
float vz; /*< [m/s] Z velocity in NED frame*/ float vz; /*< [m/s] Z velocity in NED frame*/
...@@ -93,7 +93,7 @@ typedef struct __mavlink_set_position_target_global_int_t { ...@@ -93,7 +93,7 @@ typedef struct __mavlink_set_position_target_global_int_t {
* @param type_mask Bitmap to indicate which dimensions should be ignored by the vehicle. * @param type_mask Bitmap to indicate which dimensions should be ignored by the vehicle.
* @param lat_int [degE7] X Position in WGS84 frame * @param lat_int [degE7] X Position in WGS84 frame
* @param lon_int [degE7] Y Position in WGS84 frame * @param lon_int [degE7] Y Position in WGS84 frame
* @param alt [m] Altitude (AMSL) if absolute or relative, above terrain if GLOBAL_TERRAIN_ALT_INT * @param alt [m] Altitude (MSL, Relative to home, or AGL - depending on frame)
* @param vx [m/s] X velocity in NED frame * @param vx [m/s] X velocity in NED frame
* @param vy [m/s] Y velocity in NED frame * @param vy [m/s] Y velocity in NED frame
* @param vz [m/s] Z velocity in NED frame * @param vz [m/s] Z velocity in NED frame
...@@ -166,7 +166,7 @@ static inline uint16_t mavlink_msg_set_position_target_global_int_pack(uint8_t s ...@@ -166,7 +166,7 @@ static inline uint16_t mavlink_msg_set_position_target_global_int_pack(uint8_t s
* @param type_mask Bitmap to indicate which dimensions should be ignored by the vehicle. * @param type_mask Bitmap to indicate which dimensions should be ignored by the vehicle.
* @param lat_int [degE7] X Position in WGS84 frame * @param lat_int [degE7] X Position in WGS84 frame
* @param lon_int [degE7] Y Position in WGS84 frame * @param lon_int [degE7] Y Position in WGS84 frame
* @param alt [m] Altitude (AMSL) if absolute or relative, above terrain if GLOBAL_TERRAIN_ALT_INT * @param alt [m] Altitude (MSL, Relative to home, or AGL - depending on frame)
* @param vx [m/s] X velocity in NED frame * @param vx [m/s] X velocity in NED frame
* @param vy [m/s] Y velocity in NED frame * @param vy [m/s] Y velocity in NED frame
* @param vz [m/s] Z velocity in NED frame * @param vz [m/s] Z velocity in NED frame
...@@ -265,7 +265,7 @@ static inline uint16_t mavlink_msg_set_position_target_global_int_encode_chan(ui ...@@ -265,7 +265,7 @@ static inline uint16_t mavlink_msg_set_position_target_global_int_encode_chan(ui
* @param type_mask Bitmap to indicate which dimensions should be ignored by the vehicle. * @param type_mask Bitmap to indicate which dimensions should be ignored by the vehicle.
* @param lat_int [degE7] X Position in WGS84 frame * @param lat_int [degE7] X Position in WGS84 frame
* @param lon_int [degE7] Y Position in WGS84 frame * @param lon_int [degE7] Y Position in WGS84 frame
* @param alt [m] Altitude (AMSL) if absolute or relative, above terrain if GLOBAL_TERRAIN_ALT_INT * @param alt [m] Altitude (MSL, Relative to home, or AGL - depending on frame)
* @param vx [m/s] X velocity in NED frame * @param vx [m/s] X velocity in NED frame
* @param vy [m/s] Y velocity in NED frame * @param vy [m/s] Y velocity in NED frame
* @param vz [m/s] Z velocity in NED frame * @param vz [m/s] Z velocity in NED frame
...@@ -468,7 +468,7 @@ static inline int32_t mavlink_msg_set_position_target_global_int_get_lon_int(con ...@@ -468,7 +468,7 @@ static inline int32_t mavlink_msg_set_position_target_global_int_get_lon_int(con
/** /**
* @brief Get field alt from set_position_target_global_int message * @brief Get field alt from set_position_target_global_int message
* *
* @return [m] Altitude (AMSL) if absolute or relative, above terrain if GLOBAL_TERRAIN_ALT_INT * @return [m] Altitude (MSL, Relative to home, or AGL - depending on frame)
*/ */
static inline float mavlink_msg_set_position_target_global_int_get_alt(const mavlink_message_t* msg) static inline float mavlink_msg_set_position_target_global_int_get_alt(const mavlink_message_t* msg)
{ {
......
...@@ -8,7 +8,7 @@ typedef struct __mavlink_terrain_data_t { ...@@ -8,7 +8,7 @@ typedef struct __mavlink_terrain_data_t {
int32_t lat; /*< [degE7] Latitude of SW corner of first grid*/ int32_t lat; /*< [degE7] Latitude of SW corner of first grid*/
int32_t lon; /*< [degE7] Longitude of SW corner of first grid*/ int32_t lon; /*< [degE7] Longitude of SW corner of first grid*/
uint16_t grid_spacing; /*< [m] Grid spacing*/ uint16_t grid_spacing; /*< [m] Grid spacing*/
int16_t data[16]; /*< [m] Terrain data AMSL*/ int16_t data[16]; /*< [m] Terrain data MSL*/
uint8_t gridbit; /*< bit within the terrain request mask*/ uint8_t gridbit; /*< bit within the terrain request mask*/
}) mavlink_terrain_data_t; }) mavlink_terrain_data_t;
...@@ -57,7 +57,7 @@ typedef struct __mavlink_terrain_data_t { ...@@ -57,7 +57,7 @@ typedef struct __mavlink_terrain_data_t {
* @param lon [degE7] Longitude of SW corner of first grid * @param lon [degE7] Longitude of SW corner of first grid
* @param grid_spacing [m] Grid spacing * @param grid_spacing [m] Grid spacing
* @param gridbit bit within the terrain request mask * @param gridbit bit within the terrain request mask
* @param data [m] Terrain data AMSL * @param data [m] Terrain data MSL
* @return length of the message in bytes (excluding serial stream start sign) * @return length of the message in bytes (excluding serial stream start sign)
*/ */
static inline uint16_t mavlink_msg_terrain_data_pack(uint8_t system_id, uint8_t component_id, mavlink_message_t* msg, static inline uint16_t mavlink_msg_terrain_data_pack(uint8_t system_id, uint8_t component_id, mavlink_message_t* msg,
...@@ -95,7 +95,7 @@ static inline uint16_t mavlink_msg_terrain_data_pack(uint8_t system_id, uint8_t ...@@ -95,7 +95,7 @@ static inline uint16_t mavlink_msg_terrain_data_pack(uint8_t system_id, uint8_t
* @param lon [degE7] Longitude of SW corner of first grid * @param lon [degE7] Longitude of SW corner of first grid
* @param grid_spacing [m] Grid spacing * @param grid_spacing [m] Grid spacing
* @param gridbit bit within the terrain request mask * @param gridbit bit within the terrain request mask
* @param data [m] Terrain data AMSL * @param data [m] Terrain data MSL
* @return length of the message in bytes (excluding serial stream start sign) * @return length of the message in bytes (excluding serial stream start sign)
*/ */
static inline uint16_t mavlink_msg_terrain_data_pack_chan(uint8_t system_id, uint8_t component_id, uint8_t chan, static inline uint16_t mavlink_msg_terrain_data_pack_chan(uint8_t system_id, uint8_t component_id, uint8_t chan,
...@@ -159,7 +159,7 @@ static inline uint16_t mavlink_msg_terrain_data_encode_chan(uint8_t system_id, u ...@@ -159,7 +159,7 @@ static inline uint16_t mavlink_msg_terrain_data_encode_chan(uint8_t system_id, u
* @param lon [degE7] Longitude of SW corner of first grid * @param lon [degE7] Longitude of SW corner of first grid
* @param grid_spacing [m] Grid spacing * @param grid_spacing [m] Grid spacing
* @param gridbit bit within the terrain request mask * @param gridbit bit within the terrain request mask
* @param data [m] Terrain data AMSL * @param data [m] Terrain data MSL
*/ */
#ifdef MAVLINK_USE_CONVENIENCE_FUNCTIONS #ifdef MAVLINK_USE_CONVENIENCE_FUNCTIONS
...@@ -276,7 +276,7 @@ static inline uint8_t mavlink_msg_terrain_data_get_gridbit(const mavlink_message ...@@ -276,7 +276,7 @@ static inline uint8_t mavlink_msg_terrain_data_get_gridbit(const mavlink_message
/** /**
* @brief Get field data from terrain_data message * @brief Get field data from terrain_data message
* *
* @return [m] Terrain data AMSL * @return [m] Terrain data MSL
*/ */
static inline uint16_t mavlink_msg_terrain_data_get_data(const mavlink_message_t* msg, int16_t *data) static inline uint16_t mavlink_msg_terrain_data_get_data(const mavlink_message_t* msg, int16_t *data)
{ {
......
...@@ -7,7 +7,7 @@ MAVPACKED( ...@@ -7,7 +7,7 @@ MAVPACKED(
typedef struct __mavlink_terrain_report_t { typedef struct __mavlink_terrain_report_t {
int32_t lat; /*< [degE7] Latitude*/ int32_t lat; /*< [degE7] Latitude*/
int32_t lon; /*< [degE7] Longitude*/ int32_t lon; /*< [degE7] Longitude*/
float terrain_height; /*< [m] Terrain height AMSL*/ float terrain_height; /*< [m] Terrain height MSL*/
float current_height; /*< [m] Current vehicle height above lat/lon terrain height*/ float current_height; /*< [m] Current vehicle height above lat/lon terrain height*/
uint16_t spacing; /*< grid spacing (zero if terrain at this location unavailable)*/ uint16_t spacing; /*< grid spacing (zero if terrain at this location unavailable)*/
uint16_t pending; /*< Number of 4x4 terrain blocks waiting to be received or read from disk*/ uint16_t pending; /*< Number of 4x4 terrain blocks waiting to be received or read from disk*/
...@@ -62,7 +62,7 @@ typedef struct __mavlink_terrain_report_t { ...@@ -62,7 +62,7 @@ typedef struct __mavlink_terrain_report_t {
* @param lat [degE7] Latitude * @param lat [degE7] Latitude
* @param lon [degE7] Longitude * @param lon [degE7] Longitude
* @param spacing grid spacing (zero if terrain at this location unavailable) * @param spacing grid spacing (zero if terrain at this location unavailable)
* @param terrain_height [m] Terrain height AMSL * @param terrain_height [m] Terrain height MSL
* @param current_height [m] Current vehicle height above lat/lon terrain height * @param current_height [m] Current vehicle height above lat/lon terrain height
* @param pending Number of 4x4 terrain blocks waiting to be received or read from disk * @param pending Number of 4x4 terrain blocks waiting to be received or read from disk
* @param loaded Number of 4x4 terrain blocks in memory * @param loaded Number of 4x4 terrain blocks in memory
...@@ -108,7 +108,7 @@ static inline uint16_t mavlink_msg_terrain_report_pack(uint8_t system_id, uint8_ ...@@ -108,7 +108,7 @@ static inline uint16_t mavlink_msg_terrain_report_pack(uint8_t system_id, uint8_
* @param lat [degE7] Latitude * @param lat [degE7] Latitude
* @param lon [degE7] Longitude * @param lon [degE7] Longitude
* @param spacing grid spacing (zero if terrain at this location unavailable) * @param spacing grid spacing (zero if terrain at this location unavailable)
* @param terrain_height [m] Terrain height AMSL * @param terrain_height [m] Terrain height MSL
* @param current_height [m] Current vehicle height above lat/lon terrain height * @param current_height [m] Current vehicle height above lat/lon terrain height
* @param pending Number of 4x4 terrain blocks waiting to be received or read from disk * @param pending Number of 4x4 terrain blocks waiting to be received or read from disk
* @param loaded Number of 4x4 terrain blocks in memory * @param loaded Number of 4x4 terrain blocks in memory
...@@ -180,7 +180,7 @@ static inline uint16_t mavlink_msg_terrain_report_encode_chan(uint8_t system_id, ...@@ -180,7 +180,7 @@ static inline uint16_t mavlink_msg_terrain_report_encode_chan(uint8_t system_id,
* @param lat [degE7] Latitude * @param lat [degE7] Latitude
* @param lon [degE7] Longitude * @param lon [degE7] Longitude
* @param spacing grid spacing (zero if terrain at this location unavailable) * @param spacing grid spacing (zero if terrain at this location unavailable)
* @param terrain_height [m] Terrain height AMSL * @param terrain_height [m] Terrain height MSL
* @param current_height [m] Current vehicle height above lat/lon terrain height * @param current_height [m] Current vehicle height above lat/lon terrain height
* @param pending Number of 4x4 terrain blocks waiting to be received or read from disk * @param pending Number of 4x4 terrain blocks waiting to be received or read from disk
* @param loaded Number of 4x4 terrain blocks in memory * @param loaded Number of 4x4 terrain blocks in memory
...@@ -302,7 +302,7 @@ static inline uint16_t mavlink_msg_terrain_report_get_spacing(const mavlink_mess ...@@ -302,7 +302,7 @@ static inline uint16_t mavlink_msg_terrain_report_get_spacing(const mavlink_mess
/** /**
* @brief Get field terrain_height from terrain_report message * @brief Get field terrain_height from terrain_report message
* *
* @return [m] Terrain height AMSL * @return [m] Terrain height MSL
*/ */
static inline float mavlink_msg_terrain_report_get_terrain_height(const mavlink_message_t* msg) static inline float mavlink_msg_terrain_report_get_terrain_height(const mavlink_message_t* msg)
{ {
......
...@@ -11,7 +11,7 @@ typedef struct __mavlink_wind_cov_t { ...@@ -11,7 +11,7 @@ typedef struct __mavlink_wind_cov_t {
float wind_z; /*< [m/s] Wind in Z (NED) direction*/ float wind_z; /*< [m/s] Wind in Z (NED) direction*/
float var_horiz; /*< [m/s] Variability of the wind in XY. RMS of a 1 Hz lowpassed wind estimate.*/ float var_horiz; /*< [m/s] Variability of the wind in XY. RMS of a 1 Hz lowpassed wind estimate.*/
float var_vert; /*< [m/s] Variability of the wind in Z. RMS of a 1 Hz lowpassed wind estimate.*/ float var_vert; /*< [m/s] Variability of the wind in Z. RMS of a 1 Hz lowpassed wind estimate.*/
float wind_alt; /*< [m] Altitude (AMSL) that this measurement was taken at*/ float wind_alt; /*< [m] Altitude (MSL) that this measurement was taken at*/
float horiz_accuracy; /*< [m] Horizontal speed 1-STD accuracy*/ float horiz_accuracy; /*< [m] Horizontal speed 1-STD accuracy*/
float vert_accuracy; /*< [m] Vertical speed 1-STD accuracy*/ float vert_accuracy; /*< [m] Vertical speed 1-STD accuracy*/
}) mavlink_wind_cov_t; }) mavlink_wind_cov_t;
...@@ -71,7 +71,7 @@ typedef struct __mavlink_wind_cov_t { ...@@ -71,7 +71,7 @@ typedef struct __mavlink_wind_cov_t {
* @param wind_z [m/s] Wind in Z (NED) direction * @param wind_z [m/s] Wind in Z (NED) direction
* @param var_horiz [m/s] Variability of the wind in XY. RMS of a 1 Hz lowpassed wind estimate. * @param var_horiz [m/s] Variability of the wind in XY. RMS of a 1 Hz lowpassed wind estimate.
* @param var_vert [m/s] Variability of the wind in Z. RMS of a 1 Hz lowpassed wind estimate. * @param var_vert [m/s] Variability of the wind in Z. RMS of a 1 Hz lowpassed wind estimate.
* @param wind_alt [m] Altitude (AMSL) that this measurement was taken at * @param wind_alt [m] Altitude (MSL) that this measurement was taken at
* @param horiz_accuracy [m] Horizontal speed 1-STD accuracy * @param horiz_accuracy [m] Horizontal speed 1-STD accuracy
* @param vert_accuracy [m] Vertical speed 1-STD accuracy * @param vert_accuracy [m] Vertical speed 1-STD accuracy
* @return length of the message in bytes (excluding serial stream start sign) * @return length of the message in bytes (excluding serial stream start sign)
...@@ -123,7 +123,7 @@ static inline uint16_t mavlink_msg_wind_cov_pack(uint8_t system_id, uint8_t comp ...@@ -123,7 +123,7 @@ static inline uint16_t mavlink_msg_wind_cov_pack(uint8_t system_id, uint8_t comp
* @param wind_z [m/s] Wind in Z (NED) direction * @param wind_z [m/s] Wind in Z (NED) direction
* @param var_horiz [m/s] Variability of the wind in XY. RMS of a 1 Hz lowpassed wind estimate. * @param var_horiz [m/s] Variability of the wind in XY. RMS of a 1 Hz lowpassed wind estimate.
* @param var_vert [m/s] Variability of the wind in Z. RMS of a 1 Hz lowpassed wind estimate. * @param var_vert [m/s] Variability of the wind in Z. RMS of a 1 Hz lowpassed wind estimate.
* @param wind_alt [m] Altitude (AMSL) that this measurement was taken at * @param wind_alt [m] Altitude (MSL) that this measurement was taken at
* @param horiz_accuracy [m] Horizontal speed 1-STD accuracy * @param horiz_accuracy [m] Horizontal speed 1-STD accuracy
* @param vert_accuracy [m] Vertical speed 1-STD accuracy * @param vert_accuracy [m] Vertical speed 1-STD accuracy
* @return length of the message in bytes (excluding serial stream start sign) * @return length of the message in bytes (excluding serial stream start sign)
...@@ -201,7 +201,7 @@ static inline uint16_t mavlink_msg_wind_cov_encode_chan(uint8_t system_id, uint8 ...@@ -201,7 +201,7 @@ static inline uint16_t mavlink_msg_wind_cov_encode_chan(uint8_t system_id, uint8
* @param wind_z [m/s] Wind in Z (NED) direction * @param wind_z [m/s] Wind in Z (NED) direction
* @param var_horiz [m/s] Variability of the wind in XY. RMS of a 1 Hz lowpassed wind estimate. * @param var_horiz [m/s] Variability of the wind in XY. RMS of a 1 Hz lowpassed wind estimate.
* @param var_vert [m/s] Variability of the wind in Z. RMS of a 1 Hz lowpassed wind estimate. * @param var_vert [m/s] Variability of the wind in Z. RMS of a 1 Hz lowpassed wind estimate.
* @param wind_alt [m] Altitude (AMSL) that this measurement was taken at * @param wind_alt [m] Altitude (MSL) that this measurement was taken at
* @param horiz_accuracy [m] Horizontal speed 1-STD accuracy * @param horiz_accuracy [m] Horizontal speed 1-STD accuracy
* @param vert_accuracy [m] Vertical speed 1-STD accuracy * @param vert_accuracy [m] Vertical speed 1-STD accuracy
*/ */
...@@ -360,7 +360,7 @@ static inline float mavlink_msg_wind_cov_get_var_vert(const mavlink_message_t* m ...@@ -360,7 +360,7 @@ static inline float mavlink_msg_wind_cov_get_var_vert(const mavlink_message_t* m
/** /**
* @brief Get field wind_alt from wind_cov message * @brief Get field wind_alt from wind_cov message
* *
* @return [m] Altitude (AMSL) that this measurement was taken at * @return [m] Altitude (MSL) that this measurement was taken at
*/ */
static inline float mavlink_msg_wind_cov_get_wind_alt(const mavlink_message_t* msg) static inline float mavlink_msg_wind_cov_get_wind_alt(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 "Fri Oct 26 2018" #define MAVLINK_BUILD_DATE "Mon Oct 29 2018"
#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 "Fri Oct 26 2018" #define MAVLINK_BUILD_DATE "Mon Oct 29 2018"
#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,7 +6,7 @@ ...@@ -6,7 +6,7 @@
MAVPACKED( MAVPACKED(
typedef struct __mavlink_altitudes_t { typedef struct __mavlink_altitudes_t {
uint32_t time_boot_ms; /*< Timestamp (milliseconds since system boot)*/ uint32_t time_boot_ms; /*< Timestamp (milliseconds since system boot)*/
int32_t alt_gps; /*< GPS altitude in meters, expressed as * 1000 (millimeters), above MSL*/ int32_t alt_gps; /*< GPS altitude (MSL) in meters, expressed as * 1000 (millimeters)*/
int32_t alt_imu; /*< IMU altitude above ground in meters, expressed as * 1000 (millimeters)*/ int32_t alt_imu; /*< IMU altitude above ground in meters, expressed as * 1000 (millimeters)*/
int32_t alt_barometric; /*< barometeric altitude above ground in meters, expressed as * 1000 (millimeters)*/ int32_t alt_barometric; /*< barometeric altitude above ground in meters, expressed as * 1000 (millimeters)*/
int32_t alt_optical_flow; /*< Optical flow altitude above ground in meters, expressed as * 1000 (millimeters)*/ int32_t alt_optical_flow; /*< Optical flow altitude above ground in meters, expressed as * 1000 (millimeters)*/
...@@ -60,7 +60,7 @@ typedef struct __mavlink_altitudes_t { ...@@ -60,7 +60,7 @@ typedef struct __mavlink_altitudes_t {
* @param msg The MAVLink message to compress the data into * @param msg The MAVLink message to compress the data into
* *
* @param time_boot_ms Timestamp (milliseconds since system boot) * @param time_boot_ms Timestamp (milliseconds since system boot)
* @param alt_gps GPS altitude in meters, expressed as * 1000 (millimeters), above MSL * @param alt_gps GPS altitude (MSL) in meters, expressed as * 1000 (millimeters)
* @param alt_imu IMU altitude above ground in meters, expressed as * 1000 (millimeters) * @param alt_imu IMU altitude above ground in meters, expressed as * 1000 (millimeters)
* @param alt_barometric barometeric altitude above ground in meters, expressed as * 1000 (millimeters) * @param alt_barometric barometeric altitude above ground in meters, expressed as * 1000 (millimeters)
* @param alt_optical_flow Optical flow altitude above ground in meters, expressed as * 1000 (millimeters) * @param alt_optical_flow Optical flow altitude above ground in meters, expressed as * 1000 (millimeters)
...@@ -106,7 +106,7 @@ static inline uint16_t mavlink_msg_altitudes_pack(uint8_t system_id, uint8_t com ...@@ -106,7 +106,7 @@ static inline uint16_t mavlink_msg_altitudes_pack(uint8_t system_id, uint8_t com
* @param chan The MAVLink channel this message will be sent over * @param chan The MAVLink channel this message will be sent over
* @param msg The MAVLink message to compress the data into * @param msg The MAVLink message to compress the data into
* @param time_boot_ms Timestamp (milliseconds since system boot) * @param time_boot_ms Timestamp (milliseconds since system boot)
* @param alt_gps GPS altitude in meters, expressed as * 1000 (millimeters), above MSL * @param alt_gps GPS altitude (MSL) in meters, expressed as * 1000 (millimeters)
* @param alt_imu IMU altitude above ground in meters, expressed as * 1000 (millimeters) * @param alt_imu IMU altitude above ground in meters, expressed as * 1000 (millimeters)
* @param alt_barometric barometeric altitude above ground in meters, expressed as * 1000 (millimeters) * @param alt_barometric barometeric altitude above ground in meters, expressed as * 1000 (millimeters)
* @param alt_optical_flow Optical flow altitude above ground in meters, expressed as * 1000 (millimeters) * @param alt_optical_flow Optical flow altitude above ground in meters, expressed as * 1000 (millimeters)
...@@ -178,7 +178,7 @@ static inline uint16_t mavlink_msg_altitudes_encode_chan(uint8_t system_id, uint ...@@ -178,7 +178,7 @@ static inline uint16_t mavlink_msg_altitudes_encode_chan(uint8_t system_id, uint
* @param chan MAVLink channel to send the message * @param chan MAVLink channel to send the message
* *
* @param time_boot_ms Timestamp (milliseconds since system boot) * @param time_boot_ms Timestamp (milliseconds since system boot)
* @param alt_gps GPS altitude in meters, expressed as * 1000 (millimeters), above MSL * @param alt_gps GPS altitude (MSL) in meters, expressed as * 1000 (millimeters)
* @param alt_imu IMU altitude above ground in meters, expressed as * 1000 (millimeters) * @param alt_imu IMU altitude above ground in meters, expressed as * 1000 (millimeters)
* @param alt_barometric barometeric altitude above ground in meters, expressed as * 1000 (millimeters) * @param alt_barometric barometeric altitude above ground in meters, expressed as * 1000 (millimeters)
* @param alt_optical_flow Optical flow altitude above ground in meters, expressed as * 1000 (millimeters) * @param alt_optical_flow Optical flow altitude above ground in meters, expressed as * 1000 (millimeters)
...@@ -282,7 +282,7 @@ static inline uint32_t mavlink_msg_altitudes_get_time_boot_ms(const mavlink_mess ...@@ -282,7 +282,7 @@ static inline uint32_t mavlink_msg_altitudes_get_time_boot_ms(const mavlink_mess
/** /**
* @brief Get field alt_gps from altitudes message * @brief Get field alt_gps from altitudes message
* *
* @return GPS altitude in meters, expressed as * 1000 (millimeters), above MSL * @return GPS altitude (MSL) in meters, expressed as * 1000 (millimeters)
*/ */
static inline int32_t mavlink_msg_altitudes_get_alt_gps(const mavlink_message_t* msg) static inline int32_t mavlink_msg_altitudes_get_alt_gps(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 "Fri Oct 26 2018" #define MAVLINK_BUILD_DATE "Mon Oct 29 2018"
#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
......
...@@ -70,7 +70,7 @@ ...@@ -70,7 +70,7 @@
<field type="float" name="param4">PARAM4, see MAV_CMD enum</field> <field type="float" name="param4">PARAM4, see MAV_CMD enum</field>
<field type="int32_t" name="x">PARAM5 / local: x position in meters * 1e4, global: latitude in degrees * 10^7</field> <field type="int32_t" name="x">PARAM5 / local: x position in meters * 1e4, global: latitude in degrees * 10^7</field>
<field type="int32_t" name="y">PARAM6 / local: y position in meters * 1e4, global: longitude in degrees * 10^7</field> <field type="int32_t" name="y">PARAM6 / local: y position in meters * 1e4, global: longitude in degrees * 10^7</field>
<field type="float" name="z">PARAM7 / z position: global: altitude in meters (relative or absolute, depending on frame.</field> <field type="float" name="z">PARAM7 / z position: global: altitude in meters (MSL, WGS84, AGL or relative to home - depending on frame).</field>
</message> </message>
<message id="79" name="COMMAND_LONG_STAMPED"> <message id="79" name="COMMAND_LONG_STAMPED">
<description>Send a command with up to seven parameters to the MAV and additional metadata</description> <description>Send a command with up to seven parameters to the MAV and additional metadata</description>
......
...@@ -1299,8 +1299,8 @@ ...@@ -1299,8 +1299,8 @@
<!-- per camera image index, should be unique+sequential within a mission, preferably non-wrapping --> <!-- per camera image index, should be unique+sequential within a mission, preferably non-wrapping -->
<field type="int32_t" name="lat" units="degE7">Latitude.</field> <field type="int32_t" name="lat" units="degE7">Latitude.</field>
<field type="int32_t" name="lng" units="degE7">Longitude.</field> <field type="int32_t" name="lng" units="degE7">Longitude.</field>
<field type="float" name="alt_msl" units="m">Altitude Absolute (AMSL).</field> <field type="float" name="alt_msl" units="m">Altitude (MSL).</field>
<field type="float" name="alt_rel" units="m">Altitude Relative (above HOME location).</field> <field type="float" name="alt_rel" units="m">Altitude (Relative to HOME location).</field>
<field type="float" name="roll" units="deg">Camera Roll angle (earth frame, +-180).</field> <field type="float" name="roll" units="deg">Camera Roll angle (earth frame, +-180).</field>
<!-- initially only supporting fixed cameras, in future we'll need feedback messages from the gimbal so we can include that offset here --> <!-- initially only supporting fixed cameras, in future we'll need feedback messages from the gimbal so we can include that offset here -->
<field type="float" name="pitch" units="deg">Camera Pitch angle (earth frame, +-180).</field> <field type="float" name="pitch" units="deg">Camera Pitch angle (earth frame, +-180).</field>
......
...@@ -55,7 +55,7 @@ ...@@ -55,7 +55,7 @@
<description>Dynamic Velocity Hold is active (PH with proportional manual direction override)</description> <description>Dynamic Velocity Hold is active (PH with proportional manual direction override)</description>
</entry> </entry>
<entry value="0x02000000" name="AQ_NAV_STATUS_DAO"> <entry value="0x02000000" name="AQ_NAV_STATUS_DAO">
<description>ynamic Altitude Override is active (AH with proportional manual adjustment)</description> <description>Dynamic Altitude Override is active (AH with proportional manual adjustment)</description>
</entry> </entry>
<entry value="0x04000000" name="AQ_NAV_STATUS_CEILING_REACHED"> <entry value="0x04000000" name="AQ_NAV_STATUS_CEILING_REACHED">
<description>Craft is at ceiling altitude</description> <description>Craft is at ceiling altitude</description>
......
This diff is collapsed.
...@@ -269,7 +269,7 @@ ...@@ -269,7 +269,7 @@
<message id="181" name="ALTITUDES"> <message id="181" name="ALTITUDES">
<description>The altitude measured by sensors and IMU</description> <description>The altitude measured by sensors and IMU</description>
<field type="uint32_t" name="time_boot_ms">Timestamp (milliseconds since system boot)</field> <field type="uint32_t" name="time_boot_ms">Timestamp (milliseconds since system boot)</field>
<field type="int32_t" name="alt_gps">GPS altitude in meters, expressed as * 1000 (millimeters), above MSL</field> <field type="int32_t" name="alt_gps">GPS altitude (MSL) in meters, expressed as * 1000 (millimeters)</field>
<field type="int32_t" name="alt_imu">IMU altitude above ground in meters, expressed as * 1000 (millimeters)</field> <field type="int32_t" name="alt_imu">IMU altitude above ground in meters, expressed as * 1000 (millimeters)</field>
<field type="int32_t" name="alt_barometric">barometeric altitude above ground in meters, expressed as * 1000 (millimeters)</field> <field type="int32_t" name="alt_barometric">barometeric altitude above ground in meters, expressed as * 1000 (millimeters)</field>
<field type="int32_t" name="alt_optical_flow">Optical flow altitude above ground in meters, expressed as * 1000 (millimeters)</field> <field type="int32_t" name="alt_optical_flow">Optical flow altitude above ground in meters, expressed as * 1000 (millimeters)</field>
......
...@@ -164,7 +164,7 @@ ...@@ -164,7 +164,7 @@
<field name="dist2Go" type="float">Remaining distance to Run on this leg of Navigation</field> <field name="dist2Go" type="float">Remaining distance to Run on this leg of Navigation</field>
<field name="fromWP" type="uint8_t">Origin WP</field> <field name="fromWP" type="uint8_t">Origin WP</field>
<field name="toWP" type="uint8_t">Destination WP</field> <field name="toWP" type="uint8_t">Destination WP</field>
<field name="h_c" type="uint16_t" units="dm">Commanded altitude</field> <field name="h_c" type="uint16_t" units="dm">Commanded altitude (MSL)</field>
</message> </message>
<message name="DATA_LOG" id="177"> <message name="DATA_LOG" id="177">
<description>Configurable data log probes to be used inside Simulink</description> <description>Configurable data log probes to be used inside Simulink</description>
...@@ -193,7 +193,7 @@ ...@@ -193,7 +193,7 @@
<message name="MID_LVL_CMDS" id="180"> <message name="MID_LVL_CMDS" id="180">
<description>Mid Level commands sent from the GS to the autopilot. These are only sent when being operated in mid-level commands mode from the ground.</description> <description>Mid Level commands sent from the GS to the autopilot. These are only sent when being operated in mid-level commands mode from the ground.</description>
<field name="target" type="uint8_t">The system setting the commands</field> <field name="target" type="uint8_t">The system setting the commands</field>
<field name="hCommand" type="float" units="m">Commanded Altitude</field> <field name="hCommand" type="float" units="m">Commanded altitude (MSL)</field>
<field name="uCommand" type="float" units="m/s">Commanded Airspeed</field> <field name="uCommand" type="float" units="m/s">Commanded Airspeed</field>
<field name="rCommand" type="float" units="rad/s">Commanded Turnrate</field> <field name="rCommand" type="float" units="rad/s">Commanded Turnrate</field>
</message> </message>
......
...@@ -99,10 +99,10 @@ ...@@ -99,10 +99,10 @@
<field type="uint32_t" name="utcTime" units="s">UTC time in seconds since GPS epoch (Jan 6, 1980). If unknown set to UINT32_MAX</field> <field type="uint32_t" name="utcTime" units="s">UTC time in seconds since GPS epoch (Jan 6, 1980). If unknown set to UINT32_MAX</field>
<field type="int32_t" name="gpsLat" units="degE7">Latitude WGS84 (deg * 1E7). If unknown set to INT32_MAX</field> <field type="int32_t" name="gpsLat" units="degE7">Latitude WGS84 (deg * 1E7). If unknown set to INT32_MAX</field>
<field type="int32_t" name="gpsLon" units="degE7">Longitude WGS84 (deg * 1E7). If unknown set to INT32_MAX</field> <field type="int32_t" name="gpsLon" units="degE7">Longitude WGS84 (deg * 1E7). If unknown set to INT32_MAX</field>
<field type="int32_t" name="gpsAlt" units="mm">Altitude in mm (m * 1E-3) UP +ve. WGS84 altitude. If unknown set to INT32_MAX</field> <field type="int32_t" name="gpsAlt" units="mm">Altitude (WGS84). UP +ve. If unknown set to INT32_MAX</field>
<field type="uint8_t" name="gpsFix" enum="UAVIONIX_ADSB_OUT_DYNAMIC_GPS_FIX">0-1: no fix, 2: 2D fix, 3: 3D fix, 4: DGPS, 5: RTK</field> <field type="uint8_t" name="gpsFix" enum="UAVIONIX_ADSB_OUT_DYNAMIC_GPS_FIX">0-1: no fix, 2: 2D fix, 3: 3D fix, 4: DGPS, 5: RTK</field>
<field type="uint8_t" name="numSats">Number of satellites visible. If unknown set to UINT8_MAX</field> <field type="uint8_t" name="numSats">Number of satellites visible. If unknown set to UINT8_MAX</field>
<field type="int32_t" name="baroAltMSL" units="mbar">Barometric pressure altitude relative to a standard atmosphere of 1013.2 mBar and NOT bar corrected altitude (m * 1E-3). (up +ve). If unknown set to INT32_MAX</field> <field type="int32_t" name="baroAltMSL" units="mbar">Barometric pressure altitude (MSL) relative to a standard atmosphere of 1013.2 mBar and NOT bar corrected altitude (m * 1E-3). (up +ve). If unknown set to INT32_MAX</field>
<field type="uint32_t" name="accuracyHor" units="mm">Horizontal accuracy in mm (m * 1E-3). If unknown set to UINT32_MAX</field> <field type="uint32_t" name="accuracyHor" units="mm">Horizontal accuracy in mm (m * 1E-3). If unknown set to UINT32_MAX</field>
<field type="uint16_t" name="accuracyVert" units="cm">Vertical accuracy in cm. If unknown set to UINT16_MAX</field> <field type="uint16_t" name="accuracyVert" units="cm">Vertical accuracy in cm. If unknown set to UINT16_MAX</field>
<field type="uint16_t" name="accuracyVel" units="mm/s">Velocity accuracy in mm/s (m * 1E-3). If unknown set to UINT16_MAX</field> <field type="uint16_t" name="accuracyVel" units="mm/s">Velocity accuracy in mm/s (m * 1E-3). If unknown set to UINT16_MAX</field>
......
...@@ -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 "Fri Oct 26 2018" #define MAVLINK_BUILD_DATE "Mon Oct 29 2018"
#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
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
MAVPACKED( MAVPACKED(
typedef struct __mavlink_mid_lvl_cmds_t { typedef struct __mavlink_mid_lvl_cmds_t {
float hCommand; /*< [m] Commanded Altitude*/ float hCommand; /*< [m] Commanded altitude (MSL)*/
float uCommand; /*< [m/s] Commanded Airspeed*/ float uCommand; /*< [m/s] Commanded Airspeed*/
float rCommand; /*< [rad/s] Commanded Turnrate*/ float rCommand; /*< [rad/s] Commanded Turnrate*/
uint8_t target; /*< The system setting the commands*/ uint8_t target; /*< The system setting the commands*/
...@@ -51,7 +51,7 @@ typedef struct __mavlink_mid_lvl_cmds_t { ...@@ -51,7 +51,7 @@ typedef struct __mavlink_mid_lvl_cmds_t {
* @param msg The MAVLink message to compress the data into * @param msg The MAVLink message to compress the data into
* *
* @param target The system setting the commands * @param target The system setting the commands
* @param hCommand [m] Commanded Altitude * @param hCommand [m] Commanded altitude (MSL)
* @param uCommand [m/s] Commanded Airspeed * @param uCommand [m/s] Commanded Airspeed
* @param rCommand [rad/s] Commanded Turnrate * @param rCommand [rad/s] Commanded Turnrate
* @return length of the message in bytes (excluding serial stream start sign) * @return length of the message in bytes (excluding serial stream start sign)
...@@ -88,7 +88,7 @@ static inline uint16_t mavlink_msg_mid_lvl_cmds_pack(uint8_t system_id, uint8_t ...@@ -88,7 +88,7 @@ static inline uint16_t mavlink_msg_mid_lvl_cmds_pack(uint8_t system_id, uint8_t
* @param chan The MAVLink channel this message will be sent over * @param chan The MAVLink channel this message will be sent over
* @param msg The MAVLink message to compress the data into * @param msg The MAVLink message to compress the data into
* @param target The system setting the commands * @param target The system setting the commands
* @param hCommand [m] Commanded Altitude * @param hCommand [m] Commanded altitude (MSL)
* @param uCommand [m/s] Commanded Airspeed * @param uCommand [m/s] Commanded Airspeed
* @param rCommand [rad/s] Commanded Turnrate * @param rCommand [rad/s] Commanded Turnrate
* @return length of the message in bytes (excluding serial stream start sign) * @return length of the message in bytes (excluding serial stream start sign)
...@@ -151,7 +151,7 @@ static inline uint16_t mavlink_msg_mid_lvl_cmds_encode_chan(uint8_t system_id, u ...@@ -151,7 +151,7 @@ static inline uint16_t mavlink_msg_mid_lvl_cmds_encode_chan(uint8_t system_id, u
* @param chan MAVLink channel to send the message * @param chan MAVLink channel to send the message
* *
* @param target The system setting the commands * @param target The system setting the commands
* @param hCommand [m] Commanded Altitude * @param hCommand [m] Commanded altitude (MSL)
* @param uCommand [m/s] Commanded Airspeed * @param uCommand [m/s] Commanded Airspeed
* @param rCommand [rad/s] Commanded Turnrate * @param rCommand [rad/s] Commanded Turnrate
*/ */
...@@ -240,7 +240,7 @@ static inline uint8_t mavlink_msg_mid_lvl_cmds_get_target(const mavlink_message_ ...@@ -240,7 +240,7 @@ static inline uint8_t mavlink_msg_mid_lvl_cmds_get_target(const mavlink_message_
/** /**
* @brief Get field hCommand from mid_lvl_cmds message * @brief Get field hCommand from mid_lvl_cmds message
* *
* @return [m] Commanded Altitude * @return [m] Commanded altitude (MSL)
*/ */
static inline float mavlink_msg_mid_lvl_cmds_get_hCommand(const mavlink_message_t* msg) static inline float mavlink_msg_mid_lvl_cmds_get_hCommand(const mavlink_message_t* msg)
{ {
......
...@@ -12,7 +12,7 @@ typedef struct __mavlink_slugs_navigation_t { ...@@ -12,7 +12,7 @@ typedef struct __mavlink_slugs_navigation_t {
float ay_body; /*< Y component of the body acceleration*/ float ay_body; /*< Y component of the body acceleration*/
float totalDist; /*< Total Distance to Run on this leg of Navigation*/ float totalDist; /*< Total Distance to Run on this leg of Navigation*/
float dist2Go; /*< Remaining distance to Run on this leg of Navigation*/ float dist2Go; /*< Remaining distance to Run on this leg of Navigation*/
uint16_t h_c; /*< [dm] Commanded altitude*/ uint16_t h_c; /*< [dm] Commanded altitude (MSL)*/
uint8_t fromWP; /*< Origin WP*/ uint8_t fromWP; /*< Origin WP*/
uint8_t toWP; /*< Destination WP*/ uint8_t toWP; /*< Destination WP*/
}) mavlink_slugs_navigation_t; }) mavlink_slugs_navigation_t;
...@@ -77,7 +77,7 @@ typedef struct __mavlink_slugs_navigation_t { ...@@ -77,7 +77,7 @@ typedef struct __mavlink_slugs_navigation_t {
* @param dist2Go Remaining distance to Run on this leg of Navigation * @param dist2Go Remaining distance to Run on this leg of Navigation
* @param fromWP Origin WP * @param fromWP Origin WP
* @param toWP Destination WP * @param toWP Destination WP
* @param h_c [dm] Commanded altitude * @param h_c [dm] Commanded altitude (MSL)
* @return length of the message in bytes (excluding serial stream start sign) * @return length of the message in bytes (excluding serial stream start sign)
*/ */
static inline uint16_t mavlink_msg_slugs_navigation_pack(uint8_t system_id, uint8_t component_id, mavlink_message_t* msg, static inline uint16_t mavlink_msg_slugs_navigation_pack(uint8_t system_id, uint8_t component_id, mavlink_message_t* msg,
...@@ -132,7 +132,7 @@ static inline uint16_t mavlink_msg_slugs_navigation_pack(uint8_t system_id, uint ...@@ -132,7 +132,7 @@ static inline uint16_t mavlink_msg_slugs_navigation_pack(uint8_t system_id, uint
* @param dist2Go Remaining distance to Run on this leg of Navigation * @param dist2Go Remaining distance to Run on this leg of Navigation
* @param fromWP Origin WP * @param fromWP Origin WP
* @param toWP Destination WP * @param toWP Destination WP
* @param h_c [dm] Commanded altitude * @param h_c [dm] Commanded altitude (MSL)
* @return length of the message in bytes (excluding serial stream start sign) * @return length of the message in bytes (excluding serial stream start sign)
*/ */
static inline uint16_t mavlink_msg_slugs_navigation_pack_chan(uint8_t system_id, uint8_t component_id, uint8_t chan, static inline uint16_t mavlink_msg_slugs_navigation_pack_chan(uint8_t system_id, uint8_t component_id, uint8_t chan,
...@@ -213,7 +213,7 @@ static inline uint16_t mavlink_msg_slugs_navigation_encode_chan(uint8_t system_i ...@@ -213,7 +213,7 @@ static inline uint16_t mavlink_msg_slugs_navigation_encode_chan(uint8_t system_i
* @param dist2Go Remaining distance to Run on this leg of Navigation * @param dist2Go Remaining distance to Run on this leg of Navigation
* @param fromWP Origin WP * @param fromWP Origin WP
* @param toWP Destination WP * @param toWP Destination WP
* @param h_c [dm] Commanded altitude * @param h_c [dm] Commanded altitude (MSL)
*/ */
#ifdef MAVLINK_USE_CONVENIENCE_FUNCTIONS #ifdef MAVLINK_USE_CONVENIENCE_FUNCTIONS
...@@ -404,7 +404,7 @@ static inline uint8_t mavlink_msg_slugs_navigation_get_toWP(const mavlink_messag ...@@ -404,7 +404,7 @@ static inline uint8_t mavlink_msg_slugs_navigation_get_toWP(const mavlink_messag
/** /**
* @brief Get field h_c from slugs_navigation message * @brief Get field h_c from slugs_navigation message
* *
* @return [dm] Commanded altitude * @return [dm] Commanded altitude (MSL)
*/ */
static inline uint16_t mavlink_msg_slugs_navigation_get_h_c(const mavlink_message_t* msg) static inline uint16_t mavlink_msg_slugs_navigation_get_h_c(const mavlink_message_t* msg)
{ {
......
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 "Fri Oct 26 2018" #define MAVLINK_BUILD_DATE "Mon Oct 29 2018"
#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 "Fri Oct 26 2018" #define MAVLINK_BUILD_DATE "Mon Oct 29 2018"
#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 "Fri Oct 26 2018" #define MAVLINK_BUILD_DATE "Mon Oct 29 2018"
#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
......
...@@ -8,8 +8,8 @@ typedef struct __mavlink_uavionix_adsb_out_dynamic_t { ...@@ -8,8 +8,8 @@ typedef struct __mavlink_uavionix_adsb_out_dynamic_t {
uint32_t utcTime; /*< [s] UTC time in seconds since GPS epoch (Jan 6, 1980). If unknown set to UINT32_MAX*/ uint32_t utcTime; /*< [s] UTC time in seconds since GPS epoch (Jan 6, 1980). If unknown set to UINT32_MAX*/
int32_t gpsLat; /*< [degE7] Latitude WGS84 (deg * 1E7). If unknown set to INT32_MAX*/ int32_t gpsLat; /*< [degE7] Latitude WGS84 (deg * 1E7). If unknown set to INT32_MAX*/
int32_t gpsLon; /*< [degE7] Longitude WGS84 (deg * 1E7). If unknown set to INT32_MAX*/ int32_t gpsLon; /*< [degE7] Longitude WGS84 (deg * 1E7). If unknown set to INT32_MAX*/
int32_t gpsAlt; /*< [mm] Altitude in mm (m * 1E-3) UP +ve. WGS84 altitude. If unknown set to INT32_MAX*/ int32_t gpsAlt; /*< [mm] Altitude (WGS84). UP +ve. If unknown set to INT32_MAX*/
int32_t baroAltMSL; /*< [mbar] Barometric pressure altitude relative to a standard atmosphere of 1013.2 mBar and NOT bar corrected altitude (m * 1E-3). (up +ve). If unknown set to INT32_MAX*/ int32_t baroAltMSL; /*< [mbar] Barometric pressure altitude (MSL) relative to a standard atmosphere of 1013.2 mBar and NOT bar corrected altitude (m * 1E-3). (up +ve). If unknown set to INT32_MAX*/
uint32_t accuracyHor; /*< [mm] Horizontal accuracy in mm (m * 1E-3). If unknown set to UINT32_MAX*/ uint32_t accuracyHor; /*< [mm] Horizontal accuracy in mm (m * 1E-3). If unknown set to UINT32_MAX*/
uint16_t accuracyVert; /*< [cm] Vertical accuracy in cm. If unknown set to UINT16_MAX*/ uint16_t accuracyVert; /*< [cm] Vertical accuracy in cm. If unknown set to UINT16_MAX*/
uint16_t accuracyVel; /*< [mm/s] Velocity accuracy in mm/s (m * 1E-3). If unknown set to UINT16_MAX*/ uint16_t accuracyVel; /*< [mm/s] Velocity accuracy in mm/s (m * 1E-3). If unknown set to UINT16_MAX*/
...@@ -89,10 +89,10 @@ typedef struct __mavlink_uavionix_adsb_out_dynamic_t { ...@@ -89,10 +89,10 @@ typedef struct __mavlink_uavionix_adsb_out_dynamic_t {
* @param utcTime [s] UTC time in seconds since GPS epoch (Jan 6, 1980). If unknown set to UINT32_MAX * @param utcTime [s] UTC time in seconds since GPS epoch (Jan 6, 1980). If unknown set to UINT32_MAX
* @param gpsLat [degE7] Latitude WGS84 (deg * 1E7). If unknown set to INT32_MAX * @param gpsLat [degE7] Latitude WGS84 (deg * 1E7). If unknown set to INT32_MAX
* @param gpsLon [degE7] Longitude WGS84 (deg * 1E7). If unknown set to INT32_MAX * @param gpsLon [degE7] Longitude WGS84 (deg * 1E7). If unknown set to INT32_MAX
* @param gpsAlt [mm] Altitude in mm (m * 1E-3) UP +ve. WGS84 altitude. If unknown set to INT32_MAX * @param gpsAlt [mm] Altitude (WGS84). UP +ve. If unknown set to INT32_MAX
* @param gpsFix 0-1: no fix, 2: 2D fix, 3: 3D fix, 4: DGPS, 5: RTK * @param gpsFix 0-1: no fix, 2: 2D fix, 3: 3D fix, 4: DGPS, 5: RTK
* @param numSats Number of satellites visible. If unknown set to UINT8_MAX * @param numSats Number of satellites visible. If unknown set to UINT8_MAX
* @param baroAltMSL [mbar] Barometric pressure altitude relative to a standard atmosphere of 1013.2 mBar and NOT bar corrected altitude (m * 1E-3). (up +ve). If unknown set to INT32_MAX * @param baroAltMSL [mbar] Barometric pressure altitude (MSL) relative to a standard atmosphere of 1013.2 mBar and NOT bar corrected altitude (m * 1E-3). (up +ve). If unknown set to INT32_MAX
* @param accuracyHor [mm] Horizontal accuracy in mm (m * 1E-3). If unknown set to UINT32_MAX * @param accuracyHor [mm] Horizontal accuracy in mm (m * 1E-3). If unknown set to UINT32_MAX
* @param accuracyVert [cm] Vertical accuracy in cm. If unknown set to UINT16_MAX * @param accuracyVert [cm] Vertical accuracy in cm. If unknown set to UINT16_MAX
* @param accuracyVel [mm/s] Velocity accuracy in mm/s (m * 1E-3). If unknown set to UINT16_MAX * @param accuracyVel [mm/s] Velocity accuracy in mm/s (m * 1E-3). If unknown set to UINT16_MAX
...@@ -162,10 +162,10 @@ static inline uint16_t mavlink_msg_uavionix_adsb_out_dynamic_pack(uint8_t system ...@@ -162,10 +162,10 @@ static inline uint16_t mavlink_msg_uavionix_adsb_out_dynamic_pack(uint8_t system
* @param utcTime [s] UTC time in seconds since GPS epoch (Jan 6, 1980). If unknown set to UINT32_MAX * @param utcTime [s] UTC time in seconds since GPS epoch (Jan 6, 1980). If unknown set to UINT32_MAX
* @param gpsLat [degE7] Latitude WGS84 (deg * 1E7). If unknown set to INT32_MAX * @param gpsLat [degE7] Latitude WGS84 (deg * 1E7). If unknown set to INT32_MAX
* @param gpsLon [degE7] Longitude WGS84 (deg * 1E7). If unknown set to INT32_MAX * @param gpsLon [degE7] Longitude WGS84 (deg * 1E7). If unknown set to INT32_MAX
* @param gpsAlt [mm] Altitude in mm (m * 1E-3) UP +ve. WGS84 altitude. If unknown set to INT32_MAX * @param gpsAlt [mm] Altitude (WGS84). UP +ve. If unknown set to INT32_MAX
* @param gpsFix 0-1: no fix, 2: 2D fix, 3: 3D fix, 4: DGPS, 5: RTK * @param gpsFix 0-1: no fix, 2: 2D fix, 3: 3D fix, 4: DGPS, 5: RTK
* @param numSats Number of satellites visible. If unknown set to UINT8_MAX * @param numSats Number of satellites visible. If unknown set to UINT8_MAX
* @param baroAltMSL [mbar] Barometric pressure altitude relative to a standard atmosphere of 1013.2 mBar and NOT bar corrected altitude (m * 1E-3). (up +ve). If unknown set to INT32_MAX * @param baroAltMSL [mbar] Barometric pressure altitude (MSL) relative to a standard atmosphere of 1013.2 mBar and NOT bar corrected altitude (m * 1E-3). (up +ve). If unknown set to INT32_MAX
* @param accuracyHor [mm] Horizontal accuracy in mm (m * 1E-3). If unknown set to UINT32_MAX * @param accuracyHor [mm] Horizontal accuracy in mm (m * 1E-3). If unknown set to UINT32_MAX
* @param accuracyVert [cm] Vertical accuracy in cm. If unknown set to UINT16_MAX * @param accuracyVert [cm] Vertical accuracy in cm. If unknown set to UINT16_MAX
* @param accuracyVel [mm/s] Velocity accuracy in mm/s (m * 1E-3). If unknown set to UINT16_MAX * @param accuracyVel [mm/s] Velocity accuracy in mm/s (m * 1E-3). If unknown set to UINT16_MAX
...@@ -261,10 +261,10 @@ static inline uint16_t mavlink_msg_uavionix_adsb_out_dynamic_encode_chan(uint8_t ...@@ -261,10 +261,10 @@ static inline uint16_t mavlink_msg_uavionix_adsb_out_dynamic_encode_chan(uint8_t
* @param utcTime [s] UTC time in seconds since GPS epoch (Jan 6, 1980). If unknown set to UINT32_MAX * @param utcTime [s] UTC time in seconds since GPS epoch (Jan 6, 1980). If unknown set to UINT32_MAX
* @param gpsLat [degE7] Latitude WGS84 (deg * 1E7). If unknown set to INT32_MAX * @param gpsLat [degE7] Latitude WGS84 (deg * 1E7). If unknown set to INT32_MAX
* @param gpsLon [degE7] Longitude WGS84 (deg * 1E7). If unknown set to INT32_MAX * @param gpsLon [degE7] Longitude WGS84 (deg * 1E7). If unknown set to INT32_MAX
* @param gpsAlt [mm] Altitude in mm (m * 1E-3) UP +ve. WGS84 altitude. If unknown set to INT32_MAX * @param gpsAlt [mm] Altitude (WGS84). UP +ve. If unknown set to INT32_MAX
* @param gpsFix 0-1: no fix, 2: 2D fix, 3: 3D fix, 4: DGPS, 5: RTK * @param gpsFix 0-1: no fix, 2: 2D fix, 3: 3D fix, 4: DGPS, 5: RTK
* @param numSats Number of satellites visible. If unknown set to UINT8_MAX * @param numSats Number of satellites visible. If unknown set to UINT8_MAX
* @param baroAltMSL [mbar] Barometric pressure altitude relative to a standard atmosphere of 1013.2 mBar and NOT bar corrected altitude (m * 1E-3). (up +ve). If unknown set to INT32_MAX * @param baroAltMSL [mbar] Barometric pressure altitude (MSL) relative to a standard atmosphere of 1013.2 mBar and NOT bar corrected altitude (m * 1E-3). (up +ve). If unknown set to INT32_MAX
* @param accuracyHor [mm] Horizontal accuracy in mm (m * 1E-3). If unknown set to UINT32_MAX * @param accuracyHor [mm] Horizontal accuracy in mm (m * 1E-3). If unknown set to UINT32_MAX
* @param accuracyVert [cm] Vertical accuracy in cm. If unknown set to UINT16_MAX * @param accuracyVert [cm] Vertical accuracy in cm. If unknown set to UINT16_MAX
* @param accuracyVel [mm/s] Velocity accuracy in mm/s (m * 1E-3). If unknown set to UINT16_MAX * @param accuracyVel [mm/s] Velocity accuracy in mm/s (m * 1E-3). If unknown set to UINT16_MAX
...@@ -428,7 +428,7 @@ static inline int32_t mavlink_msg_uavionix_adsb_out_dynamic_get_gpsLon(const mav ...@@ -428,7 +428,7 @@ static inline int32_t mavlink_msg_uavionix_adsb_out_dynamic_get_gpsLon(const mav
/** /**
* @brief Get field gpsAlt from uavionix_adsb_out_dynamic message * @brief Get field gpsAlt from uavionix_adsb_out_dynamic message
* *
* @return [mm] Altitude in mm (m * 1E-3) UP +ve. WGS84 altitude. If unknown set to INT32_MAX * @return [mm] Altitude (WGS84). UP +ve. If unknown set to INT32_MAX
*/ */
static inline int32_t mavlink_msg_uavionix_adsb_out_dynamic_get_gpsAlt(const mavlink_message_t* msg) static inline int32_t mavlink_msg_uavionix_adsb_out_dynamic_get_gpsAlt(const mavlink_message_t* msg)
{ {
...@@ -458,7 +458,7 @@ static inline uint8_t mavlink_msg_uavionix_adsb_out_dynamic_get_numSats(const ma ...@@ -458,7 +458,7 @@ static inline uint8_t mavlink_msg_uavionix_adsb_out_dynamic_get_numSats(const ma
/** /**
* @brief Get field baroAltMSL from uavionix_adsb_out_dynamic message * @brief Get field baroAltMSL from uavionix_adsb_out_dynamic message
* *
* @return [mbar] Barometric pressure altitude relative to a standard atmosphere of 1013.2 mBar and NOT bar corrected altitude (m * 1E-3). (up +ve). If unknown set to INT32_MAX * @return [mbar] Barometric pressure altitude (MSL) relative to a standard atmosphere of 1013.2 mBar and NOT bar corrected altitude (m * 1E-3). (up +ve). If unknown set to INT32_MAX
*/ */
static inline int32_t mavlink_msg_uavionix_adsb_out_dynamic_get_baroAltMSL(const mavlink_message_t* msg) static inline int32_t mavlink_msg_uavionix_adsb_out_dynamic_get_baroAltMSL(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 "Fri Oct 26 2018" #define MAVLINK_BUILD_DATE "Mon Oct 29 2018"
#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