pub struct OdomCorrectionConfig {
pub init_fixes: usize,
pub init_fixes_weak: usize,
pub reset_after: usize,
pub agreement_m: f64,
pub gate_m: f64,
pub gate_per_m: f64,
pub gate_yaw_deg: f64,
pub gate_yaw_per_m_deg: f64,
pub window_s: f64,
pub weak_gate_m: f64,
pub weak_gate_yaw_deg: f64,
}Fields§
§init_fixes: usizeConsecutive mutually consistent fixes needed before the first offset.
init_fixes_weak: usize… when any of them is weak (OdomCorrection::add_weak_fix).
reset_after: usizeConsecutive mutually consistent rejected fixes that replace the offset.
agreement_m: f64Position tolerance, in metres, for fixes to count as agreeing with each other (initialization, reset).
gate_m: f64Position gate, in metres, for accepting a fix right after another.
gate_per_m: f64Extra position gate per metre of odometry travel since the last accepted fix.
gate_yaw_deg: f64Yaw gate, in degrees, for agreement and acceptance.
gate_yaw_per_m_deg: f64Extra yaw gate, in degrees, per metre of odometry travel since the last accepted fix.
window_s: f64Accepted fixes older than this (relative to the newest) leave the averaging window.
weak_gate_m: f64Once the offset is set, a weak fix within this distance of where the
offset puts the odometry pose (and within weak_gate_yaw_deg) is
accepted like a fix; 0, the default, leaves weak fixes unused then.
Unlike a fix’s gate, it does not widen with travel.
weak_gate_yaw_deg: f64Yaw gate, in degrees, for accepting a weak fix (weak_gate_m).
Trait Implementations§
Source§impl Clone for OdomCorrectionConfig
impl Clone for OdomCorrectionConfig
Source§impl Debug for OdomCorrectionConfig
impl Debug for OdomCorrectionConfig
Source§impl Default for OdomCorrectionConfig
impl Default for OdomCorrectionConfig
Source§impl PartialEq for OdomCorrectionConfig
impl PartialEq for OdomCorrectionConfig
impl StructuralPartialEq for OdomCorrectionConfig
Auto Trait Implementations§
impl Forget for OdomCorrectionConfig
impl Freeze for OdomCorrectionConfig
impl Move for OdomCorrectionConfig
impl RefUnwindSafe for OdomCorrectionConfig
impl Send for OdomCorrectionConfig
impl Sync for OdomCorrectionConfig
impl Unpin for OdomCorrectionConfig
impl UnsafeUnpin for OdomCorrectionConfig
impl UnwindSafe for OdomCorrectionConfig
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
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>
self from the equivalent element of its
superset. Read moreSource§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
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
self.to_subset but without any property checks. Always succeeds.Source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
self to the equivalent element of its superset.