Struct k::LinkTree[][src]

pub struct LinkTree<T: Real> {
    pub name: String,
    pub root_link: LinkNode<T>,
    // some fields omitted
}

Kinematic Tree using Rc<RefCell<Link<T>>>

Fields

Methods

impl<T: Real> LinkTree<T>
[src]

Create LinkTree from root link

Arguments

  • root_link - root node of the links

iter for all link nodes

iter for all links, not as node

iter for all links as mut, not as node

iter for the links with the joint which is not fixed

iter for the links with the joint which is not fixed

iter mut for the links with the joint which is not fixed

Get the degree of freedom

Trait Implementations

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

Formats the value using the given formatter. Read more

impl<T> HasJoints<T> for LinkTree<T> where
    T: Real, 
[src]

Get the angles of the joints

FixedJoint is ignored. the length is the same with dof()

Set the angles of the joints

FixedJoints are ignored. the input number must be equal with dof()

Get the limits of the joints, if it exists.

Get the all names of the joints

impl<T> HasLinks<T> for LinkTree<T> where
    T: Real, 
[src]

Calculate the transforms of all of the links

Get the names of the links

impl<T> FromUrdf for LinkTree<T> where
    T: Real, 
[src]

Create LinkTree from urdf_rs::Robot

Auto Trait Implementations

impl<T> !Send for LinkTree<T>

impl<T> !Sync for LinkTree<T>