ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | Q&A
Ask Your Question

How to launch autonomous robot (roslaunch machine/SSH)

asked 2012-02-15 21:34:43 -0600

Stephan gravatar image

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:

  1. 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..
  2. 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?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2012-02-15 22:36:33 -0600

Lorenz gravatar image

roslaunch actually uses an ssh connection to launch nodes remotely and keeps the ssh connection open until it needs to bring down the remote nodes again. I don't think option 2 would work in your scenario.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools


Asked: 2012-02-15 21:34:43 -0600

Seen: 663 times

Last updated: Feb 15 '12