2 from roslaunch.loader
import LoaderContext
6 def __init__(self, ns, filename, config=None, parent=None, params=None, env_args=None, resolve_dict=False, include_resolve_dict=None, arg_names=None):
7 super(LaunchtreeContext, self).
__init__(ns, filename, parent, params, env_args, resolve_dict, include_resolve_dict, arg_names)
10 def add_arg(self, name, default=None, value=None, doc=None):
11 result = super(LaunchtreeContext, self).
add_arg(name, default, value, doc)
13 self._config.add_arg(name, default, value, doc)
17 result = super(LaunchtreeContext, self).
add_remap(remap)
19 self._config.add_remap(remap[0], remap[1])
24 self._config.add_rosparam(command, filename, unique_name)
27 result = super(LaunchtreeContext, self).
child(ns)
28 return LaunchtreeContext(result.ns, result.filename, self.
_config, result.parent, result.params, result.env_args, result.resolve_dict, result.include_resolve_dict, result.arg_names)
def add_remap(self, remap)
def add_arg(self, name, default=None, value=None, doc=None)
def __init__(self, ns, filename, config=None, parent=None, params=None, env_args=None, resolve_dict=False, include_resolve_dict=None, arg_names=None)
def add_rosparam(self, command, filename, unique_name)