Public Member Functions | Static Public Attributes | Static Private Attributes | List of all members
xacro.ConstructUnits Class Reference
Inheritance diagram for xacro.ConstructUnits:
Inheritance graph
[legend]

Public Member Functions

def constructor (self, loader, node)
 

Static Public Attributes

 angle_degrees = __ConstructUnitsValue(u'!degrees', math.pi/180.0)
 
 angle_radians = __ConstructUnitsValue(u'!radians', 1.0)
 
 length_foot = __ConstructUnitsValue(u'!foot', 0.3048)
 
 length_inches = __ConstructUnitsValue(u'!inches', 0.0254)
 
 length_meters = __ConstructUnitsValue(u'!meters', 1.0)
 
 length_millimeters = __ConstructUnitsValue(u'!millimeters', 0.001)
 

Static Private Attributes

 __ConstructUnitsValue = collections.namedtuple('__ConstructUnitsValue', ['tag', 'conversion_constant'])
 

Detailed Description

utility enumeration to construct a values with a unit from yaml

Definition at line 120 of file __init__.py.

Member Function Documentation

◆ constructor()

def xacro.ConstructUnits.constructor (   self,
  loader,
  node 
)
utility function to construct a values with a unit from yaml

Definition at line 132 of file __init__.py.

Member Data Documentation

◆ __ConstructUnitsValue

xacro.ConstructUnits.__ConstructUnitsValue = collections.namedtuple('__ConstructUnitsValue', ['tag', 'conversion_constant'])
staticprivate

Definition at line 122 of file __init__.py.

◆ angle_degrees

xacro.ConstructUnits.angle_degrees = __ConstructUnitsValue(u'!degrees', math.pi/180.0)
static

Definition at line 125 of file __init__.py.

◆ angle_radians

xacro.ConstructUnits.angle_radians = __ConstructUnitsValue(u'!radians', 1.0)
static

Definition at line 124 of file __init__.py.

◆ length_foot

xacro.ConstructUnits.length_foot = __ConstructUnitsValue(u'!foot', 0.3048)
static

Definition at line 129 of file __init__.py.

◆ length_inches

xacro.ConstructUnits.length_inches = __ConstructUnitsValue(u'!inches', 0.0254)
static

Definition at line 130 of file __init__.py.

◆ length_meters

xacro.ConstructUnits.length_meters = __ConstructUnitsValue(u'!meters', 1.0)
static

Definition at line 127 of file __init__.py.

◆ length_millimeters

xacro.ConstructUnits.length_millimeters = __ConstructUnitsValue(u'!millimeters', 0.001)
static

Definition at line 128 of file __init__.py.


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


xacro
Author(s): Stuart Glaser, William Woodall, Robert Haschke
autogenerated on Sat Jul 20 2024 02:50:07