pub struct SyntheticOdometry;Expand description
Synthetic odometry that trusts successive pose stamps and emits their delta.
Implementations§
Source§impl SyntheticOdometry
impl SyntheticOdometry
Sourcepub fn integrate_translation(pose: Pose3<f32>, delta: Vec3<f32>) -> Pose3<f32>
pub fn integrate_translation(pose: Pose3<f32>, delta: Vec3<f32>) -> Pose3<f32>
Integrates a translation-only delta onto a pose.
Sourcepub fn translation_delta(delta: Vec3<f32>) -> Isometry3<f32>
pub fn translation_delta(delta: Vec3<f32>) -> Isometry3<f32>
Builds a translation-only delta as an isometry.
Trait Implementations§
Source§impl Clone for SyntheticOdometry
impl Clone for SyntheticOdometry
Source§fn clone(&self) -> SyntheticOdometry
fn clone(&self) -> SyntheticOdometry
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 SyntheticOdometry
impl Debug for SyntheticOdometry
Source§impl Default for SyntheticOdometry
impl Default for SyntheticOdometry
Source§fn default() -> SyntheticOdometry
fn default() -> SyntheticOdometry
Returns the “default value” for a type. Read more
Source§impl RelativeMotionEstimator for SyntheticOdometry
impl RelativeMotionEstimator for SyntheticOdometry
Source§fn estimate(
&self,
previous: &StampedPose,
current: &StampedPose,
) -> MappingResult<DeltaMotion>
fn estimate( &self, previous: &StampedPose, current: &StampedPose, ) -> MappingResult<DeltaMotion>
Estimates motion aligning
previous toward current coordinates.impl Copy for SyntheticOdometry
Auto Trait Implementations§
impl Freeze for SyntheticOdometry
impl RefUnwindSafe for SyntheticOdometry
impl Send for SyntheticOdometry
impl Sync for SyntheticOdometry
impl Unpin for SyntheticOdometry
impl UnsafeUnpin for SyntheticOdometry
impl UnwindSafe for SyntheticOdometry
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 more