✨feat: update definitions
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
|
||||
MAVPACKED(
|
||||
typedef struct __mavlink_landing_target_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 angle_x; /*< [rad] X-axis angular offset of the target from the center of the image*/
|
||||
float angle_y; /*< [rad] Y-axis angular offset of the target from the center of the image*/
|
||||
float distance; /*< [m] Distance to the target from the vehicle*/
|
||||
@@ -80,7 +80,7 @@ typedef struct __mavlink_landing_target_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 target_num The ID of the target if multiple targets are present
|
||||
* @param frame Coordinate frame used for following fields.
|
||||
* @param angle_x [rad] X-axis angular offset of the target from the center of the image
|
||||
@@ -145,7 +145,7 @@ static inline uint16_t mavlink_msg_landing_target_pack(uint16_t system_id, uint8
|
||||
* @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 target_num The ID of the target if multiple targets are present
|
||||
* @param frame Coordinate frame used for following fields.
|
||||
* @param angle_x [rad] X-axis angular offset of the target from the center of the image
|
||||
@@ -236,7 +236,7 @@ static inline uint16_t mavlink_msg_landing_target_encode_chan(uint16_t system_id
|
||||
* @brief Send a landing_target 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 target_num The ID of the target if multiple targets are present
|
||||
* @param frame Coordinate frame used for following fields.
|
||||
* @param angle_x [rad] X-axis angular offset of the target from the center of the image
|
||||
@@ -362,7 +362,7 @@ static inline void mavlink_msg_landing_target_send_buf(mavlink_message_t *msgbuf
|
||||
/**
|
||||
* @brief Get field time_usec from landing_target 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_landing_target_get_time_usec(const mavlink_message_t* msg)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user