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
+20 -20
View File
@@ -5,10 +5,10 @@
MAVPACKED(
typedef struct __mavlink_fence_status_t {
uint32_t breach_time; /*< time of last breach in milliseconds since boot*/
uint16_t breach_count; /*< number of fence breaches*/
uint8_t breach_status; /*< 0 if currently inside fence, 1 if outside*/
uint8_t breach_type; /*< last breach type (see FENCE_BREACH_* enum)*/
uint32_t breach_time; /*< [ms] time of last breach in milliseconds since boot*/
uint16_t breach_count; /*< number of fence breaches*/
uint8_t breach_status; /*< 0 if currently inside fence, 1 if outside*/
uint8_t breach_type; /*< last breach type (see FENCE_BREACH_* enum)*/
}) mavlink_fence_status_t;
#define MAVLINK_MSG_ID_FENCE_STATUS_LEN 8
@@ -50,10 +50,10 @@ typedef struct __mavlink_fence_status_t {
* @param component_id ID of this component (e.g. 200 for IMU)
* @param msg The MAVLink message to compress the data into
*
* @param breach_status 0 if currently inside fence, 1 if outside
* @param breach_count number of fence breaches
* @param breach_type last breach type (see FENCE_BREACH_* enum)
* @param breach_time time of last breach in milliseconds since boot
* @param breach_status 0 if currently inside fence, 1 if outside
* @param breach_count number of fence breaches
* @param breach_type last breach type (see FENCE_BREACH_* enum)
* @param breach_time [ms] time of last breach in milliseconds since boot
* @return length of the message in bytes (excluding serial stream start sign)
*/
static inline uint16_t mavlink_msg_fence_status_pack(uint8_t system_id, uint8_t component_id, mavlink_message_t* msg,
@@ -87,10 +87,10 @@ static inline uint16_t mavlink_msg_fence_status_pack(uint8_t system_id, uint8_t
* @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 breach_status 0 if currently inside fence, 1 if outside
* @param breach_count number of fence breaches
* @param breach_type last breach type (see FENCE_BREACH_* enum)
* @param breach_time time of last breach in milliseconds since boot
* @param breach_status 0 if currently inside fence, 1 if outside
* @param breach_count number of fence breaches
* @param breach_type last breach type (see FENCE_BREACH_* enum)
* @param breach_time [ms] time of last breach in milliseconds since boot
* @return length of the message in bytes (excluding serial stream start sign)
*/
static inline uint16_t mavlink_msg_fence_status_pack_chan(uint8_t system_id, uint8_t component_id, uint8_t chan,
@@ -150,10 +150,10 @@ static inline uint16_t mavlink_msg_fence_status_encode_chan(uint8_t system_id, u
* @brief Send a fence_status message
* @param chan MAVLink channel to send the message
*
* @param breach_status 0 if currently inside fence, 1 if outside
* @param breach_count number of fence breaches
* @param breach_type last breach type (see FENCE_BREACH_* enum)
* @param breach_time time of last breach in milliseconds since boot
* @param breach_status 0 if currently inside fence, 1 if outside
* @param breach_count number of fence breaches
* @param breach_type last breach type (see FENCE_BREACH_* enum)
* @param breach_time [ms] time of last breach in milliseconds since boot
*/
#ifdef MAVLINK_USE_CONVENIENCE_FUNCTIONS
@@ -230,7 +230,7 @@ static inline void mavlink_msg_fence_status_send_buf(mavlink_message_t *msgbuf,
/**
* @brief Get field breach_status from fence_status message
*
* @return 0 if currently inside fence, 1 if outside
* @return 0 if currently inside fence, 1 if outside
*/
static inline uint8_t mavlink_msg_fence_status_get_breach_status(const mavlink_message_t* msg)
{
@@ -240,7 +240,7 @@ static inline uint8_t mavlink_msg_fence_status_get_breach_status(const mavlink_m
/**
* @brief Get field breach_count from fence_status message
*
* @return number of fence breaches
* @return number of fence breaches
*/
static inline uint16_t mavlink_msg_fence_status_get_breach_count(const mavlink_message_t* msg)
{
@@ -250,7 +250,7 @@ static inline uint16_t mavlink_msg_fence_status_get_breach_count(const mavlink_m
/**
* @brief Get field breach_type from fence_status message
*
* @return last breach type (see FENCE_BREACH_* enum)
* @return last breach type (see FENCE_BREACH_* enum)
*/
static inline uint8_t mavlink_msg_fence_status_get_breach_type(const mavlink_message_t* msg)
{
@@ -260,7 +260,7 @@ static inline uint8_t mavlink_msg_fence_status_get_breach_type(const mavlink_mes
/**
* @brief Get field breach_time from fence_status message
*
* @return time of last breach in milliseconds since boot
* @return [ms] time of last breach in milliseconds since boot
*/
static inline uint32_t mavlink_msg_fence_status_get_breach_time(const mavlink_message_t* msg)
{