pub struct Settle {
pub tolerance: f64,
pub cycles: u32,
}Expand description
How a stop ends: once the generator is within tolerance of the target on every axis and
at rest (REST_VELOCITY, REST_ACCELERATION), the echo of the last command is held
for cycles cycles and motion_finished set on the next one.
Fields§
§tolerance: f64Per-axis tolerance, in the interface’s unit: m for a position, rad for a joint or for the orientation error of a pose. Default 1e-3.
cycles: u32Cycles the landed command is held, identical, before motion_finished. Default 250.
Trait Implementations§
impl Copy for Settle
impl StructuralPartialEq for Settle
Auto Trait Implementations§
impl Freeze for Settle
impl RefUnwindSafe for Settle
impl Send for Settle
impl Sync for Settle
impl Unpin for Settle
impl UnsafeUnpin for Settle
impl UnwindSafe for Settle
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> Read<Exclusive, BecauseExclusive> for Twhere
T: ?Sized,
impl<T> Scalar for T
§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
§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 more§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).§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.§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self to the equivalent element of its superset.