feat: update definitions

This commit is contained in:
matt
2020-09-20 13:56:18 +08:00
parent 36a71efa12
commit b2baf4bffc
146 changed files with 28320 additions and 3729 deletions
+10 -10
View File
@@ -5,7 +5,7 @@
typedef struct __mavlink_local_position_ned_cov_t {
uint32_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.*/
uint32_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 of the number.*/
float x; /*< [m] X Position*/
float y; /*< [m] Y Position*/
float z; /*< [m] Z Position*/
@@ -15,7 +15,7 @@ typedef struct __mavlink_local_position_ned_cov_t {
float ax; /*< [m/s/s] X Acceleration*/
float ay; /*< [m/s/s] Y Acceleration*/
float az; /*< [m/s/s] Z Acceleration*/
float covariance[45]; /*< Covariance matrix upper right triangular (first nine entries are the first ROW, next eight entries are the second row, etc.)*/
float covariance[45]; /*< Row-major representation of position, velocity and acceleration 9x9 cross-covariance matrix upper right triangle (states: x, y, z, vx, vy, vz, ax, ay, az; first nine entries are the first ROW, next eight entries are the second row, etc.). If unknown, assign NaN value to first element in the array.*/
uint8_t estimator_type; /*< Class id of the estimator this estimate originated from.*/
} mavlink_local_position_ned_cov_t;
@@ -74,7 +74,7 @@ typedef struct __mavlink_local_position_ned_cov_t {
* @param component_id ID of this component (e.g. 200 for IMU)
* @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 of the number.
* @param estimator_type Class id of the estimator this estimate originated from.
* @param x [m] X Position
* @param y [m] Y Position
@@ -85,7 +85,7 @@ typedef struct __mavlink_local_position_ned_cov_t {
* @param ax [m/s/s] X Acceleration
* @param ay [m/s/s] Y Acceleration
* @param az [m/s/s] Z Acceleration
* @param covariance Covariance matrix upper right triangular (first nine entries are the first ROW, next eight entries are the second row, etc.)
* @param covariance Row-major representation of position, velocity and acceleration 9x9 cross-covariance matrix upper right triangle (states: x, y, z, vx, vy, vz, ax, ay, az; first nine entries are the first ROW, next eight entries are the second row, etc.). If unknown, assign NaN value to first element in the array.
* @return length of the message in bytes (excluding serial stream start sign)
*/
static inline uint16_t mavlink_msg_local_position_ned_cov_pack(uint16_t system_id, uint8_t component_id, mavlink_message_t* msg,
@@ -133,7 +133,7 @@ static inline uint16_t mavlink_msg_local_position_ned_cov_pack(uint16_t system_i
* @param component_id ID of this component (e.g. 200 for IMU)
* @param chan The MAVLink channel this message will be sent over
* @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 of the number.
* @param estimator_type Class id of the estimator this estimate originated from.
* @param x [m] X Position
* @param y [m] Y Position
@@ -144,7 +144,7 @@ static inline uint16_t mavlink_msg_local_position_ned_cov_pack(uint16_t system_i
* @param ax [m/s/s] X Acceleration
* @param ay [m/s/s] Y Acceleration
* @param az [m/s/s] Z Acceleration
* @param covariance Covariance matrix upper right triangular (first nine entries are the first ROW, next eight entries are the second row, etc.)
* @param covariance Row-major representation of position, velocity and acceleration 9x9 cross-covariance matrix upper right triangle (states: x, y, z, vx, vy, vz, ax, ay, az; first nine entries are the first ROW, next eight entries are the second row, etc.). If unknown, assign NaN value to first element in the array.
* @return length of the message in bytes (excluding serial stream start sign)
*/
static inline uint16_t mavlink_msg_local_position_ned_cov_pack_chan(uint16_t system_id, uint8_t component_id, uint8_t chan,
@@ -218,7 +218,7 @@ static inline uint16_t mavlink_msg_local_position_ned_cov_encode_chan(uint16_t s
* @brief Send a local_position_ned_cov message
* @param chan MAVLink channel to send the message
*
* @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 of the number.
* @param estimator_type Class id of the estimator this estimate originated from.
* @param x [m] X Position
* @param y [m] Y Position
@@ -229,7 +229,7 @@ static inline uint16_t mavlink_msg_local_position_ned_cov_encode_chan(uint16_t s
* @param ax [m/s/s] X Acceleration
* @param ay [m/s/s] Y Acceleration
* @param az [m/s/s] Z Acceleration
* @param covariance Covariance matrix upper right triangular (first nine entries are the first ROW, next eight entries are the second row, etc.)
* @param covariance Row-major representation of position, velocity and acceleration 9x9 cross-covariance matrix upper right triangle (states: x, y, z, vx, vy, vz, ax, ay, az; first nine entries are the first ROW, next eight entries are the second row, etc.). If unknown, assign NaN value to first element in the array.
*/
#ifdef MAVLINK_USE_CONVENIENCE_FUNCTIONS
@@ -334,7 +334,7 @@ static inline void mavlink_msg_local_position_ned_cov_send_buf(mavlink_message_t
/**
* @brief Get field time_usec from local_position_ned_cov message
*
* @return [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 [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 of the number.
*/
static inline uint32_t mavlink_msg_local_position_ned_cov_get_time_usec(const mavlink_message_t* msg)
{
@@ -444,7 +444,7 @@ static inline float mavlink_msg_local_position_ned_cov_get_az(const mavlink_mess
/**
* @brief Get field covariance from local_position_ned_cov message
*
* @return Covariance matrix upper right triangular (first nine entries are the first ROW, next eight entries are the second row, etc.)
* @return Row-major representation of position, velocity and acceleration 9x9 cross-covariance matrix upper right triangle (states: x, y, z, vx, vy, vz, ax, ay, az; first nine entries are the first ROW, next eight entries are the second row, etc.). If unknown, assign NaN value to first element in the array.
*/
static inline uint16_t mavlink_msg_local_position_ned_cov_get_covariance(const mavlink_message_t* msg, float *covariance)
{