update xml, and pymavlink

This commit is contained in:
Matt
2018-06-03 17:07:10 +08:00
parent ec25673f44
commit 6a1a7939a4
247 changed files with 9247 additions and 9027 deletions
+25 -25
View File
@@ -5,11 +5,11 @@
MAVPACKED(
typedef struct __mavlink_vision_speed_estimate_t {
uint64_t usec; /*< Timestamp (microseconds, synced to UNIX time or since system boot)*/
float x; /*< Global X speed*/
float y; /*< Global Y speed*/
float z; /*< Global Z speed*/
float covariance[9]; /*< Linear velocity covariance matrix (1st three entries - 1st row, etc.)*/
uint64_t usec; /*< [us] Timestamp (microseconds, synced to UNIX time or since system boot)*/
float x; /*< [m/s] Global X speed*/
float y; /*< [m/s] Global Y speed*/
float z; /*< [m/s] Global Z speed*/
float covariance[9]; /*< Linear velocity covariance matrix (1st three entries - 1st row, etc.)*/
}) mavlink_vision_speed_estimate_t;
#define MAVLINK_MSG_ID_VISION_SPEED_ESTIMATE_LEN 56
@@ -53,11 +53,11 @@ typedef struct __mavlink_vision_speed_estimate_t {
* @param component_id ID of this component (e.g. 200 for IMU)
* @param msg The MAVLink message to compress the data into
*
* @param usec Timestamp (microseconds, synced to UNIX time or since system boot)
* @param x Global X speed
* @param y Global Y speed
* @param z Global Z speed
* @param covariance Linear velocity covariance matrix (1st three entries - 1st row, etc.)
* @param usec [us] Timestamp (microseconds, synced to UNIX time or since system boot)
* @param x [m/s] Global X speed
* @param y [m/s] Global Y speed
* @param z [m/s] Global Z speed
* @param covariance Linear velocity covariance matrix (1st three entries - 1st row, etc.)
* @return length of the message in bytes (excluding serial stream start sign)
*/
static inline uint16_t mavlink_msg_vision_speed_estimate_pack(uint8_t system_id, uint8_t component_id, mavlink_message_t* msg,
@@ -91,11 +91,11 @@ static inline uint16_t mavlink_msg_vision_speed_estimate_pack(uint8_t system_id,
* @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 usec Timestamp (microseconds, synced to UNIX time or since system boot)
* @param x Global X speed
* @param y Global Y speed
* @param z Global Z speed
* @param covariance Linear velocity covariance matrix (1st three entries - 1st row, etc.)
* @param usec [us] Timestamp (microseconds, synced to UNIX time or since system boot)
* @param x [m/s] Global X speed
* @param y [m/s] Global Y speed
* @param z [m/s] Global Z speed
* @param covariance Linear velocity covariance matrix (1st three entries - 1st row, etc.)
* @return length of the message in bytes (excluding serial stream start sign)
*/
static inline uint16_t mavlink_msg_vision_speed_estimate_pack_chan(uint8_t system_id, uint8_t component_id, uint8_t chan,
@@ -155,11 +155,11 @@ static inline uint16_t mavlink_msg_vision_speed_estimate_encode_chan(uint8_t sys
* @brief Send a vision_speed_estimate message
* @param chan MAVLink channel to send the message
*
* @param usec Timestamp (microseconds, synced to UNIX time or since system boot)
* @param x Global X speed
* @param y Global Y speed
* @param z Global Z speed
* @param covariance Linear velocity covariance matrix (1st three entries - 1st row, etc.)
* @param usec [us] Timestamp (microseconds, synced to UNIX time or since system boot)
* @param x [m/s] Global X speed
* @param y [m/s] Global Y speed
* @param z [m/s] Global Z speed
* @param covariance Linear velocity covariance matrix (1st three entries - 1st row, etc.)
*/
#ifdef MAVLINK_USE_CONVENIENCE_FUNCTIONS
@@ -236,7 +236,7 @@ static inline void mavlink_msg_vision_speed_estimate_send_buf(mavlink_message_t
/**
* @brief Get field usec from vision_speed_estimate message
*
* @return Timestamp (microseconds, synced to UNIX time or since system boot)
* @return [us] Timestamp (microseconds, synced to UNIX time or since system boot)
*/
static inline uint64_t mavlink_msg_vision_speed_estimate_get_usec(const mavlink_message_t* msg)
{
@@ -246,7 +246,7 @@ static inline uint64_t mavlink_msg_vision_speed_estimate_get_usec(const mavlink_
/**
* @brief Get field x from vision_speed_estimate message
*
* @return Global X speed
* @return [m/s] Global X speed
*/
static inline float mavlink_msg_vision_speed_estimate_get_x(const mavlink_message_t* msg)
{
@@ -256,7 +256,7 @@ static inline float mavlink_msg_vision_speed_estimate_get_x(const mavlink_messag
/**
* @brief Get field y from vision_speed_estimate message
*
* @return Global Y speed
* @return [m/s] Global Y speed
*/
static inline float mavlink_msg_vision_speed_estimate_get_y(const mavlink_message_t* msg)
{
@@ -266,7 +266,7 @@ static inline float mavlink_msg_vision_speed_estimate_get_y(const mavlink_messag
/**
* @brief Get field z from vision_speed_estimate message
*
* @return Global Z speed
* @return [m/s] Global Z speed
*/
static inline float mavlink_msg_vision_speed_estimate_get_z(const mavlink_message_t* msg)
{
@@ -276,7 +276,7 @@ static inline float mavlink_msg_vision_speed_estimate_get_z(const mavlink_messag
/**
* @brief Get field covariance from vision_speed_estimate message
*
* @return Linear velocity covariance matrix (1st three entries - 1st row, etc.)
* @return Linear velocity covariance matrix (1st three entries - 1st row, etc.)
*/
static inline uint16_t mavlink_msg_vision_speed_estimate_get_covariance(const mavlink_message_t* msg, float *covariance)
{