pub struct ScanOdometry { /* private fields */ }Expand description
Deterministic scan odometry runner over one topic in a memory episode.
Implementations§
Source§impl ScanOdometry
impl ScanOdometry
Sourcepub fn try_new(config: ScanOdometryConfig) -> MappingResult<Self>
pub fn try_new(config: ScanOdometryConfig) -> MappingResult<Self>
Creates a scan odometry runner with validated limits.
Sourcepub const fn config(&self) -> ScanOdometryConfig
pub const fn config(&self) -> ScanOdometryConfig
Returns the configured scan limits.
Sourcepub fn estimate<M: ScanMatcher>(
&self,
episode: &MemoryEpisode,
topic: &TopicId,
matcher: &M,
) -> MappingResult<ScanOdometryResult>
pub fn estimate<M: ScanMatcher>( &self, episode: &MemoryEpisode, topic: &TopicId, matcher: &M, ) -> MappingResult<ScanOdometryResult>
Estimates a deterministic trajectory and relative pose graph.
The episode is already timestamp/topic ordered. Only the selected
topic is borrowed, and at most max_scans records are inspected. Every
selected record must use the same frame and clock domain. The first
scan is the graph root; each matcher result becomes the edge
current_T_previous and is composed using the pose-graph convention.
Trait Implementations§
Source§impl Clone for ScanOdometry
impl Clone for ScanOdometry
Source§fn clone(&self) -> ScanOdometry
fn clone(&self) -> ScanOdometry
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 ScanOdometry
impl Debug for ScanOdometry
Source§impl PartialEq for ScanOdometry
impl PartialEq for ScanOdometry
Source§fn eq(&self, other: &ScanOdometry) -> bool
fn eq(&self, other: &ScanOdometry) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for ScanOdometry
impl Eq for ScanOdometry
impl StructuralPartialEq for ScanOdometry
Auto Trait Implementations§
impl Freeze for ScanOdometry
impl RefUnwindSafe for ScanOdometry
impl Send for ScanOdometry
impl Sync for ScanOdometry
impl Unpin for ScanOdometry
impl UnsafeUnpin for ScanOdometry
impl UnwindSafe for ScanOdometry
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
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 more