pub struct GyroWheelConfig {
pub still_m: f64,
pub still_deg: f64,
pub settle_s: f64,
pub average_samples: usize,
pub max_gyro_gap_s: f64,
}Fields§
§still_m: f64The wheels stand still where two consecutive poses differ by less than this (m) …
still_deg: f64… and this (deg).
settle_s: f64Gyro samples count towards the bias and the vertical once the wheels have stood still this long (s), past a stop’s own settling.
average_samples: usizeThe bias and the vertical average over this many such samples at most, forgetting older ones.
max_gyro_gap_s: f64Between wheel poses with a gyro gap longer than this (s), or before the first gyro sample, the wheels’ own turn is used.
Trait Implementations§
Source§impl Clone for GyroWheelConfig
impl Clone for GyroWheelConfig
Source§impl Debug for GyroWheelConfig
impl Debug for GyroWheelConfig
Source§impl Default for GyroWheelConfig
impl Default for GyroWheelConfig
Source§impl PartialEq for GyroWheelConfig
impl PartialEq for GyroWheelConfig
impl StructuralPartialEq for GyroWheelConfig
Auto Trait Implementations§
impl Forget for GyroWheelConfig
impl Freeze for GyroWheelConfig
impl Move for GyroWheelConfig
impl RefUnwindSafe for GyroWheelConfig
impl Send for GyroWheelConfig
impl Sync for GyroWheelConfig
impl Unpin for GyroWheelConfig
impl UnsafeUnpin for GyroWheelConfig
impl UnwindSafe for GyroWheelConfig
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> Scalar for T
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.