[][src]Struct arcos_kdl::joint::Joint

pub struct Joint { /* fields omitted */ }

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_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Copy for Joint[src]

Auto Trait Implementations

impl Send for Joint

impl Sync for Joint

Blanket Implementations

impl<T> From<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<SS, SP> SupersetOf<SS> for SP where
    SS: SubsetOf<SP>,