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

How to upgrade from Groovy to Hydro?

asked 2014-02-21 06:43:34 -0500

I have ROS Groovy installed. Is their any way to upgrade to Hydro using terminal commands?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
2

answered 2014-02-22 08:46:12 -0500

Angus gravatar image

updated 2014-02-22 08:49:48 -0500

You should just install Hydro as described here. This will install Hydro in addition to your existing Groovy installation. If you really want to, you can uninstall Groovy via "sudo apt-get remove ros-groovy-*" but you really don't need to. I have both versions on my computer and I switch back and forth when I need to by changing my .bashrc file from "source /opt/ros/groovy/setup.bash" to "source /opt/ros/hydro/setup.bash" along with the catkin and package paths, then restarting the terminal.

edit flag offensive delete link more

Comments

Sounds good to me, as I have to work in both versions. Does this mean that I have to maintain separate catkin_ws or can I have different Groovy and Hydro packages in the same Catkin_ws?

expelliarmus gravatar image expelliarmus  ( 2014-02-24 05:52:07 -0500 )edit

I believe the default recommendation is to use separate workspaces. I'm not sure if you could use same workspace but I don't see any reason why not.

Angus gravatar image Angus  ( 2014-02-24 10:15:35 -0500 )edit
2

You should NOT use the same workspace since CMake will use CMake config files from the location available in the CMAKE_PREFIX_PATH when it is configured the first time. When you then switch the ROS distro those locations will not be updated. Therefore you would end up with a mixed up workspace.

Dirk Thomas gravatar image Dirk Thomas  ( 2014-02-24 10:36:18 -0500 )edit

Question Tools

1 follower

Stats

Asked: 2014-02-21 06:43:34 -0500

Seen: 1,380 times

Last updated: Feb 22 '14