amino  1.0-beta2
Lightweight Robot Utility Library
amino.tf.TfVec Class Reference

six-element vector with rotational and translational parts. More...

Inheritance diagram for amino.tf.TfVec:
amino.tf.TfVel amino.tf.Twist

Public Member Functions

def rotational (self)
 Rotational part.
 
def translational (self)
 Translational part.
 
def translational (self, x)
 Set the translational part from x.
 
def rotational (self, x)
 Set the rotational part from x.
 
def copy_from (self, src)
 Copies src into self.
 
def zero (self)
 Set to zero.
 
def __len__ (self)
 Number of elements in self.
 
def __getitem__ (self, key)
 
def __setitem__ (self, key, item)
 
def to_dvec (self, vec=DVec(6))
 Copies self to a vec.
 
def from_dvec (self, vec)
 Copies vec to self.
 

Public Attributes

 rotational
 
 translational
 

Detailed Description

six-element vector with rotational and translational parts.

Definition at line 1218 of file tf.py.


The documentation for this class was generated from the following file: