pub struct TrackingResult {Show 13 fields
pub frame_id: u64,
pub state: TrackingState,
pub event: TrackingEvent,
pub successive_failures: usize,
pub pose_prior: Option<Pose>,
pub used_pose_prior: bool,
pub used_external_localization_prior: bool,
pub external_localization_prior_radius: Option<f64>,
pub tracking_failure_reason: Option<TrackingFailureReason>,
pub map_landmark_count: usize,
pub map_stats: MapProviderStats,
pub localization: LocalizationResult,
pub covisibility_local_map_size: Option<usize>,
}Fields§
§frame_id: u64§state: TrackingState§event: TrackingEvent§successive_failures: usize§pose_prior: Option<Pose>§used_pose_prior: bool§used_external_localization_prior: bool§external_localization_prior_radius: Option<f64>§tracking_failure_reason: Option<TrackingFailureReason>§map_landmark_count: usize§map_stats: MapProviderStats§localization: LocalizationResult§covisibility_local_map_size: Option<usize>Number of landmarks in the covisibility-derived local map used to
restrict descriptor matching for this frame. None when the local-map
filter was disabled or fell back to the full map.
Implementations§
Source§impl TrackingResult
impl TrackingResult
pub fn localization_prior(&self, radius: f64) -> LocalizationPrior
Trait Implementations§
Source§impl Clone for TrackingResult
impl Clone for TrackingResult
Source§fn clone(&self) -> TrackingResult
fn clone(&self) -> TrackingResult
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TrackingResult
impl Debug for TrackingResult
Source§impl PartialEq for TrackingResult
impl PartialEq for TrackingResult
impl StructuralPartialEq for TrackingResult
Auto Trait Implementations§
impl Forget for TrackingResult
impl Freeze for TrackingResult
impl Move for TrackingResult
impl RefUnwindSafe for TrackingResult
impl Send for TrackingResult
impl Sync for TrackingResult
impl Unpin for TrackingResult
impl UnsafeUnpin for TrackingResult
impl UnwindSafe for TrackingResult
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,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> Pointable for T
impl<T> Pointable for T
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.