class documentation
class ROSRemoteRunner(roslaunch.launch.ROSRemoteRunnerIF):
Constructor: ROSRemoteRunner(run_id, rosconfig, pm, server, ...)
Manages the running of remote roslaunch children
| Method | __init__ |
: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)... |
| Method | add |
Listen to events about remote processes dying. Not threadsafe. Must be called before processes started. |
| Method | launch |
Contact each child to launch remote nodes |
| Method | start |
Start the child roslaunch processes |
| Instance Variable | listeners |
Undocumented |
| Instance Variable | logger |
Undocumented |
| Instance Variable | machine |
Undocumented |
| Instance Variable | pm |
Undocumented |
| Instance Variable | remote |
Undocumented |
| Instance Variable | remote |
Undocumented |
| Instance Variable | rosconfig |
Undocumented |
| Instance Variable | run |
Undocumented |
| Instance Variable | server |
Undocumented |
| Instance Variable | sigint |
Undocumented |
| Instance Variable | sigterm |
Undocumented |
| Method | _assume |
Utility routine for logging/recording nodes that failed |
| Method | _start |
Undocumented |
def __init__(self, run_id, rosconfig, pm, server, sigint_timeout=DEFAULT_TIMEOUT_SIGINT, sigterm_timeout=DEFAULT_TIMEOUT_SIGTERM):
¶
: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
| Parameters | |
| run | roslaunch run_id of this runner, str |
| rosconfig | Undocumented |
| pm | Undocumented |
| server | Undocumented |
| sigint | Undocumented |
| sigterm | Undocumented |
| config | launch configuration, ROSConfig |
Listen to events about remote processes dying. Not threadsafe. Must be called before processes started.
| Parameters | |
| l | ProcessListener |