Parser for roslaunch XML format. Loads parsed representation into
ROSConfig model.
|
|
__init__(self,
resolve_anon=True,
args_only=False)
x.__init__(...) initializes x; see help(type(x)) for signature |
source code
|
|
|
|
resolve_args(self,
args,
context)
Wrapper around substitution_args.resolve_args to set common
parameters |
source code
|
|
|
|
opt_attrs(self,
tag,
context,
attrs)
Helper routine for fetching and resolving optional tag attributes
@param tag DOM tag @param context LoaderContext |
source code
|
|
|
|
reqd_attrs(self,
tag,
context,
attrs)
Helper routine for fetching and resolving required tag attributes |
source code
|
|
|
|
load(self,
filename,
ros_config,
core=False,
argv=None,
verbose=True)
load XML file into launch configuration |
source code
|
|
|
|
load_string(self,
xml_text,
ros_config,
core=False,
verbose=True)
Load XML text into launch configuration |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Inherited from object:
__delattr__,
__format__,
__getattribute__,
__hash__,
__new__,
__reduce__,
__reduce_ex__,
__repr__,
__setattr__,
__sizeof__,
__str__,
__subclasshook__
|
|
|
ROSPARAM_OPT_ATTRS = ('command', 'ns', 'file', 'param', 'subst...
|
|
|
PARAM_ATTRS = ('name', 'value', 'type', 'value', 'textfile', '...
|
|
|
ARG_ATTRS = ('name', 'value', 'default', 'doc')
|
|
|
NODE_ATTRS = ['pkg', 'type', 'machine', 'name', 'args', 'outpu...
|
|
|
TEST_ATTRS = ['pkg', 'type', 'machine', 'name', 'args', 'outpu...
|
|
|
MACHINE_ATTRS = ('name', 'address', 'env-loader', 'ssh-port', ...
|
|
|
REMAP_ATTRS = ('from', 'to')
|
|
|
ENV_ATTRS = ('name', 'value')
|
|
|
INCLUDE_ATTRS = ('file', 'ns', 'clear_params', 'pass_all_args')
|
|
|
GROUP_ATTRS = ('ns', 'clear_params')
|