feat: update definitions

This commit is contained in:
matt
2020-09-20 13:56:18 +08:00
parent 36a71efa12
commit b2baf4bffc
146 changed files with 28320 additions and 3729 deletions
+10 -10
View File
@@ -5,7 +5,7 @@
typedef struct __mavlink_hil_rc_inputs_raw_t {
uint32_t time_usec; /*< [us] Timestamp (UNIX Epoch time or time since system boot). The receiving end can infer timestamp format (since 1.1.1970 or since system boot) by checking for the magnitude the number.*/
uint32_t time_usec; /*< [us] Timestamp (UNIX Epoch time or time since system boot). The receiving end can infer timestamp format (since 1.1.1970 or since system boot) by checking for the magnitude of the number.*/
uint16_t chan1_raw; /*< [us] RC channel 1 value*/
uint16_t chan2_raw; /*< [us] RC channel 2 value*/
uint16_t chan3_raw; /*< [us] RC channel 3 value*/
@@ -18,7 +18,7 @@ typedef struct __mavlink_hil_rc_inputs_raw_t {
uint16_t chan10_raw; /*< [us] RC channel 10 value*/
uint16_t chan11_raw; /*< [us] RC channel 11 value*/
uint16_t chan12_raw; /*< [us] RC channel 12 value*/
uint8_t rssi; /*< Receive signal strength indicator. Values: [0-100], 255: invalid/unknown.*/
uint8_t rssi; /*< Receive signal strength indicator in device-dependent units/scale. Values: [0-254], 255: invalid/unknown.*/
} mavlink_hil_rc_inputs_raw_t;
#define MAVLINK_MSG_ID_HIL_RC_INPUTS_RAW_LEN 29
@@ -80,7 +80,7 @@ typedef struct __mavlink_hil_rc_inputs_raw_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 [us] Timestamp (UNIX Epoch time or time since system boot). The receiving end can infer timestamp format (since 1.1.1970 or since system boot) by checking for the magnitude the number.
* @param time_usec [us] Timestamp (UNIX Epoch time or time since system boot). The receiving end can infer timestamp format (since 1.1.1970 or since system boot) by checking for the magnitude of the number.
* @param chan1_raw [us] RC channel 1 value
* @param chan2_raw [us] RC channel 2 value
* @param chan3_raw [us] RC channel 3 value
@@ -93,7 +93,7 @@ typedef struct __mavlink_hil_rc_inputs_raw_t {
* @param chan10_raw [us] RC channel 10 value
* @param chan11_raw [us] RC channel 11 value
* @param chan12_raw [us] RC channel 12 value
* @param rssi Receive signal strength indicator. Values: [0-100], 255: invalid/unknown.
* @param rssi Receive signal strength indicator in device-dependent units/scale. Values: [0-254], 255: invalid/unknown.
* @return length of the message in bytes (excluding serial stream start sign)
*/
static inline uint16_t mavlink_msg_hil_rc_inputs_raw_pack(uint16_t system_id, uint8_t component_id, mavlink_message_t* msg,
@@ -147,7 +147,7 @@ static inline uint16_t mavlink_msg_hil_rc_inputs_raw_pack(uint16_t system_id, ui
* @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 [us] Timestamp (UNIX Epoch time or time since system boot). The receiving end can infer timestamp format (since 1.1.1970 or since system boot) by checking for the magnitude the number.
* @param time_usec [us] Timestamp (UNIX Epoch time or time since system boot). The receiving end can infer timestamp format (since 1.1.1970 or since system boot) by checking for the magnitude of the number.
* @param chan1_raw [us] RC channel 1 value
* @param chan2_raw [us] RC channel 2 value
* @param chan3_raw [us] RC channel 3 value
@@ -160,7 +160,7 @@ static inline uint16_t mavlink_msg_hil_rc_inputs_raw_pack(uint16_t system_id, ui
* @param chan10_raw [us] RC channel 10 value
* @param chan11_raw [us] RC channel 11 value
* @param chan12_raw [us] RC channel 12 value
* @param rssi Receive signal strength indicator. Values: [0-100], 255: invalid/unknown.
* @param rssi Receive signal strength indicator in device-dependent units/scale. Values: [0-254], 255: invalid/unknown.
* @return length of the message in bytes (excluding serial stream start sign)
*/
static inline uint16_t mavlink_msg_hil_rc_inputs_raw_pack_chan(uint16_t system_id, uint8_t component_id, uint8_t chan,
@@ -240,7 +240,7 @@ static inline uint16_t mavlink_msg_hil_rc_inputs_raw_encode_chan(uint16_t system
* @brief Send a hil_rc_inputs_raw message
* @param chan MAVLink channel to send the message
*
* @param time_usec [us] Timestamp (UNIX Epoch time or time since system boot). The receiving end can infer timestamp format (since 1.1.1970 or since system boot) by checking for the magnitude the number.
* @param time_usec [us] Timestamp (UNIX Epoch time or time since system boot). The receiving end can infer timestamp format (since 1.1.1970 or since system boot) by checking for the magnitude of the number.
* @param chan1_raw [us] RC channel 1 value
* @param chan2_raw [us] RC channel 2 value
* @param chan3_raw [us] RC channel 3 value
@@ -253,7 +253,7 @@ static inline uint16_t mavlink_msg_hil_rc_inputs_raw_encode_chan(uint16_t system
* @param chan10_raw [us] RC channel 10 value
* @param chan11_raw [us] RC channel 11 value
* @param chan12_raw [us] RC channel 12 value
* @param rssi Receive signal strength indicator. Values: [0-100], 255: invalid/unknown.
* @param rssi Receive signal strength indicator in device-dependent units/scale. Values: [0-254], 255: invalid/unknown.
*/
#ifdef MAVLINK_USE_CONVENIENCE_FUNCTIONS
@@ -370,7 +370,7 @@ static inline void mavlink_msg_hil_rc_inputs_raw_send_buf(mavlink_message_t *msg
/**
* @brief Get field time_usec from hil_rc_inputs_raw message
*
* @return [us] Timestamp (UNIX Epoch time or time since system boot). The receiving end can infer timestamp format (since 1.1.1970 or since system boot) by checking for the magnitude the number.
* @return [us] Timestamp (UNIX Epoch time or time since system boot). The receiving end can infer timestamp format (since 1.1.1970 or since system boot) by checking for the magnitude of the number.
*/
static inline uint32_t mavlink_msg_hil_rc_inputs_raw_get_time_usec(const mavlink_message_t* msg)
{
@@ -500,7 +500,7 @@ static inline uint16_t mavlink_msg_hil_rc_inputs_raw_get_chan12_raw(const mavlin
/**
* @brief Get field rssi from hil_rc_inputs_raw message
*
* @return Receive signal strength indicator. Values: [0-100], 255: invalid/unknown.
* @return Receive signal strength indicator in device-dependent units/scale. Values: [0-254], 255: invalid/unknown.
*/
static inline uint8_t mavlink_msg_hil_rc_inputs_raw_get_rssi(const mavlink_message_t* msg)
{