pub struct JointLimits {
pub min: f64,
pub max: f64,
pub max_velocity: f64,
pub max_effort: f64,
}Expand description
Angular or linear limits for a single joint.
Fields§
§min: f64Minimum joint value (radians or metres).
max: f64Maximum joint value (radians or metres).
max_velocity: f64Maximum joint velocity (rad/s or m/s).
max_effort: f64Maximum joint torque/force (Nm or N).
Implementations§
Trait Implementations§
Source§impl Clone for JointLimits
impl Clone for JointLimits
Source§fn clone(&self) -> JointLimits
fn clone(&self) -> JointLimits
Returns a duplicate 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 Debug for JointLimits
impl Debug for JointLimits
impl Copy for JointLimits
Auto Trait Implementations§
impl Freeze for JointLimits
impl RefUnwindSafe for JointLimits
impl Send for JointLimits
impl Sync for JointLimits
impl Unpin for JointLimits
impl UnsafeUnpin for JointLimits
impl UnwindSafe for JointLimits
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<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.