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

Class for transformation matrices. More...

Inheritance diagram for amino.tf.TfMat:
amino.mixin.MatMixin

Public Member Functions

def __init__ (self, arg=None)
 
def conv_from (self, src)
 Converts src to a transformation matrix.
 
def __mul__ (self, other)
 Chains two TF matrices.
 
def set_identity (self)
 Set to identity.
 
def __invert__ (self)
 Returns the inverse.
 
def transform (self, p)
 Chains two TF matrices.
 
def rotation (self)
 Rotation part.
 
def rotation (self, value)
 
def translation (self)
 Translation part.
 
def translation (self, value)
 
def __getitem__ (self, key)
 
def __setitem__ (self, key, item)
 
def __repr__ (self)
 
def __len__ (self)
 

Static Public Member Functions

def ensure (thing)
 Ensures thing is a TfMat. More...
 
def row_matrix (args)
 Constructs transformation matrix from rows in args.
 

Detailed Description

Class for transformation matrices.

Definition at line 836 of file tf.py.

Member Function Documentation

◆ ensure()

def amino.tf.TfMat.ensure (   thing)
static

Ensures thing is a TfMat.

If it's not, convert it.

Definition at line 918 of file tf.py.


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