pub struct Attitude {
pub roll: Radians,
pub pitch: Radians,
pub yaw: Radians,
}Expand description
Represents the aircraft orientation using Euler angles.
Follows the standard Tait-Bryan convention (Z-Y-X).
Fields§
§roll: RadiansRotation about the X-axis (longitudinal).
pitch: RadiansRotation about the Y-axis (lateral).
yaw: RadiansRotation about the Z-axis (vertical/heading).
Trait Implementations§
impl Copy for Attitude
impl StructuralPartialEq for Attitude
Auto Trait Implementations§
impl Freeze for Attitude
impl RefUnwindSafe for Attitude
impl Send for Attitude
impl Sync for Attitude
impl Unpin for Attitude
impl UnsafeUnpin for Attitude
impl UnwindSafe for Attitude
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