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


asked 2014-04-21 16:32:52 -0500

smart engineer gravatar image

what is rosinstall ? how can i install it?

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted

answered 2014-04-21 17:03:06 -0500

Ken_in_JAPAN gravatar image

As you know, the answer for your question is described on this page ( ).

rosws init ~/fuerte_workspace /opt/ros/fuerte

This command creates the files setup.bash,, setup.zsh and the hidden file .rosinstall in the directory ~/fuerte_workspace. I also answered your question on this page( ). Didn't you look at it?

edit flag offensive delete link more


I try to execute your answer but still appear that """ImportError: No module named six """!!!

smart engineer gravatar image smart engineer  ( 2014-04-22 00:08:57 -0500 )edit

The problem is solved on your page ( ). Thanks, @ahendrix!

Ken_in_JAPAN gravatar image Ken_in_JAPAN  ( 2014-04-22 04:21:07 -0500 )edit

answered 2014-04-21 17:30:38 -0500

William gravatar image

rosinstall takes a file with the extension .rosinstall, and fetches the contents described within. This is most commonly used to reproduce source code layouts among different users. You can use the rosinstall_generator tool to generate .rosinstall files for many kinds of workspaces. For example this command would generate a .rosinstall file for the desktop variant of ROS hydro:

$ rosinstall_generator desktop --deps --tar --rosdistro hydro

The file will be printed to the terminal and can be captured into a file like this:

$ rosinstall_generator desktop --deps --tar --rosdistro hydro > hydro-desktop.rosinstall

Once you have a .rosinstall file you can use the rosinstall tool to fetch them all to a destination:

$ rosinstall /tmp/ros-hydro-desktop/src hydro-desktop.rosinstall

rosinstall provides other functionality for older ROS distributions like fuerte, but you can read all about rosinstall here:

You can install rosinstall on Ubuntu like this:

$ sudo apt-get install python-rosinstall

And on other platforms you can install it from pip:

$ sudo pip install rosinstall
edit flag offensive delete link more

Question Tools

1 follower


Asked: 2014-04-21 16:32:52 -0500

Seen: 856 times

Last updated: Apr 21 '14