pub struct LidarGraphSlamConfig {Show 24 fields
pub front_end: ScanToMapConfig,
pub node_translation: f64,
pub node_yaw: f64,
pub loop_search_radius: f64,
pub loop_min_node_gap: usize,
pub loop_max_candidates: usize,
pub loop_map_neighbors: usize,
pub loop_correspondence_schedule: [f64; 3],
pub loop_min_inlier_ratio: f64,
pub loop_max_mean_residual: f64,
pub loop_max_correction_translation: f64,
pub loop_max_correction_yaw: f64,
pub loop_ambiguity_check: bool,
pub loop_ambiguity_shifts: [f64; 3],
pub loop_ambiguity_ratio: f64,
pub loop_ambiguity_separation: f64,
pub odometry_sigma: (f64, f64),
pub odometry_scale_sigma: f64,
pub odometry_yaw_sigma: f64,
pub degeneracy_ratio: f64,
pub loop_sigma: (f64, f64),
pub reoptimize_threshold: (f64, f64),
pub deferred_optimization: bool,
pub pose_graph: PoseGraphConfig,
}Expand description
Tuning parameters for LidarGraphSlam.
Fields§
§front_end: ScanToMapConfigLocal scan-to-map front end.
node_translation: f64Front-end translation between pose-graph nodes [m].
node_yaw: f64Front-end rotation between pose-graph nodes [rad].
loop_search_radius: f64Older nodes within this distance of the new node are loop candidates [m].
loop_min_node_gap: usizeCandidates must be at least this many nodes older than the new node (at least 1).
loop_max_candidates: usizeAt most this many nearest candidates are verified per new node.
loop_map_neighbors: usizeThe candidate’s map uses nodes candidate ± loop_map_neighbors.
loop_correspondence_schedule: [f64; 3]Correspondence radii for the coarse-to-fine loop registration [m].
loop_min_inlier_ratio: f64Minimum fraction of scan points matched at the finest radius.
loop_max_mean_residual: f64Maximum mean point-to-line residual at the finest radius [m].
loop_max_correction_translation: f64Maximum loop correction translation relative to the estimate [m].
loop_max_correction_yaw: f64Maximum loop correction rotation relative to the estimate [rad].
loop_ambiguity_check: boolReject loop matches that are not unique (perceptual aliasing): the
accepted solution is re-registered from seeds shifted by
±loop_ambiguity_shifts along x and y, and any distinct alternative
that scores nearly as well makes the match ambiguous.
loop_ambiguity_shifts: [f64; 3]Seed shifts [m] used by the ambiguity check.
loop_ambiguity_ratio: f64An alternative is “nearly as good” when its inlier ratio is at least this fraction of the best match’s.
loop_ambiguity_separation: f64Alternatives closer than this to the best match are the same solution [m].
odometry_sigma: (f64, f64)Base standard deviations (xy [m], yaw [rad]) of an odometry edge.
odometry_scale_sigma: f64Odometry translation uncertainty per meter travelled in a direction the front end cannot observe (no match, or a degenerate match).
odometry_yaw_sigma: f64Odometry heading uncertainty per meter travelled without any accepted scan match [rad/m].
degeneracy_ratio: f64A match is treated as fully degenerate along its weakest translation
direction when λ_min / λ_max of the translational Hessian is 0, and
fully constrained at or above this ratio (linear in between).
loop_sigma: (f64, f64)Standard deviations (xy [m], yaw [rad]) of a loop edge.
reoptimize_threshold: (f64, f64)A new loop edge triggers re-optimization only when it disagrees with
the current graph by more than (xy [m], yaw [rad]); consistent
edges are kept and folded in by the next optimization.
deferred_optimization: boolWhen true, LidarGraphSlam::update only queues loop detection and
marks the graph as needing re-optimization; the caller spreads that
work over frames with LidarGraphSlam::background_step (for
interactive applications).
pose_graph: PoseGraphConfigBack-end optimizer settings.
Trait Implementations§
Source§impl Clone for LidarGraphSlamConfig
impl Clone for LidarGraphSlamConfig
impl Copy for LidarGraphSlamConfig
Source§impl Debug for LidarGraphSlamConfig
impl Debug for LidarGraphSlamConfig
Auto Trait Implementations§
impl Freeze for LidarGraphSlamConfig
impl RefUnwindSafe for LidarGraphSlamConfig
impl Send for LidarGraphSlamConfig
impl Sync for LidarGraphSlamConfig
impl Unpin for LidarGraphSlamConfig
impl UnsafeUnpin for LidarGraphSlamConfig
impl UnwindSafe for LidarGraphSlamConfig
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<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.