How to launch autonomous robot (roslaunch machine/SSH)
We have an autonomous robot that has to fulfill a mission without any connection to a base station. To launch the mission, we have two possible ways:
- SSH to the robot, start a screen session, launch the mission.launch, detach the screen and close the SSH session. From this moment on the connection to the base station is not necessary any more. When the mission has ended (or was aborted) and the connection is established again we can SSH to the robot again, attach to the screen session and look at possible console output etc..
- Launch a launch file from the base station that has
<node machine="robot" ... />
entries.
My question is what happens on connection loss when using option 2? How does roslaunch launch processes on the remote machines? Are these processes killed when the SSH connection times out?