pub struct LidarMclConfig {Show 20 fields
pub particles: usize,
pub translation_noise: f64,
pub rotation_noise: f64,
pub rotation_noise_per_meter: f64,
pub hit_sigma: f64,
pub random_weight: f64,
pub beam_stride: usize,
pub max_field_distance: f64,
pub independent_beams: f64,
pub poor_fit: f64,
pub reset_fraction: f64,
pub reset_candidates: usize,
pub min_injection: f64,
pub global_oversampling: usize,
pub scan_match_candidates: usize,
pub scan_match_interval: usize,
pub scan_match_share: f64,
pub alpha_slow: f64,
pub alpha_fast: f64,
pub seed: u64,
}Expand description
Tuning parameters for LidarMcl.
Fields§
§particles: usizeNumber of particles.
translation_noise: f64Translation noise per meter travelled [m/m].
rotation_noise: f64Rotation noise per radian turned [rad/rad].
rotation_noise_per_meter: f64Rotation noise per meter travelled [rad/m].
hit_sigma: f64Standard deviation of a beam end point around the nearest wall [m].
random_weight: f64Weight of the uniform “unexplained return” term per beam.
beam_stride: usizeUse every beam_stride-th beam of a scan.
max_field_distance: f64Distances beyond this are treated as equally unlikely [m].
independent_beams: f64Effective number of independent beams: the per-beam geometric-mean likelihood is raised to this power. Beams are correlated, so a value below the beam count keeps the filter from collapsing too early.
poor_fit: f64A per-beam likelihood below this at the weighted particle mean counts as a poor fit (sensor-resetting localization).
reset_fraction: f64Fraction of particles re-drawn per update during a poor fit.
reset_candidates: usizeA re-drawn particle is the best-scoring of this many uniform free poses, so recovery does not need a lucky draw.
min_injection: f64Fraction of particles replaced by scored free poses on every update, so a filter confidently locked onto a look-alike place keeps probing for the true one.
global_oversampling: usizeGlobal (re)initialization scores this many times particles uniform
poses against the first scan and keeps particles of them.
scan_match_candidates: usizeCorrelative scan matching proposes this many distinct candidate poses (0 disables it); global seeding and injected particles draw from them, so every place the scan fits keeps particles until motion tells the look-alikes apart.
scan_match_interval: usizeRecompute the candidates every this many updates.
Fraction of injected particles drawn around a candidate (the rest are scored uniform draws).
alpha_slow: f64Smoothing factors of the long- and short-term likelihood averages
(augmented MCL, alpha_slow < alpha_fast).
alpha_fast: f64§seed: u64RNG seed.
Trait Implementations§
Source§impl Clone for LidarMclConfig
impl Clone for LidarMclConfig
impl Copy for LidarMclConfig
Source§impl Debug for LidarMclConfig
impl Debug for LidarMclConfig
Source§impl Default for LidarMclConfig
impl Default for LidarMclConfig
Source§impl PartialEq for LidarMclConfig
impl PartialEq for LidarMclConfig
impl StructuralPartialEq for LidarMclConfig
Auto Trait Implementations§
impl Freeze for LidarMclConfig
impl RefUnwindSafe for LidarMclConfig
impl Send for LidarMclConfig
impl Sync for LidarMclConfig
impl Unpin for LidarMclConfig
impl UnsafeUnpin for LidarMclConfig
impl UnwindSafe for LidarMclConfig
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
§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>
self from the equivalent element of its
superset. Read more§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).§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
self.to_subset but without any property checks. Always succeeds.§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
self to the equivalent element of its superset.