pub struct CuAhrsDebugState {Show 15 fields
pub orientation_w: Ratio,
pub orientation_i: Ratio,
pub orientation_j: Ratio,
pub orientation_k: Ratio,
pub roll: Angle,
pub pitch: Angle,
pub yaw: Angle,
pub gyro_bias_x: AngularVelocity,
pub gyro_bias_y: AngularVelocity,
pub gyro_bias_z: AngularVelocity,
pub last_tov: Option<CuTime>,
pub sample_period: Time,
pub auto_sample_period: bool,
pub mahony_kp: Ratio,
pub mahony_ki: Ratio,
}Expand description
Typed debug-state view for AHRS internals.
This is projected from the live task state when the debugger reads it; it is not a second copy of the filter state.
Fields§
§orientation_w: Ratio§orientation_i: Ratio§orientation_j: Ratio§orientation_k: Ratio§roll: Angle§pitch: Angle§yaw: Angle§gyro_bias_x: AngularVelocity§gyro_bias_y: AngularVelocity§gyro_bias_z: AngularVelocity§last_tov: Option<CuTime>§sample_period: Time§auto_sample_period: bool§mahony_kp: Ratio§mahony_ki: RatioTrait Implementations§
Source§impl Clone for CuAhrsDebugState
impl Clone for CuAhrsDebugState
Source§fn clone(&self) -> CuAhrsDebugState
fn clone(&self) -> CuAhrsDebugState
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 moreimpl Copy for CuAhrsDebugState
Source§impl Debug for CuAhrsDebugState
impl Debug for CuAhrsDebugState
Source§impl Serialize for CuAhrsDebugState
impl Serialize for CuAhrsDebugState
Auto Trait Implementations§
impl Freeze for CuAhrsDebugState
impl RefUnwindSafe for CuAhrsDebugState
impl Send for CuAhrsDebugState
impl Sync for CuAhrsDebugState
impl Unpin for CuAhrsDebugState
impl UnsafeUnpin for CuAhrsDebugState
impl UnwindSafe for CuAhrsDebugState
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<T> GetTypeRegistration for T
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> PayloadDefaultHandlePolicyApply for Twhere
T: ?Sized,
impl<T> PayloadDefaultHandlePolicyApply for Twhere
T: ?Sized,
fn apply_handle_content_policy(&self, _mode: HandleContent)
Source§impl<T> PayloadDefaultLoggingPolicy for Twhere
T: ?Sized,
impl<T> PayloadDefaultLoggingPolicy for Twhere
T: ?Sized,
fn payload_should_log(&self) -> bool
Source§impl<T> Pointable for T
impl<T> Pointable for T
impl<T> Reflect for Twhere
T: 'static,
impl<T> ReflectTypePath for T
Source§impl<T> Serialize for T
impl<T> Serialize for T
fn erased_serialize(&self, serializer: &mut dyn Serializer) -> Result<(), Error>
fn do_erased_serialize( &self, serializer: &mut dyn Serializer, ) -> Result<(), ErrorImpl>
Source§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
Source§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 moreSource§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).Source§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.Source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self to the equivalent element of its superset.