pub enum MatchStatus {
Bootstrap,
Accepted,
RejectedTooFewCorrespondences,
RejectedLargeCorrection,
RejectedHighResidual,
}Expand description
Outcome of a single ScanToMapMatcher::update call.
Variants§
Bootstrap
The submap was too sparse to match against; the prediction was kept.
Accepted
The match passed all gates and its correction was applied.
RejectedTooFewCorrespondences
Too few correspondences survived the distance gate.
RejectedLargeCorrection
The correction exceeded the translation or rotation gate.
RejectedHighResidual
The final mean residual exceeded ScanToMapConfig::max_mean_residual.
Implementations§
Source§impl MatchStatus
impl MatchStatus
Sourcepub fn is_accepted(self) -> bool
pub fn is_accepted(self) -> bool
Whether the match correction was applied.
Trait Implementations§
Source§impl Clone for MatchStatus
impl Clone for MatchStatus
impl Copy for MatchStatus
Source§impl Debug for MatchStatus
impl Debug for MatchStatus
impl Eq for MatchStatus
Source§impl PartialEq for MatchStatus
impl PartialEq for MatchStatus
impl StructuralPartialEq for MatchStatus
Auto Trait Implementations§
impl Freeze for MatchStatus
impl RefUnwindSafe for MatchStatus
impl Send for MatchStatus
impl Sync for MatchStatus
impl Unpin for MatchStatus
impl UnsafeUnpin for MatchStatus
impl UnwindSafe for MatchStatus
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
§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>
The inverse inclusion map: attempts to construct
self from the equivalent element of its
superset. Read more§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).§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.§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self to the equivalent element of its superset.