pub struct AttitudeState<R: FlightFloat> {
pub q_hat: Quaternion<R>,
pub q_dot: Quaternion<R>,
pub body_rate: SVector<R, 3>,
pub b_hat: SVector<R, 3>,
pub is_healthy: bool,
}Fields§
§q_hat: Quaternion<R>§q_dot: Quaternion<R>§body_rate: SVector<R, 3>§b_hat: SVector<R, 3>§is_healthy: boolTrait Implementations§
Source§impl<R: FlightFloat> AttitudeEstimate for AttitudeState<R>
impl<R: FlightFloat> AttitudeEstimate for AttitudeState<R>
Source§impl<R: Clone + FlightFloat> Clone for AttitudeState<R>
impl<R: Clone + FlightFloat> Clone for AttitudeState<R>
Source§fn clone(&self) -> AttitudeState<R>
fn clone(&self) -> AttitudeState<R>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<R: Debug + FlightFloat> Debug for AttitudeState<R>
impl<R: Debug + FlightFloat> Debug for AttitudeState<R>
Source§impl<R: FlightFloat> Default for AttitudeState<R>
impl<R: FlightFloat> Default for AttitudeState<R>
Source§impl<'a, R: FlightFloat> From<&'a AttitudeState<R>> for SVector<R, 3>
impl<'a, R: FlightFloat> From<&'a AttitudeState<R>> for SVector<R, 3>
Source§fn from(state: &'a AttitudeState<R>) -> Self
fn from(state: &'a AttitudeState<R>) -> Self
Converts to this type from the input type.
Source§impl<R: FlightFloat> From<AttitudeState<R>> for SVector<R, 3>
impl<R: FlightFloat> From<AttitudeState<R>> for SVector<R, 3>
Source§fn from(state: AttitudeState<R>) -> Self
fn from(state: AttitudeState<R>) -> Self
Converts to this type from the input type.
impl<R: Copy + FlightFloat> Copy for AttitudeState<R>
Auto Trait Implementations§
impl<R> Freeze for AttitudeState<R>where
R: Freeze,
impl<R> RefUnwindSafe for AttitudeState<R>where
R: RefUnwindSafe,
impl<R> Send for AttitudeState<R>
impl<R> Sync for AttitudeState<R>
impl<R> Unpin for AttitudeState<R>where
R: Unpin,
impl<R> UnsafeUnpin for AttitudeState<R>where
R: UnsafeUnpin,
impl<R> UnwindSafe for AttitudeState<R>where
R: UnwindSafe,
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct
self from the equivalent element of its
superset. Read more§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
self is actually part of its subset T (and can be converted to it).§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
Use with care! Same as
self.to_subset but without any property checks. Always succeeds.§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self to the equivalent element of its superset.