Functions | |
def | add_sensor |
<<< copied from xacro/src/xacro.py | |
def | fixed_writexml |
>>> copied from xacro/src/xacro.py Better pretty printing of xml Taken from http://ronrothman.com/public/leftbraned/xml-dom-minidom-toprettyxml-and-silly-whitespace/ | |
Variables | |
int | acc_sensor_num = 0 |
tuple | argc = len(argvs) |
argvs = sys.argv | |
tuple | doc = xml.dom.minidom.parse(fname) |
list | fname = argvs[1] |
int | force_sensor_num = 0 |
int | gyro_sensor_num = 0 |
library_sensors_node = None | |
tuple | plst = doc.getElementsByTagName('extra') |
int | sensor_num = 1 |
target_articulated_system = None |
def add_sensor_to_collada.add_sensor | ( | doc, | |
name, | |||
parent_link, | |||
sensor_type, | |||
translate = None , |
|||
rotate = None |
|||
) |
<<< copied from xacro/src/xacro.py
kinematics_model -> id
Definition at line 47 of file add_sensor_to_collada.py.
def add_sensor_to_collada.fixed_writexml | ( | self, | |
writer, | |||
indent = "" , |
|||
addindent = "" , |
|||
newl = "" |
|||
) |
>>> copied from xacro/src/xacro.py Better pretty printing of xml Taken from http://ronrothman.com/public/leftbraned/xml-dom-minidom-toprettyxml-and-silly-whitespace/
Definition at line 13 of file add_sensor_to_collada.py.
Definition at line 139 of file add_sensor_to_collada.py.
tuple add_sensor_to_collada::argc = len(argvs) |
Definition at line 129 of file add_sensor_to_collada.py.
add_sensor_to_collada::argvs = sys.argv |
Definition at line 128 of file add_sensor_to_collada.py.
Definition at line 141 of file add_sensor_to_collada.py.
list add_sensor_to_collada::fname = argvs[1] |
Definition at line 131 of file add_sensor_to_collada.py.
Definition at line 137 of file add_sensor_to_collada.py.
Definition at line 138 of file add_sensor_to_collada.py.
Definition at line 144 of file add_sensor_to_collada.py.
tuple add_sensor_to_collada::plst = doc.getElementsByTagName('extra') |
Definition at line 143 of file add_sensor_to_collada.py.
Definition at line 136 of file add_sensor_to_collada.py.
Definition at line 150 of file add_sensor_to_collada.py.