Public Member Functions | |
def | __init__ (self, name="") |
def | __str__ (self) |
def | add_gazebo (self, gazebo) |
def | add_joint (self, joint) |
def | add_link (self, link) |
def | add_material (self, material) |
def | apply_default_limits (self, effort, vel, lower, upper, mask=None) |
def | copy_chain_with_rottrans (self, root, tip, rpy, xyz, f, r, mir_ax=None) |
def | copy_joint (self, joint, f, r) |
def | fix_mesh_case (self) |
def | get_chain (self, root, tip, joints=True, links=True, fixed=True) |
def | get_root (self) |
def | make_openrave_kinbody (self, doc) |
def | move_chain_with_rottrans (self, root, tip, rpy, xyz, f, r) |
def | rename_joint (self, joint, newjoint) |
def | rename_link (self, link, newlink) |
def | to_openrave_xml (self) |
def | to_xml (self, orderbytree=False, orderbytype=False) |
def | update_mesh_paths (self, package_name) |
def | walk_chain (self, link, branchorder=None) |
def | write_openrave_files (self, outname=None, writerobot=False) |
def | write_reformatted (self, data, name) |
def | write_xml (self, outfile=None) |
Static Public Member Functions | |
def | load_from_parameter_server (key='robot_description', verbose=True) |
def | load_xml_file (filename, verbose=True) |
def | parse_xml_string (xml_string, verbose=True) |
Public Attributes | |
child_map | |
elements | |
gazebos | |
joints | |
links | |
materials | |
name | |
parent_map | |
Static Public Attributes | |
float | ZERO_THRESHOLD = 0.000000001 |
def naoqi_tools.urdf.URDF.add_gazebo | ( | self, | |
gazebo | |||
) |
def naoqi_tools.urdf.URDF.add_material | ( | self, | |
material | |||
) |
def naoqi_tools.urdf.URDF.apply_default_limits | ( | self, | |
effort, | |||
vel, | |||
lower, | |||
upper, | |||
mask = None |
|||
) |
def naoqi_tools.urdf.URDF.copy_chain_with_rottrans | ( | self, | |
root, | |||
tip, | |||
rpy, | |||
xyz, | |||
f, | |||
r, | |||
mir_ax = None |
|||
) |
Copy a kinematic chain, renaming joints and links according to a regular expression. Note that this is designed to work with the Hubo joint / body convention, which has an easy pattern for joint and body names. If your model has joints and links that are not systematically named, this function won't be much use.
def naoqi_tools.urdf.URDF.copy_joint | ( | self, | |
joint, | |||
f, | |||
r | |||
) |
def naoqi_tools.urdf.URDF.get_chain | ( | self, | |
root, | |||
tip, | |||
joints = True , |
|||
links = True , |
|||
fixed = True |
|||
) |
|
static |
|
static |
def naoqi_tools.urdf.URDF.make_openrave_kinbody | ( | self, | |
doc | |||
) |
def naoqi_tools.urdf.URDF.move_chain_with_rottrans | ( | self, | |
root, | |||
tip, | |||
rpy, | |||
xyz, | |||
f, | |||
r | |||
) |
|
static |
def naoqi_tools.urdf.URDF.rename_joint | ( | self, | |
joint, | |||
newjoint | |||
) |
def naoqi_tools.urdf.URDF.rename_link | ( | self, | |
link, | |||
newlink | |||
) |
def naoqi_tools.urdf.URDF.to_xml | ( | self, | |
orderbytree = False , |
|||
orderbytype = False |
|||
) |
def naoqi_tools.urdf.URDF.update_mesh_paths | ( | self, | |
package_name | |||
) |
def naoqi_tools.urdf.URDF.walk_chain | ( | self, | |
link, | |||
branchorder = None |
|||
) |
def naoqi_tools.urdf.URDF.write_openrave_files | ( | self, | |
outname = None , |
|||
writerobot = False |
|||
) |
def naoqi_tools.urdf.URDF.write_reformatted | ( | self, | |
data, | |||
name | |||
) |
def naoqi_tools.urdf.URDF.write_xml | ( | self, | |
outfile = None |
|||
) |
|
static |