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
+35 -35
View File
@@ -5,13 +5,13 @@
MAVPACKED(
typedef struct __mavlink_radio_t {
uint16_t rxerrors; /*< receive errors*/
uint16_t fixed; /*< count of error corrected packets*/
uint8_t rssi; /*< local signal strength*/
uint8_t remrssi; /*< remote signal strength*/
uint8_t txbuf; /*< how full the tx buffer is as a percentage*/
uint8_t noise; /*< background noise level*/
uint8_t remnoise; /*< remote background noise level*/
uint16_t rxerrors; /*< receive errors*/
uint16_t fixed; /*< count of error corrected packets*/
uint8_t rssi; /*< local signal strength*/
uint8_t remrssi; /*< remote signal strength*/
uint8_t txbuf; /*< [%] how full the tx buffer is as a percentage*/
uint8_t noise; /*< background noise level*/
uint8_t remnoise; /*< remote background noise level*/
}) mavlink_radio_t;
#define MAVLINK_MSG_ID_RADIO_LEN 9
@@ -59,13 +59,13 @@ typedef struct __mavlink_radio_t {
* @param component_id ID of this component (e.g. 200 for IMU)
* @param msg The MAVLink message to compress the data into
*
* @param rssi local signal strength
* @param remrssi remote signal strength
* @param txbuf how full the tx buffer is as a percentage
* @param noise background noise level
* @param remnoise remote background noise level
* @param rxerrors receive errors
* @param fixed count of error corrected packets
* @param rssi local signal strength
* @param remrssi remote signal strength
* @param txbuf [%] how full the tx buffer is as a percentage
* @param noise background noise level
* @param remnoise remote background noise level
* @param rxerrors receive errors
* @param fixed count of error corrected packets
* @return length of the message in bytes (excluding serial stream start sign)
*/
static inline uint16_t mavlink_msg_radio_pack(uint8_t system_id, uint8_t component_id, mavlink_message_t* msg,
@@ -105,13 +105,13 @@ static inline uint16_t mavlink_msg_radio_pack(uint8_t system_id, uint8_t compone
* @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 rssi local signal strength
* @param remrssi remote signal strength
* @param txbuf how full the tx buffer is as a percentage
* @param noise background noise level
* @param remnoise remote background noise level
* @param rxerrors receive errors
* @param fixed count of error corrected packets
* @param rssi local signal strength
* @param remrssi remote signal strength
* @param txbuf [%] how full the tx buffer is as a percentage
* @param noise background noise level
* @param remnoise remote background noise level
* @param rxerrors receive errors
* @param fixed count of error corrected packets
* @return length of the message in bytes (excluding serial stream start sign)
*/
static inline uint16_t mavlink_msg_radio_pack_chan(uint8_t system_id, uint8_t component_id, uint8_t chan,
@@ -177,13 +177,13 @@ static inline uint16_t mavlink_msg_radio_encode_chan(uint8_t system_id, uint8_t
* @brief Send a radio message
* @param chan MAVLink channel to send the message
*
* @param rssi local signal strength
* @param remrssi remote signal strength
* @param txbuf how full the tx buffer is as a percentage
* @param noise background noise level
* @param remnoise remote background noise level
* @param rxerrors receive errors
* @param fixed count of error corrected packets
* @param rssi local signal strength
* @param remrssi remote signal strength
* @param txbuf [%] how full the tx buffer is as a percentage
* @param noise background noise level
* @param remnoise remote background noise level
* @param rxerrors receive errors
* @param fixed count of error corrected packets
*/
#ifdef MAVLINK_USE_CONVENIENCE_FUNCTIONS
@@ -272,7 +272,7 @@ static inline void mavlink_msg_radio_send_buf(mavlink_message_t *msgbuf, mavlink
/**
* @brief Get field rssi from radio message
*
* @return local signal strength
* @return local signal strength
*/
static inline uint8_t mavlink_msg_radio_get_rssi(const mavlink_message_t* msg)
{
@@ -282,7 +282,7 @@ static inline uint8_t mavlink_msg_radio_get_rssi(const mavlink_message_t* msg)
/**
* @brief Get field remrssi from radio message
*
* @return remote signal strength
* @return remote signal strength
*/
static inline uint8_t mavlink_msg_radio_get_remrssi(const mavlink_message_t* msg)
{
@@ -292,7 +292,7 @@ static inline uint8_t mavlink_msg_radio_get_remrssi(const mavlink_message_t* msg
/**
* @brief Get field txbuf from radio message
*
* @return how full the tx buffer is as a percentage
* @return [%] how full the tx buffer is as a percentage
*/
static inline uint8_t mavlink_msg_radio_get_txbuf(const mavlink_message_t* msg)
{
@@ -302,7 +302,7 @@ static inline uint8_t mavlink_msg_radio_get_txbuf(const mavlink_message_t* msg)
/**
* @brief Get field noise from radio message
*
* @return background noise level
* @return background noise level
*/
static inline uint8_t mavlink_msg_radio_get_noise(const mavlink_message_t* msg)
{
@@ -312,7 +312,7 @@ static inline uint8_t mavlink_msg_radio_get_noise(const mavlink_message_t* msg)
/**
* @brief Get field remnoise from radio message
*
* @return remote background noise level
* @return remote background noise level
*/
static inline uint8_t mavlink_msg_radio_get_remnoise(const mavlink_message_t* msg)
{
@@ -322,7 +322,7 @@ static inline uint8_t mavlink_msg_radio_get_remnoise(const mavlink_message_t* ms
/**
* @brief Get field rxerrors from radio message
*
* @return receive errors
* @return receive errors
*/
static inline uint16_t mavlink_msg_radio_get_rxerrors(const mavlink_message_t* msg)
{
@@ -332,7 +332,7 @@ static inline uint16_t mavlink_msg_radio_get_rxerrors(const mavlink_message_t* m
/**
* @brief Get field fixed from radio message
*
* @return count of error corrected packets
* @return count of error corrected packets
*/
static inline uint16_t mavlink_msg_radio_get_fixed(const mavlink_message_t* msg)
{