Struct dcmimu::YPR [−][src]
pub struct YPR { pub yaw: f32, pub pitch: f32, pub roll: f32, }
Represents three dimensions:
- yaw, nose left or right about an axis running up and down;
- pitch, nose up or down about an axis running from wing to wing;
- roll, rotation about an axis running from nose to tail. The axes are alternatively designated as vertical, transverse, and longitudinal respectively. See https://en.wikipedia.org/wiki/Euler_angles#Tait%E2%80%93Bryan_angles and https://en.wikipedia.org/wiki/Aircraft_principal_axes.
Fields
yaw: f32
pitch: f32
roll: f32
Trait Implementations
impl Debug for YPR
[src]
impl Debug for YPR
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Clone for YPR
[src]
impl Clone for YPR
fn clone(&self) -> YPR
[src]
fn clone(&self) -> YPR
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Copy for YPR
[src]
impl Copy for YPR