Package urdf_parser_py :: Module urdf :: Class URDF

Class URDF

source code

object --+
         |
        URDF

Instance Methods
 
__init__(self, name="")
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
add_link(self, link) source code
 
add_joint(self, joint) source code
 
get_chain(self, root, tip, joints=True, links=True, fixed=True) source code
 
get_root(self) source code
 
to_xml(self) source code
 
__str__(self)
str(x)
source code

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __subclasshook__

Static Methods
 
parse_xml_string(xml_string, verbose=True)
Parse a string to create a URDF robot structure.
source code
 
load_xml_file(filename, verbose=True)
Parse a file to create a URDF robot structure.
source code
 
load_from_parameter_server(key='robot_description', verbose=True)
Retrieve the robot model on the parameter server and parse it to create a URDF robot structure.
source code
Properties

Inherited from object: __class__

Method Details

__init__(self, name="")
(Constructor)

source code 

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Overrides: object.__init__
(inherited documentation)

load_from_parameter_server(key='robot_description', verbose=True)
Static Method

source code 

Retrieve the robot model on the parameter server and parse it to create a URDF robot structure.

Warning: this requires roscore to be running.

__str__(self)
(Informal representation operator)

source code 

str(x)

Overrides: object.__str__
(inherited documentation)