__init__(self,
run_id,
config,
server_uri=None,
pmon=None,
is_core=False,
remote_runner=None,
is_child=False,
is_rostest=False,
num_workers=3,
timeout=None,
master_logger_level=False)
(Constructor)
| source code
|
x.__init__(...) initializes x; see help(type(x)) for signature
- Parameters:
run_id (str) - /run_id for this launch. If the core is not running, this value
will be used to initialize /run_id. If the core is already
running, this value will be checked against the value stored on
the core. ROSLaunchRunner will fail during launch() if they do not match.
config (ROSLaunchConfig) - roslauch instance to run
server_uri (str) - XML-RPC URI of roslaunch server.
pmon (ProcessMonitor) - optionally override the process monitor the runner uses for
starting and tracking processes
is_core (bool) - if True, this runner is a roscore instance. This affects the
error behavior if a master is already running -- aborts if
is_core is True and a core is detected.
remote_runner - remote roslaunch process runner
is_rostest (bool) - if True, this runner is a rostest instance. This affects certain
validation checks.
num_workers (int) - If this is the core, the number of worker-threads to use.
timeout (Float or None) - If this is the core, the socket-timeout to use.
master_logger_level (str or False) - Specify roscore's rosmaster.master logger level, use default if
it is False.
- Overrides:
object.__init__
|