[−][src]Struct arcos_kdl::joint::Joint
Defines a robotic Joint
joint_type: JointType
that defines the type of the joint
scale: received cmd
mut moves cmd*scale
units
offset: received cmd
mut moves cmd+offset
inertia: Meassurement of inertia for Dynamic purposes
damping: Used for Impedance control
stiffness: Used for Impedance control
axis: Rotational or translational axis of this joint
Methods
impl Joint
[src]
pub fn default() -> Joint
[src]
Returns the default Joint, of type NoJoint
, no scale, offset
or any Dynamic parameter.
pub fn set_type(&self, new_joint_type: JointType) -> Joint
[src]
Create a new Joint with the given Type, and sets the appropiate axis
pub fn set_scale(&self, new_scale: f64) -> Joint
[src]
Create a new Joint with the given scale
pub fn set_offset(&self, new_offset: f64) -> Joint
[src]
Create a new Joint with the given offset
pub fn set_inertia(&self, new_inertia: f64) -> Joint
[src]
Create a new Joint with the given inertial parameter
pub fn set_damping(&self, new_damping: f64) -> Joint
[src]
Create a new Joint with the given damping parameter
pub fn set_stiffness(&self, new_stiffness: f64) -> Joint
[src]
Create a new Joint with the given stiffness parameter
pub fn get_joint_type(&self) -> JointType
[src]
Returns the type of this Joint
pub fn pose(&self, joint_state: f64) -> Frame
[src]
Calculates the pose of the Joint, given its current state
pub fn twist(&self, qdot: f64) -> Twist
[src]
Calculates the velocity of the Joint, given its current joint-speed
pub fn joint_axis(&self) -> Vector
[src]
Get the action-axis of this Joint
Trait Implementations
impl Clone for Joint
[src]
fn clone(&self) -> Joint
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Copy for Joint
[src]
Auto Trait Implementations
Blanket Implementations
impl<T> From<T> for T
[src]
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>,
SS: SubsetOf<SP>,