pub struct LANDING_TARGET_DATA {}
uavionix
only.Expand description
id: 149 The location of a landing target. See: https://mavlink.io/en/services/landing_target.html.
Fields§
§time_usec: u64
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..
angle_x: f32
X-axis angular offset of the target from the center of the image.
angle_y: f32
Y-axis angular offset of the target from the center of the image.
distance: f32
Distance to the target from the vehicle.
size_x: f32
Size of target along x-axis.
size_y: f32
Size of target along y-axis.
target_num: u8
The ID of the target if multiple targets are present.
frame: MavFrame
Coordinate frame used for following fields..
x: f32
X Position of the landing target in MAV_FRAME.
y: f32
Y Position of the landing target in MAV_FRAME.
z: f32
Z Position of the landing target in MAV_FRAME.
q: [f32; 4]
Quaternion of landing target orientation (w, x, y, z order, zero-rotation is 1, 0, 0, 0).
mavtype: LandingTargetType
Type of landing target.
position_valid: u8
Boolean indicating whether the position fields (x, y, z, q, type) contain valid target position information (valid: 1, invalid: 0). Default is 0 (invalid)..
Implementations§
Source§impl LANDING_TARGET_DATA
impl LANDING_TARGET_DATA
pub const ENCODED_LEN: usize = 60usize
pub const DEFAULT: Self
Trait Implementations§
Source§impl Clone for LANDING_TARGET_DATA
impl Clone for LANDING_TARGET_DATA
Source§fn clone(&self) -> LANDING_TARGET_DATA
fn clone(&self) -> LANDING_TARGET_DATA
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more