pub struct AttEulerBlock { /* private fields */ }Expand description
AttEuler block (Block ID 5938)
Attitude solution in Euler angles.
Implementations§
Source§impl AttEulerBlock
impl AttEulerBlock
pub fn tow_seconds(&self) -> f64
pub fn tow_ms(&self) -> u32
pub fn wnc(&self) -> u16
Sourcepub fn num_satellites(&self) -> u8
pub fn num_satellites(&self) -> u8
Number of satellites included in attitude calculations.
Returns 0 when the SBF NrSV field is not available (255). Use
Self::num_satellites_opt to distinguish unavailable from a real zero.
Sourcepub fn num_satellites_opt(&self) -> Option<u8>
pub fn num_satellites_opt(&self) -> Option<u8>
Number of satellites included in attitude calculations, or None when unavailable.
Sourcepub fn num_satellites_raw(&self) -> u8
pub fn num_satellites_raw(&self) -> u8
Raw NrSV field from the SBF block.
pub fn error_raw(&self) -> u8
pub fn mode_raw(&self) -> u16
pub fn datum(&self) -> u8
pub fn heading_deg(&self) -> Option<f32>
pub fn pitch_deg(&self) -> Option<f32>
pub fn roll_deg(&self) -> Option<f32>
pub fn pitch_rate_dps(&self) -> Option<f32>
pub fn roll_rate_dps(&self) -> Option<f32>
pub fn heading_rate_dps(&self) -> Option<f32>
Trait Implementations§
Source§impl Clone for AttEulerBlock
impl Clone for AttEulerBlock
Source§fn clone(&self) -> AttEulerBlock
fn clone(&self) -> AttEulerBlock
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 AttEulerBlock
impl Debug for AttEulerBlock
Auto Trait Implementations§
impl Freeze for AttEulerBlock
impl RefUnwindSafe for AttEulerBlock
impl Send for AttEulerBlock
impl Sync for AttEulerBlock
impl Unpin for AttEulerBlock
impl UnsafeUnpin for AttEulerBlock
impl UnwindSafe for AttEulerBlock
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