pub struct LandmarkCandidate {
pub id: LandmarkCandidateId,
pub observations: Vec<LandmarkCandidateObservation>,
pub descriptor: Option<Vec<f32>>,
pub position_covariance_world: Option<Matrix3<f64>>,
}Fields§
§id: LandmarkCandidateId§observations: Vec<LandmarkCandidateObservation>§descriptor: Option<Vec<f32>>§position_covariance_world: Option<Matrix3<f64>>Optional world-frame covariance supplied by a metric depth source. The multi-view triangulator may update the point mean while retaining this first-order uncertainty model for covariance-aware backend factors.
Implementations§
Source§impl LandmarkCandidate
impl LandmarkCandidate
pub const fn new(id: LandmarkCandidateId) -> Self
pub fn with_observation(self, observation: LandmarkCandidateObservation) -> Self
pub fn with_descriptor(self, descriptor: Vec<f32>) -> Self
pub const fn with_position_covariance_world( self, covariance: Matrix3<f64>, ) -> Self
pub fn observation_count(&self) -> usize
pub fn is_triangulatable(&self, min_observations: usize) -> bool
pub fn validate_against( &self, map: &VisualMap, window: Option<&LocalMapWindow>, config: &LandmarkCandidateValidationConfig, ) -> LandmarkCandidateValidationReport
Trait Implementations§
Source§impl Clone for LandmarkCandidate
impl Clone for LandmarkCandidate
Source§impl Debug for LandmarkCandidate
impl Debug for LandmarkCandidate
Source§impl PartialEq for LandmarkCandidate
impl PartialEq for LandmarkCandidate
impl StructuralPartialEq for LandmarkCandidate
Auto Trait Implementations§
impl Forget for LandmarkCandidate
impl Freeze for LandmarkCandidate
impl Move for LandmarkCandidate
impl RefUnwindSafe for LandmarkCandidate
impl Send for LandmarkCandidate
impl Sync for LandmarkCandidate
impl Unpin for LandmarkCandidate
impl UnsafeUnpin for LandmarkCandidate
impl UnwindSafe for LandmarkCandidate
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
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>
The inverse inclusion map: attempts to construct
self from the equivalent element of its
superset. Read moreSource§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).Source§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.Source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self to the equivalent element of its superset.