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

Class for Dual Number Quaternions. More...

Inheritance diagram for amino.tf.DualQuat:
amino.mixin.CopyEltsMixin

Public Member Functions

def __init__ (self, arg=None)
 
def set_identity (self)
 Set to identity.
 
def conv_from (self, src)
 Converts src to a Dual Quaternion.
 
def __mul__ (self, other)
 Chains two Dual Quaternions.
 
def conj (self)
 Returns the conjugate.
 
def __invert__ (self)
 Returns the inverse.
 
def ln (self)
 Returns the dual quaternion logarithm.
 
def norm_parts (self)
 Real and dual parts 2-norm (Euclidean)
 
def transform (self, p)
 Transform point p.
 
def __repr__ (self)
 
def __getitem__ (self, key)
 
def __setitem__ (self, key, item)
 
def __len__ (self)
 
def rotation (self)
 Rotation part.
 
def translation (self)
 Translation.
 
def rotation (self, value)
 
def translation (self, value)
 
- Public Member Functions inherited from amino.mixin.CopyEltsMixin
def copy_from (self, src)
 Copy elements from src to self.
 
def copy_to (self, dst)
 Copy elements from self to dst.
 

Static Public Member Functions

def identity ()
 Returns the identity dual quaternion.
 
def ensure (thing)
 Ensures thing is a DualQuat. More...
 

Detailed Description

Class for Dual Number Quaternions.

Definition at line 945 of file tf.py.

Member Function Documentation

◆ ensure()

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

Ensures thing is a DualQuat.

If it's not, convert it.

Definition at line 1002 of file tf.py.


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