pub struct FlightTelemetry {
pub forward: Vec3,
pub velocity: Vec3,
pub speed: f32,
pub horizontal_speed: f32,
pub vertical_speed: f32,
pub pitch: f32,
pub bank: f32,
pub turn_rate: f32,
}Expand description
An assisted-flight snapshot produced by FlightState::telemetry.
This motor has no position or terrain knowledge, so altitude and clearance
remain host measurements. Bank is visual and does not rotate the velocity.
Fields§
§forward: Vec3Unit heading; yaw and pitch zero face positive Z, with positive Y up.
velocity: Vec3Candidate world velocity in units per second, before host collisions.
speed: f32Signed speed along forward, matching FlightState::speed.
horizontal_speed: f32Nonnegative velocity magnitude in the world XZ plane.
vertical_speed: f32Signed world Y velocity; positive means climbing.
pitch: f32Pitch in radians, positive above the horizontal plane.
bank: f32Visual bank in radians, matching FlightState::bank.
turn_rate: f32Current smoothed yaw rate in radians per second.
Trait Implementations§
Source§impl Clone for FlightTelemetry
impl Clone for FlightTelemetry
Source§fn clone(&self) -> FlightTelemetry
fn clone(&self) -> FlightTelemetry
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for FlightTelemetry
impl Debug for FlightTelemetry
Source§impl PartialEq for FlightTelemetry
impl PartialEq for FlightTelemetry
impl Copy for FlightTelemetry
impl StructuralPartialEq for FlightTelemetry
Auto Trait Implementations§
impl Freeze for FlightTelemetry
impl RefUnwindSafe for FlightTelemetry
impl Send for FlightTelemetry
impl Sync for FlightTelemetry
impl Unpin for FlightTelemetry
impl UnwindSafe for FlightTelemetry
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more