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_hil_actuator_controls_t {
uint64_t time_usec; /*< Timestamp (microseconds since UNIX epoch or microseconds since system boot)*/
uint64_t flags; /*< Flags as bitfield, reserved for future use.*/
float controls[16]; /*< Control outputs -1 .. 1. Channel assignment depends on the simulated hardware.*/
uint8_t mode; /*< System mode (MAV_MODE), includes arming state.*/
uint64_t time_usec; /*< [us] Timestamp (microseconds since UNIX epoch or microseconds since system boot)*/
uint64_t flags; /*< Flags as bitfield, reserved for future use.*/
float controls[16]; /*< Control outputs -1 .. 1. Channel assignment depends on the simulated hardware.*/
uint8_t mode; /*< System mode (MAV_MODE), includes arming state.*/
}) mavlink_hil_actuator_controls_t;
#define MAVLINK_MSG_ID_HIL_ACTUATOR_CONTROLS_LEN 81
@@ -50,10 +50,10 @@ typedef struct __mavlink_hil_actuator_controls_t {
* @param component_id ID of this component (e.g. 200 for IMU)
* @param msg The MAVLink message to compress the data into
*
* @param time_usec Timestamp (microseconds since UNIX epoch or microseconds since system boot)
* @param controls Control outputs -1 .. 1. Channel assignment depends on the simulated hardware.
* @param mode System mode (MAV_MODE), includes arming state.
* @param flags Flags as bitfield, reserved for future use.
* @param time_usec [us] Timestamp (microseconds since UNIX epoch or microseconds since system boot)
* @param controls Control outputs -1 .. 1. Channel assignment depends on the simulated hardware.
* @param mode System mode (MAV_MODE), includes arming state.
* @param flags Flags as bitfield, reserved for future use.
* @return length of the message in bytes (excluding serial stream start sign)
*/
static inline uint16_t mavlink_msg_hil_actuator_controls_pack(uint8_t system_id, uint8_t component_id, mavlink_message_t* msg,
@@ -85,10 +85,10 @@ static inline uint16_t mavlink_msg_hil_actuator_controls_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 time_usec Timestamp (microseconds since UNIX epoch or microseconds since system boot)
* @param controls Control outputs -1 .. 1. Channel assignment depends on the simulated hardware.
* @param mode System mode (MAV_MODE), includes arming state.
* @param flags Flags as bitfield, reserved for future use.
* @param time_usec [us] Timestamp (microseconds since UNIX epoch or microseconds since system boot)
* @param controls Control outputs -1 .. 1. Channel assignment depends on the simulated hardware.
* @param mode System mode (MAV_MODE), includes arming state.
* @param flags Flags as bitfield, reserved for future use.
* @return length of the message in bytes (excluding serial stream start sign)
*/
static inline uint16_t mavlink_msg_hil_actuator_controls_pack_chan(uint8_t system_id, uint8_t component_id, uint8_t chan,
@@ -146,10 +146,10 @@ static inline uint16_t mavlink_msg_hil_actuator_controls_encode_chan(uint8_t sys
* @brief Send a hil_actuator_controls message
* @param chan MAVLink channel to send the message
*
* @param time_usec Timestamp (microseconds since UNIX epoch or microseconds since system boot)
* @param controls Control outputs -1 .. 1. Channel assignment depends on the simulated hardware.
* @param mode System mode (MAV_MODE), includes arming state.
* @param flags Flags as bitfield, reserved for future use.
* @param time_usec [us] Timestamp (microseconds since UNIX epoch or microseconds since system boot)
* @param controls Control outputs -1 .. 1. Channel assignment depends on the simulated hardware.
* @param mode System mode (MAV_MODE), includes arming state.
* @param flags Flags as bitfield, reserved for future use.
*/
#ifdef MAVLINK_USE_CONVENIENCE_FUNCTIONS
@@ -222,7 +222,7 @@ static inline void mavlink_msg_hil_actuator_controls_send_buf(mavlink_message_t
/**
* @brief Get field time_usec from hil_actuator_controls message
*
* @return Timestamp (microseconds since UNIX epoch or microseconds since system boot)
* @return [us] Timestamp (microseconds since UNIX epoch or microseconds since system boot)
*/
static inline uint64_t mavlink_msg_hil_actuator_controls_get_time_usec(const mavlink_message_t* msg)
{
@@ -232,7 +232,7 @@ static inline uint64_t mavlink_msg_hil_actuator_controls_get_time_usec(const mav
/**
* @brief Get field controls from hil_actuator_controls message
*
* @return Control outputs -1 .. 1. Channel assignment depends on the simulated hardware.
* @return Control outputs -1 .. 1. Channel assignment depends on the simulated hardware.
*/
static inline uint16_t mavlink_msg_hil_actuator_controls_get_controls(const mavlink_message_t* msg, float *controls)
{
@@ -242,7 +242,7 @@ static inline uint16_t mavlink_msg_hil_actuator_controls_get_controls(const mavl
/**
* @brief Get field mode from hil_actuator_controls message
*
* @return System mode (MAV_MODE), includes arming state.
* @return System mode (MAV_MODE), includes arming state.
*/
static inline uint8_t mavlink_msg_hil_actuator_controls_get_mode(const mavlink_message_t* msg)
{
@@ -252,7 +252,7 @@ static inline uint8_t mavlink_msg_hil_actuator_controls_get_mode(const mavlink_m
/**
* @brief Get field flags from hil_actuator_controls message
*
* @return Flags as bitfield, reserved for future use.
* @return Flags as bitfield, reserved for future use.
*/
static inline uint64_t mavlink_msg_hil_actuator_controls_get_flags(const mavlink_message_t* msg)
{