pub struct ConstantPoseMotionModel;Trait Implementations§
Source§impl Clone for ConstantPoseMotionModel
impl Clone for ConstantPoseMotionModel
Source§fn clone(&self) -> ConstantPoseMotionModel
fn clone(&self) -> ConstantPoseMotionModel
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 moreimpl Copy for ConstantPoseMotionModel
Source§impl Debug for ConstantPoseMotionModel
impl Debug for ConstantPoseMotionModel
Source§impl Default for ConstantPoseMotionModel
impl Default for ConstantPoseMotionModel
Source§fn default() -> ConstantPoseMotionModel
fn default() -> ConstantPoseMotionModel
Returns the “default value” for a type. Read more
impl Eq for ConstantPoseMotionModel
Source§impl MotionModel for ConstantPoseMotionModel
impl MotionModel for ConstantPoseMotionModel
fn predict_pose( &self, _frame: &Frame, _last_result: Option<&TrackingResult>, last_successful_pose: Option<&Pose>, ) -> Option<Pose>
Source§fn allows_pnp_pose_prior_warm_start(&self) -> bool
fn allows_pnp_pose_prior_warm_start(&self) -> bool
Whether this model’s prediction is informative enough to seed the
PnP optimizer itself. Candidate selection and pose-quality gating may
still use every returned prior when this is
false. Read morefn observe(&mut self, _result: &TrackingResult)
fn reset(&mut self)
Source§fn apply_pose_correction(&mut self, _correction: &SE3)
fn apply_pose_correction(&mut self, _correction: &SE3)
Apply a rigid world-frame correction to any cached world-frame
state the model carries (velocities, cached poses).
correction
maps OLD world-frame points/poses to NEW world-frame points/poses:
p_new = correction.transform_point(&p_old). Called by
crate::Tracker::apply_pose_correction after an external
pose-graph optimisation (e.g. visloc-slam’s online loop-closure
refinement) rewrites keyframe poses, so the model’s own state
stays consistent with the corrected map instead of predicting the
next prior from stale, pre-correction poses/velocities. Read moreSource§fn apply_similarity_correction(&mut self, correction: &Sim3)
fn apply_similarity_correction(&mut self, correction: &Sim3)
Apply a rigid-plus-scale (
Sim(3)) world-frame correction —
apply_pose_correction’s
counterpart for a Sim(3) pose-graph solve (see visloc-slam’s
online loop-closure refinement Sim3 solver, which corrects
monocular-style scale drift a rigid SE(3) graph cannot
represent). correction follows the same OLD-world -> NEW-world
convention as apply_pose_correction, generalised with a scale
factor: p_new = correction.transform_point(&p_old). Read moreSource§impl PartialEq for ConstantPoseMotionModel
impl PartialEq for ConstantPoseMotionModel
impl StructuralPartialEq for ConstantPoseMotionModel
Auto Trait Implementations§
impl Forget for ConstantPoseMotionModel
impl Freeze for ConstantPoseMotionModel
impl Move for ConstantPoseMotionModel
impl RefUnwindSafe for ConstantPoseMotionModel
impl Send for ConstantPoseMotionModel
impl Sync for ConstantPoseMotionModel
impl Unpin for ConstantPoseMotionModel
impl UnsafeUnpin for ConstantPoseMotionModel
impl UnwindSafe for ConstantPoseMotionModel
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.