Parser for roslaunch XML format. Loads parsed representation into
ROSConfig model.
|
|
|
resolve_args(self,
args,
context)
Wrapper around roslaunch.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
|
|
|
ROSPARAM_OPT_ATTRS = 'command', 'ns', 'file', 'param'
|
|
PARAM_ATTRS = 'name', 'value', 'type', 'value', 'textfile', 'b...
|
|
ARG_ATTRS = 'name', 'value', 'default'
|
|
NODE_ATTRS = ['pkg', 'type', 'machine', 'name', 'args', 'outpu...
|
|
TEST_ATTRS = NODE_ATTRS+ ['test-name', 'time-limit', 'retry']
|
|
MACHINE_ATTRS = 'name', 'address', 'ros-root', 'ros-package-pa...
|
|
REMAP_ATTRS = 'from', 'to'
|
|
ENV_ATTRS = 'name', 'value'
|
|
INCLUDE_ATTRS = 'file', NS, CLEAR_PARAMS
|
|
GROUP_ATTRS = NS, CLEAR_PARAMS
|