__init__(self,
run_id,
package,
name,
args,
env,
log_output,
respawn=False,
respawn_delay=0.0,
required=False,
cwd=None,
is_node=True,
sigint_timeout=15.0,
sigterm_timeout=2.0)
(Constructor)
| source code
|
x.__init__(...) initializes x; see help(type(x)) for signature
- Parameters:
run_id (str) - unique run ID for this roslaunch. Used to generate log directory
location. run_id may be None if this feature is not being used.
package (str) - name of package process is part of
name (str) - name of process
args ([str]) - list of arguments to process
env ({str : str}) - environment dictionary for process
log_output (bool) - if True, log output streams of process
respawn (bool) - respawn process if it dies (default is False)
respawn_delay (float) - respawn process after a delay
cwd (str) - working directory of process, or None
is_node (False) - (optional) if True, process is ROS node and accepts ROS node
command-line arguments. Default: True
sigint_timeout (float) - The SIGINT timeout used when killing nodes (in seconds).
sigterm_timeout (float) - The SIGTERM timeout used when killing nodes if SIGINT does not
stop the node (in seconds).
- Raises:
RLException - If sigint_timeout or sigterm_timeout are nonpositive.
- Overrides:
object.__init__
|