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_mission_count_t {
uint16_t count; /*< Number of mission items in the sequence*/
uint8_t target_system; /*< System ID*/
uint8_t target_component; /*< Component ID*/
uint8_t mission_type; /*< Mission type, see MAV_MISSION_TYPE*/
uint16_t count; /*< Number of mission items in the sequence*/
uint8_t target_system; /*< System ID*/
uint8_t target_component; /*< Component ID*/
uint8_t mission_type; /*< Mission type, see MAV_MISSION_TYPE*/
}) mavlink_mission_count_t;
#define MAVLINK_MSG_ID_MISSION_COUNT_LEN 5
@@ -50,10 +50,10 @@ typedef struct __mavlink_mission_count_t {
* @param component_id ID of this component (e.g. 200 for IMU)
* @param msg The MAVLink message to compress the data into
*
* @param target_system System ID
* @param target_component Component ID
* @param count Number of mission items in the sequence
* @param mission_type Mission type, see MAV_MISSION_TYPE
* @param target_system System ID
* @param target_component Component ID
* @param count Number of mission items in the sequence
* @param mission_type Mission type, see MAV_MISSION_TYPE
* @return length of the message in bytes (excluding serial stream start sign)
*/
static inline uint16_t mavlink_msg_mission_count_pack(uint8_t system_id, uint8_t component_id, mavlink_message_t* msg,
@@ -87,10 +87,10 @@ static inline uint16_t mavlink_msg_mission_count_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 target_system System ID
* @param target_component Component ID
* @param count Number of mission items in the sequence
* @param mission_type Mission type, see MAV_MISSION_TYPE
* @param target_system System ID
* @param target_component Component ID
* @param count Number of mission items in the sequence
* @param mission_type Mission type, see MAV_MISSION_TYPE
* @return length of the message in bytes (excluding serial stream start sign)
*/
static inline uint16_t mavlink_msg_mission_count_pack_chan(uint8_t system_id, uint8_t component_id, uint8_t chan,
@@ -150,10 +150,10 @@ static inline uint16_t mavlink_msg_mission_count_encode_chan(uint8_t system_id,
* @brief Send a mission_count message
* @param chan MAVLink channel to send the message
*
* @param target_system System ID
* @param target_component Component ID
* @param count Number of mission items in the sequence
* @param mission_type Mission type, see MAV_MISSION_TYPE
* @param target_system System ID
* @param target_component Component ID
* @param count Number of mission items in the sequence
* @param mission_type Mission type, see MAV_MISSION_TYPE
*/
#ifdef MAVLINK_USE_CONVENIENCE_FUNCTIONS
@@ -230,7 +230,7 @@ static inline void mavlink_msg_mission_count_send_buf(mavlink_message_t *msgbuf,
/**
* @brief Get field target_system from mission_count message
*
* @return System ID
* @return System ID
*/
static inline uint8_t mavlink_msg_mission_count_get_target_system(const mavlink_message_t* msg)
{
@@ -240,7 +240,7 @@ static inline uint8_t mavlink_msg_mission_count_get_target_system(const mavlink_
/**
* @brief Get field target_component from mission_count message
*
* @return Component ID
* @return Component ID
*/
static inline uint8_t mavlink_msg_mission_count_get_target_component(const mavlink_message_t* msg)
{
@@ -250,7 +250,7 @@ static inline uint8_t mavlink_msg_mission_count_get_target_component(const mavli
/**
* @brief Get field count from mission_count message
*
* @return Number of mission items in the sequence
* @return Number of mission items in the sequence
*/
static inline uint16_t mavlink_msg_mission_count_get_count(const mavlink_message_t* msg)
{
@@ -260,7 +260,7 @@ static inline uint16_t mavlink_msg_mission_count_get_count(const mavlink_message
/**
* @brief Get field mission_type from mission_count message
*
* @return Mission type, see MAV_MISSION_TYPE
* @return Mission type, see MAV_MISSION_TYPE
*/
static inline uint8_t mavlink_msg_mission_count_get_mission_type(const mavlink_message_t* msg)
{