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

Two ros roots defined in config, delete one

asked 2012-06-21 13:10:54 -0500

EABaker gravatar image

I believe that I am having the same problem as defined in this question, and like the poster Felix, rosinstall never finishes and the setup files are not generated. Can anyone tell me how to fix this problem? The exact input and output I have is this:

~$ rosinstall ~/ros-py3 /opt/ros/electric http://ias.cs.tum.edu/~kargm/ros_electric_py3.rosinstall
rosinstall operating on /home/bakerea2/ros-py3 from specifications in rosinstall files /opt/ros/electric, http://ias.cs.tum.edu/~kargm/ros_electric_py3.rosinstall (Over-)Writing /home/bakerea2/ros-py3/.rosinstall
[ros] Updating /home/bakerea2/ros-py3/ros
[ros] Done.
[ros_comm] Updating /home/bakerea2/ros-py3/ros_comm
[ros_comm] Done.
[common_msgs] Updating /home/bakerea2/ros-py3/common_msgs
[common_msgs] Done.
(Over-)Writing setup.sh, setup.bash, and setup.zsh in /home/bakerea2/ros-py3
ERROR in rosinstall: Two ros roots defined in config, delete one: /opt/ros/electric/ros /home/bakerea2/ros-py3/ros
~$

Thanks for reading.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2012-06-21 22:10:09 -0500

Lorenz gravatar image

You need to leave out the /opt/ros/electric in your rosinstall call, i.e. you need to call rosinstall like this:

rosinstall ~/ros-py3 http://ias.cs.tum.edu/~kargm/ros_electric_py3.rosinstall

When you have a look at the rosinstall file, you'll see that the first line checks out the stack ros which normally is the ROS_ROOT until Electric. That's why you cannot pass /opt/ros/electric since it provides a second (unpatched) ROS_ROOT.

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2012-06-21 13:10:54 -0500

Seen: 199 times

Last updated: Jun 21 '12