pub struct JointVelocities {
pub dq: [f64; 7],
pub motion_finished: bool,
}Expand description
Stores values for joint velocity motion generation.
Port of franka::JointVelocities.
Fields§
§dq: [f64; 7]Desired joint velocities in [rad/s].
motion_finished: boolDetermines whether to finish a currently running motion.
Implementations§
Trait Implementations§
Source§impl ActiveMotionInput for JointVelocities
impl ActiveMotionInput for JointVelocities
Source§fn create_motion_command(&self) -> FrankaResult<MotionGeneratorCommand>
fn create_motion_command(&self) -> FrankaResult<MotionGeneratorCommand>
Validates the command and converts it into the wire motion command.
Source§impl Clone for JointVelocities
impl Clone for JointVelocities
Source§fn clone(&self) -> JointVelocities
fn clone(&self) -> JointVelocities
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 JointVelocities
Source§impl Debug for JointVelocities
impl Debug for JointVelocities
Source§impl Finishable for JointVelocities
impl Finishable for JointVelocities
Source§fn is_finished(&self) -> bool
fn is_finished(&self) -> bool
Whether the motion should terminate after this command has been processed.
Source§fn set_finished(&mut self, finished: bool)
fn set_finished(&mut self, finished: bool)
Sets the “terminate after this command” flag.
Source§impl MotionGenerator for JointVelocities
impl MotionGenerator for JointVelocities
Source§const KIND: MotionGeneratorKind = MotionGeneratorKind::JointVelocity
const KIND: MotionGeneratorKind = MotionGeneratorKind::JointVelocity
The motion generator this command type drives.
Source§impl PartialEq for JointVelocities
impl PartialEq for JointVelocities
Source§fn eq(&self, other: &JointVelocities) -> bool
fn eq(&self, other: &JointVelocities) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for JointVelocities
Auto Trait Implementations§
impl Freeze for JointVelocities
impl RefUnwindSafe for JointVelocities
impl Send for JointVelocities
impl Sync for JointVelocities
impl Unpin for JointVelocities
impl UnsafeUnpin for JointVelocities
impl UnwindSafe for JointVelocities
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.