✨feat: update definitions
This commit is contained in:
@@ -5,9 +5,9 @@
|
||||
|
||||
|
||||
typedef struct __mavlink_hil_actuator_controls_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.*/
|
||||
float controls[16]; /*< Control outputs -1 .. 1. Channel assignment depends on the simulated hardware.*/
|
||||
uint32_t flags; /*< Flags as bitfield, reserved for future use.*/
|
||||
uint32_t flags; /*< Flags as bitfield, 1: indicate simulation using lockstep.*/
|
||||
uint8_t mode; /*< System mode. Includes arming state.*/
|
||||
} mavlink_hil_actuator_controls_t;
|
||||
|
||||
@@ -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 [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 controls Control outputs -1 .. 1. Channel assignment depends on the simulated hardware.
|
||||
* @param mode System mode. Includes arming state.
|
||||
* @param flags Flags as bitfield, reserved for future use.
|
||||
* @param flags Flags as bitfield, 1: indicate simulation using lockstep.
|
||||
* @return length of the message in bytes (excluding serial stream start sign)
|
||||
*/
|
||||
static inline uint16_t mavlink_msg_hil_actuator_controls_pack(uint16_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(uint16_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 [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 controls Control outputs -1 .. 1. Channel assignment depends on the simulated hardware.
|
||||
* @param mode System mode. Includes arming state.
|
||||
* @param flags Flags as bitfield, reserved for future use.
|
||||
* @param flags Flags as bitfield, 1: indicate simulation using lockstep.
|
||||
* @return length of the message in bytes (excluding serial stream start sign)
|
||||
*/
|
||||
static inline uint16_t mavlink_msg_hil_actuator_controls_pack_chan(uint16_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(uint16_t sy
|
||||
* @brief Send a hil_actuator_controls 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 controls Control outputs -1 .. 1. Channel assignment depends on the simulated hardware.
|
||||
* @param mode System mode. Includes arming state.
|
||||
* @param flags Flags as bitfield, reserved for future use.
|
||||
* @param flags Flags as bitfield, 1: indicate simulation using lockstep.
|
||||
*/
|
||||
#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 [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_actuator_controls_get_time_usec(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, 1: indicate simulation using lockstep.
|
||||
*/
|
||||
static inline uint32_t mavlink_msg_hil_actuator_controls_get_flags(const mavlink_message_t* msg)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user