Struct k::Link[][src]

pub struct Link<T: Real> {
    pub name: String,
    pub joint: Joint<T>,
    pub transform: Isometry3<T>,
    // some fields omitted
}

Link contains a joint and a transform

Fields

joint instance

local transfrom of joint

Methods

impl<T> Link<T> where
    T: Real, 
[src]

Construct a Link from name and joint instance

You can use LinkBuilder if you want.

Return the name of the joint

Updates and returns the transform of the end of the joint

Set the angle of the joint

If angle is out of limit, it returns Err.

Get the angle of the joint. If it is fixed, it returns None.

Returns if it has a joint angle. similar to is_not_fixed()

impl<T> Link<T> where
    T: Real, 
[src]

Trait Implementations

impl<T: Debug + Real> Debug for Link<T>
[src]

Formats the value using the given formatter. Read more

impl<T: Clone + Real> Clone for Link<T>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Auto Trait Implementations

impl<T> Send for Link<T> where
    T: Scalar

impl<T> !Sync for Link<T>