Package roslaunch :: Module remote :: Class ROSRemoteRunner
[frames] | no frames]

Class ROSRemoteRunner

source code

              object --+    
                       |    
launch.ROSRemoteRunnerIF --+
                           |
                          ROSRemoteRunner

Manages the running of remote roslaunch children

Instance Methods
 
__init__(self, run_id, rosconfig, pm, server, sigint_timeout=15.0, sigterm_timeout=2.0)
:param run_id: roslaunch run_id of this runner, ``str`` :param config: launch configuration, ``ROSConfig`` :param pm process monitor, ``ProcessMonitor`` :param server: roslaunch parent server, ``ROSLaunchParentNode`` :param sigint_timeout: The SIGINT timeout used when killing nodes (in seconds).
source code
 
add_process_listener(self, l)
Listen to events about remote processes dying.
source code
 
start_children(self)
Start the child roslaunch processes
source code
[str], [str]
launch_remote_nodes(self)
Contact each child to launch remote nodes
source code
 
setup(self) (Inherited from roslaunch.launch.ROSRemoteRunnerIF) source code

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Properties

Inherited from object: __class__

Method Details

__init__(self, run_id, rosconfig, pm, server, sigint_timeout=15.0, sigterm_timeout=2.0)
(Constructor)

source code 

:param run_id: roslaunch run_id of this runner, ``str`` :param config: launch configuration, ``ROSConfig`` :param pm process monitor, ``ProcessMonitor`` :param server: roslaunch parent server, ``ROSLaunchParentNode`` :param sigint_timeout: The SIGINT timeout used when killing nodes (in seconds). :type sigint_timeout: float :param sigterm_timeout: The SIGTERM timeout used when killing nodes if SIGINT does not stop the node (in seconds). :type sigterm_timeout: float

Overrides: object.__init__

add_process_listener(self, l)

source code 

Listen to events about remote processes dying. Not threadsafe. Must be called before processes started.

:param l: ProcessListener

Parameters:
  • l - listener
Overrides: launch.ROSRemoteRunnerIF.add_process_listener

launch_remote_nodes(self)

source code 

Contact each child to launch remote nodes

Returns: [str], [str]
succeeded, failed
Overrides: launch.ROSRemoteRunnerIF.launch_remote_nodes