Classes | Functions | Variables
convert Namespace Reference

Classes

class  Converter
class  TransformManager

Functions

def convert
def getDictionary
def getlist
def matrixToQuaternion
def quaternion_to_rpy
def zero

Variables

tuple argc = len(sys.argv)
list COLORS
tuple con = Converter()
 config = None
list filename = sys.argv[1]
float INCH2METER = 0.0254
int MM2M = 001
list mode = sys.argv[2]
float SLUG2KG = 14.5939029
int SLUGININ2KGMM = 009415402
string WORLD = "WORLD"

Function Documentation

def convert.convert (   value,
  units 
)
Convert value from the specified units to mks units

Definition at line 607 of file convert.py.

def convert.getDictionary (   tag)
Builds a dictionary from the specified xml tag
   where each child of the tag is entered into the dictionary
   with the name of the child tag as the key, and the contents
   as the value. Also removes quotes from quoted values

Definition at line 575 of file convert.py.

def convert.getlist (   string)
Splits a string of comma delimited floats to
   a list of floats

Definition at line 597 of file convert.py.

def convert.matrixToQuaternion (   matrix)
Concert 3x3 rotation matrix into a quaternion

Definition at line 622 of file convert.py.

def convert.quaternion_to_rpy (   quat)
Convert quaternion into roll pitch yaw list (in degrees)

Definition at line 634 of file convert.py.

def convert.zero (   arr)
Converts any numbers less than 1e-7 to 0 in the array

Definition at line 641 of file convert.py.


Variable Documentation

tuple convert::argc = len(sys.argv)

Definition at line 707 of file convert.py.

Initial value:
00001 [("green", "0 1 0 1"), ("black", "0 0 0 1"), ("red", "1 0 0 1"), 
00002          ("blue", "0 0 1 1"), ("yellow", "1 1 0 1"), ("pink", "1 0 1 1"), 
00003          ("cyan", "0 1 1 1"), ("green", "0 1 0 1"), ("white", "1 1 1 1"), 
00004          ("dblue", "0 0 .8 1"), ("dgreen", ".1 .8 .1 1"), ("gray", ".5 .5 .5 1")]

Definition at line 25 of file convert.py.

Definition at line 721 of file convert.py.

list convert::config = None

Definition at line 710 of file convert.py.

list convert::filename = sys.argv[1]

Definition at line 709 of file convert.py.

float convert::INCH2METER = 0.0254

Definition at line 16 of file convert.py.

int convert::MM2M = 001

Definition at line 19 of file convert.py.

list convert::mode = sys.argv[2]

Definition at line 711 of file convert.py.

float convert::SLUG2KG = 14.5939029

Definition at line 17 of file convert.py.

int convert::SLUGININ2KGMM = 009415402

Definition at line 18 of file convert.py.

string convert::WORLD = "WORLD"

Definition at line 22 of file convert.py.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Friends


simmechanics_to_urdf
Author(s): David Lu!!
autogenerated on Mon Aug 19 2013 11:02:04