class documentation
class SSHChildROSLaunchProcess(roslaunch.server.ChildROSLaunchProcess):
Constructor: SSHChildROSLaunchProcess(run_id, name, server_uri, machine, ...)
Process wrapper for launching and monitoring a child roslaunch process over SSH
Method | __init__ |
No summary |
Method | getapi |
No summary |
Method | is |
No summary |
Method | start |
Start the remote process. This will create an SSH connection to the remote host. |
Method | stop |
Terminate this process, including the SSH connection. |
Instance Variable | is |
Undocumented |
Instance Variable | machine |
Undocumented |
Instance Variable | master |
Undocumented |
Instance Variable | sigint |
Undocumented |
Instance Variable | sigterm |
Undocumented |
Instance Variable | ssh |
Undocumented |
Instance Variable | ssherr |
Undocumented |
Instance Variable | sshin |
Undocumented |
Instance Variable | sshout |
Undocumented |
Instance Variable | started |
Undocumented |
Instance Variable | uri |
Undocumented |
Method | _ssh |
No summary |
def __init__(self, run_id, name, server_uri, machine, master_uri=None, sigint_timeout=DEFAULT_TIMEOUT_SIGINT, sigterm_timeout=DEFAULT_TIMEOUT_SIGTERM):
¶
Parameters | |
run | Undocumented |
name | Undocumented |
server | Undocumented |
machine | Machine instance. Must be fully configured. machine.env_loader is required to be set. |
master | Undocumented |
sigint | The SIGINT timeout used when killing nodes (in seconds). |
sigterm | The SIGTERM timeout used when killing nodes if SIGINT does not stop the node (in seconds). |
Returns | |
True if the process is alive. is_alive needs to be called periodically as it drains the SSH buffer, bool |