Struct tracking::motion_model_3d::ConstantVelocity3DModel
source · pub struct ConstantVelocity3DModel<R: RealField + Copy>{ /* private fields */ }Expand description
constant velocity 3D motion model parameterized by dt
The important method is calc_for_dt(). Calling this
returns a motion model for a specific dt.
The state vector is [x y z xvel yvel zvel].
Implementations§
Trait Implementations§
source§impl<R: Clone + RealField + Copy> Clone for ConstantVelocity3DModel<R>
impl<R: Clone + RealField + Copy> Clone for ConstantVelocity3DModel<R>
source§fn clone(&self) -> ConstantVelocity3DModel<R>
fn clone(&self) -> ConstantVelocity3DModel<R>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl<R: RealField + Copy> MotionModel3D<R> for ConstantVelocity3DModel<R>
impl<R: RealField + Copy> MotionModel3D<R> for ConstantVelocity3DModel<R>
source§fn calc_for_dt(&self, dt: R) -> MotionModel3DFixedDt<R>
fn calc_for_dt(&self, dt: R) -> MotionModel3DFixedDt<R>
For a given
dt, create a new instance of the motion model.Auto Trait Implementations§
impl<R> Freeze for ConstantVelocity3DModel<R>
impl<R> RefUnwindSafe for ConstantVelocity3DModel<R>
impl<R> Send for ConstantVelocity3DModel<R>where
DefaultAllocator: Sized,
impl<R> Sync for ConstantVelocity3DModel<R>where
DefaultAllocator: Sized,
impl<R> Unpin for ConstantVelocity3DModel<R>
impl<R> UnwindSafe for ConstantVelocity3DModel<R>
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<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.