Type Alias TargetAbsolute

Source
pub type TargetAbsolute = TargetAbsolute;
Expand description

Aliased Type§

pub struct TargetAbsolute {
Show 13 fields pub timestamp: u64, pub id: u8, pub sensor_capabilities: TargetAbsoluteSensorCapabilityFlags, pub lat: i32, pub lon: i32, pub alt: f32, pub vel: [f32; 3], pub acc: [f32; 3], pub q_target: [f32; 4], pub rates: [f32; 3], pub position_std: [f32; 2], pub vel_std: [f32; 3], pub acc_std: [f32; 3],
}

Fields§

§timestamp: u64

MAVLink field timestamp.

Timestamp (UNIX epoch time).

§id: u8

MAVLink field id.

The ID of the target if multiple targets are present

§sensor_capabilities: TargetAbsoluteSensorCapabilityFlags

MAVLink field sensor_capabilities.

Bitmap to indicate the sensor’s reporting capabilities

§lat: i32

MAVLink field lat.

Target’s latitude (WGS84)

§lon: i32

MAVLink field lon.

Target’s longitude (WGS84)

§alt: f32

MAVLink field alt.

Target’s altitude (AMSL)

§vel: [f32; 3]

MAVLink field vel.

Target’s velocity in its body frame

§acc: [f32; 3]

MAVLink field acc.

Linear target’s acceleration in its body frame

§q_target: [f32; 4]

MAVLink field q_target.

Quaternion of the target’s orientation from its body frame to the vehicle’s NED frame.

§rates: [f32; 3]

MAVLink field rates.

Target’s roll, pitch and yaw rates

§position_std: [f32; 2]

MAVLink field position_std.

Standard deviation of horizontal (eph) and vertical (epv) position errors

§vel_std: [f32; 3]

MAVLink field vel_std.

Standard deviation of the target’s velocity in its body frame

§acc_std: [f32; 3]

MAVLink field acc_std.

Standard deviation of the target’s acceleration in its body frame