Ask Your Question
0

Starting nodes on remote machine with different ROS version

asked 2012-07-25 04:03:32 -0500

Kai Bublitz gravatar image

updated 2012-07-25 04:35:30 -0500

Lorenz gravatar image

Hi,

I have some launch files that I can start on my control pc that run some nodes on the robot, which is a different pc. The robot I am working with recently gut updated to ros fuerte, while my control pc still uses ros electric. (If I was in charge I would upgrade the control pc, too, but this is not my decision, I will talk to the responsible people) Now the problem is, the launch files do not work cross-version. This is the output I get:

remote[i60sr1-0] starting roslaunch
remote[i60sr1-0]: creating ssh connection to i60sr1:22, user[bublitz]
remote[i60sr1-0]: ssh connection created
remote[i60sr1-0]: env: /opt/ros/electric/ros/bin/roslaunch: Datei oder Verzeichnis nicht gefunden

[i60sr1-0] process has died
remote roslaunch failed to launch: sr1

It looks like roslaunch is trying to start another instance of roslaunch on the remote machine, gut is looking for roslaunch in the wrong place.

Now the question is: Is it possible to run nodes remote on a different version of ros? If yes what should I do? I already tried setting the ROS_ROOT variable in a script that is called by env-loader, but that dosn't do it.

Thanks for any help.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2012-07-25 04:37:50 -0500

Lorenz gravatar image

updated 2012-07-25 04:39:20 -0500

Have a look at the documentation for the machine tag. You can set ros-root and ros-package-path for each machine.

Using two different ROS versions might cause all different kinds of problems and should be avoided though.

edit flag offensive delete link more

Comments

2

Yes. The short answer is: "don't mix ROS distros at runtime, it hurts".

joq gravatar imagejoq ( 2012-07-26 05:31:21 -0500 )edit

Your Answer

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

Add Answer

Question Tools

Stats

Asked: 2012-07-25 04:03:32 -0500

Seen: 789 times

Last updated: Jul 25 '12