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
+15 -15
View File
@@ -5,9 +5,9 @@
MAVPACKED(
typedef struct __mavlink_play_tune_t {
uint8_t target_system; /*< System ID*/
uint8_t target_component; /*< Component ID*/
char tune[30]; /*< tune in board specific format*/
uint8_t target_system; /*< System ID*/
uint8_t target_component; /*< Component ID*/
char tune[30]; /*< tune in board specific format*/
}) mavlink_play_tune_t;
#define MAVLINK_MSG_ID_PLAY_TUNE_LEN 32
@@ -47,9 +47,9 @@ typedef struct __mavlink_play_tune_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 tune tune in board specific format
* @param target_system System ID
* @param target_component Component ID
* @param tune tune in board specific format
* @return length of the message in bytes (excluding serial stream start sign)
*/
static inline uint16_t mavlink_msg_play_tune_pack(uint8_t system_id, uint8_t component_id, mavlink_message_t* msg,
@@ -79,9 +79,9 @@ static inline uint16_t mavlink_msg_play_tune_pack(uint8_t system_id, uint8_t com
* @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 tune tune in board specific format
* @param target_system System ID
* @param target_component Component ID
* @param tune tune in board specific format
* @return length of the message in bytes (excluding serial stream start sign)
*/
static inline uint16_t mavlink_msg_play_tune_pack_chan(uint8_t system_id, uint8_t component_id, uint8_t chan,
@@ -137,9 +137,9 @@ static inline uint16_t mavlink_msg_play_tune_encode_chan(uint8_t system_id, uint
* @brief Send a play_tune message
* @param chan MAVLink channel to send the message
*
* @param target_system System ID
* @param target_component Component ID
* @param tune tune in board specific format
* @param target_system System ID
* @param target_component Component ID
* @param tune tune in board specific format
*/
#ifdef MAVLINK_USE_CONVENIENCE_FUNCTIONS
@@ -208,7 +208,7 @@ static inline void mavlink_msg_play_tune_send_buf(mavlink_message_t *msgbuf, mav
/**
* @brief Get field target_system from play_tune message
*
* @return System ID
* @return System ID
*/
static inline uint8_t mavlink_msg_play_tune_get_target_system(const mavlink_message_t* msg)
{
@@ -218,7 +218,7 @@ static inline uint8_t mavlink_msg_play_tune_get_target_system(const mavlink_mess
/**
* @brief Get field target_component from play_tune message
*
* @return Component ID
* @return Component ID
*/
static inline uint8_t mavlink_msg_play_tune_get_target_component(const mavlink_message_t* msg)
{
@@ -228,7 +228,7 @@ static inline uint8_t mavlink_msg_play_tune_get_target_component(const mavlink_m
/**
* @brief Get field tune from play_tune message
*
* @return tune in board specific format
* @return tune in board specific format
*/
static inline uint16_t mavlink_msg_play_tune_get_tune(const mavlink_message_t* msg, char *tune)
{