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]

[src]

Create LinkTree from root link

Arguments

  • root_link - root node of the links

[src]

[src]

[src]

iter for all link nodes

[src]

iter for all link nodes as mut

iter for all links, not as node

iter for all links as mut, not as node

[src]

iter for the links with the joint which is not fixed

iter for the links with the joint which is not fixed

[src]

Get the degree of freedom

Trait Implementations

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

[src]

Formats the value using the given formatter.

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

[src]

Get the angles of the joints

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

[src]

Set the angles of the joints

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

[src]

Get the limits of the joints, if it exists.

[src]

Get the all names of the joints

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

Calculate the transforms of all of the links

Get the names of the links

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

[src]

Create LinkChain from LinkTree and the name of the end link

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

[src]

Create LinkTree from urdf_rs::Robot

[src]