How to un-break a ROS installation that doesn't know where to find any stacks/packages?
I installed ROS Fuerte by following the online tutorial for Gentoo and running:
rosinstall ~/ros "http://packages.ros.org/cgi-bin/gen_rosinstall.py?rosdistro=fuerte&variant=desktop-full&overlay=no"
This installed ROS into /opt/ros/fuerte and my stacks into ~/ros. Later, I wanted to install another stack from source so I asked this question. Following everything after "Now add the repository you want to check out" didn't work so I decided to re-init my workspace by running
rosws init ~/ros /opt/ros/fuerte
And then add the respository.
This worked - now ROS knows about the brown_remotelab stack I was adding - except now it's forgotten about all my other stacks. I've tried re-adding them manually by following the same instructions I followed for brown_remotelab. This doesn't work because the other stacks don't seem to be a kept in a subversion repository. For example, trying to reinstall the image_transport_plugins stack by running:
roscd
rosws set image_transport_plugins https://code.ros.org/trac/ros-pkg/browser/trunk/stacks/image_transport_plugins --svn
rosws update image_transport_plugins
Generates the error:
Failed to detect svn presence at /root/ros/image_transport_plugins. (d)elete and replace, (a)bort, (b)ackup and replace, (s)kip:
And choosing (d)elete and replace doesn't work because svn co https://code.ros.org/trac/ros-pkg/browser/trunk/stacks/image_transport_plugins
fails.
So how do I re-add the rest of my stacks manually or otherwise tell ROS that they are there and that it should be able to see them?
What does your ROS_PACKAGE_PATH currently contain?
/root/ros/brown_remotelab:/opt/ros/fuerte/stacks:/opt/ros/fuerte/share:/opt/ros/fuerte/share/ros. Which is obviously wrong but it gets set by setup.sh