asked Feb 21 '11
This post is a wiki. Anyone with karma >750 is welcome to improve it.
Hi,
I accidentally tweaked something "export ROS_ROOT=$PWD:$ROS_ROOT" into several directories, into /diamondback and /unstable directories. Where should it be located? I mean a standard ROS_ROOT. BTW, I want to point to the diamondback instead of unstable. Hopefully someone could guide me..
answered Feb 21 '11
This post is a wiki. Anyone with karma >750 is welcome to improve it.
Finally this command "source /opt/ros/diamondback/setup.bash" saved me :-)
answered Feb 21 '11
This post is a wiki. Anyone with karma >750 is welcome to improve it.
ROS_ROOT points to the directory, where the core package resides (I mean, if core package's path is ~/ros/ros/core, then ROS_ROOT=~/ros/ros).
I suppose ROS_ROOT/../setup.sh is the right place define ROS_ROOT. This script is being executed by ROS_ROOT/../setup.bash which, in turn, you should normally add to your ~/.bashrc
Asked: Feb 21 '11
Seen: 280 times
Last updated: Feb 21 '11
ROS Answers is licensed under Creative Commons Attribution 3.0 Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.