ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

Use Fuerte and Hydro

asked 2013-10-11 04:02:54 -0500

this post is marked as community wiki

This post is a wiki. Anyone with karma >75 is welcome to improve it.

Is it possible to send a message in one computer using ROS FUERTE and listen to in a another computer using ROS HYDRO?

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted
2

answered 2013-10-11 05:31:31 -0500

Yes, it is even possible to have some nodes running in a fuerte environment and some in a hydro environment on the same computer, provided you properly setup environments in different terminals or screens. Note that message formats have to be the same across ROS versions for this to work, though.

edit flag offensive delete link more

Comments

@Stefan Kohlbrecher thanks im new in ROS so i have some questions, if i just installed ROS fuerte on my computer and want to install now hydro what should i do to make this cross messaging work? What important environment setups do i have to change or be careful to make this work? Thanks for the responce

ctguell gravatar image ctguell  ( 2013-10-11 06:37:38 -0500 )edit

Typically, you add some a setup script to your .bashrc file as described here: http://wiki.ros.org/ROS/Tutorials/InstallingandConfiguringROSEnvironment You switch between ros versions by simply changing what is stated in your .bashrc file. Note that it is always read when you open a new terminal.

Stefan Kohlbrecher gravatar image Stefan Kohlbrecher  ( 2013-10-11 06:43:53 -0500 )edit

@Stefan Kohlbrecher so if I start the first terminal with fuerte then change the bashrc open another terminal this new one will be using hydro? Does it matter with which one i run roscore?

ctguell gravatar image ctguell  ( 2013-10-11 06:46:24 -0500 )edit

Yes, that's the quickest way of doing it. You could also create some scripts for quickly switching on the command line. I always use the roscore of the newer ros version, but both variants should work I think.

Stefan Kohlbrecher gravatar image Stefan Kohlbrecher  ( 2013-10-13 21:39:47 -0500 )edit

@Stefan Kohlbrecher im trying to install hydro now but im unale to do it due to this error? any ideas how to fix it?' The following packages have unmet dependencies: ros-hydro-desktop-full : Depends: ros-hydro-desktop but it is not going to be installed Depends: ros-hydro-mobile but it is not going to be installed Depends: ros-hydro-perception but it is not going to be installed Depends: ros-hydro-simulators but it is not going to be installed E: Unable to correct problems, you have held broken packages.

ctguell gravatar image ctguell  ( 2013-10-14 03:21:53 -0500 )edit

Add the sources correctly.

Also, @Stefan Kohlbrecher, is there any recommended practice for splitting nodes between hydro and fuerte?

Thank you.

2ROS0 gravatar image 2ROS0  ( 2014-08-29 12:13:24 -0500 )edit

You´ll want to have two different workspaces for the packages belonging to the different ROS distros and then you only have to take care to only source the corresponding setup files correctly (especially to not mix hydro and fuerte ROS_PACKAGE_PATH etc.).

Stefan Kohlbrecher gravatar image Stefan Kohlbrecher  ( 2014-08-30 13:23:57 -0500 )edit

Question Tools

1 follower

Stats

Asked: 2013-10-11 04:02:54 -0500

Seen: 976 times

Last updated: Oct 11 '13