pub struct ScanToMapConfig {Show 14 fields
pub max_scans: usize,
pub max_radius: f64,
pub keyframe_translation: f64,
pub keyframe_yaw: f64,
pub voxel_size: f64,
pub max_iterations: usize,
pub max_correspondence_distance: f64,
pub huber_delta: f64,
pub min_correspondences: usize,
pub max_correction_translation: f64,
pub max_correction_yaw: f64,
pub max_mean_residual: f64,
pub normal_neighbor_distance: f64,
pub degeneracy_ratio: f64,
}Expand description
Tuning parameters for ScanToMapMatcher.
Fields§
§max_scans: usizeMaximum number of keyframe scans kept in the submap.
max_radius: f64Submap points farther than this from the predicted pose are ignored [m].
keyframe_translation: f64Minimum translation since the last keyframe before a scan is inserted [m].
keyframe_yaw: f64Minimum rotation since the last keyframe before a scan is inserted [rad].
voxel_size: f64Voxel edge used to decimate scans before matching and insertion [m].
0.0 disables decimation.
max_iterations: usizeGauss-Newton iterations (each one re-associates correspondences).
max_correspondence_distance: f64Correspondences farther than this are rejected [m].
huber_delta: f64Huber threshold on the point-to-line residual [m].
min_correspondences: usizeMinimum number of accepted correspondences for a valid match.
max_correction_translation: f64Reject matches whose correction exceeds this translation [m].
max_correction_yaw: f64Reject matches whose correction exceeds this rotation [rad].
max_mean_residual: f64Reject matches whose mean absolute point-to-line residual exceeds this [m].
normal_neighbor_distance: f64Neighbor search radius used for normal estimation in beam order [m].
degeneracy_ratio: f64When λ_min / λ_max of the translational Hessian falls below this
ratio (e.g. in a featureless corridor), the Gauss-Newton step along the
weak direction is discarded and the odometry prediction is kept there.
0.0 disables the projection.
Implementations§
Source§impl ScanToMapConfig
impl ScanToMapConfig
Sourcepub fn scan_to_scan() -> Self
pub fn scan_to_scan() -> Self
Seeded scan-to-scan preset: the submap holds only the previous scan.
Trait Implementations§
Source§impl Clone for ScanToMapConfig
impl Clone for ScanToMapConfig
impl Copy for ScanToMapConfig
Source§impl Debug for ScanToMapConfig
impl Debug for ScanToMapConfig
Source§impl Default for ScanToMapConfig
impl Default for ScanToMapConfig
Source§impl PartialEq for ScanToMapConfig
impl PartialEq for ScanToMapConfig
impl StructuralPartialEq for ScanToMapConfig
Auto Trait Implementations§
impl Freeze for ScanToMapConfig
impl RefUnwindSafe for ScanToMapConfig
impl Send for ScanToMapConfig
impl Sync for ScanToMapConfig
impl Unpin for ScanToMapConfig
impl UnsafeUnpin for ScanToMapConfig
impl UnwindSafe for ScanToMapConfig
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.