ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
It's essentially just an environment variable, so an export ROS_DISTRO=...
should work.
But: you shouldn't (need to) change it, as it's automatically set by the setup.bash
scripts that are in the root of the ROS install directory.
It would be best if you can try to find out why that variable is being set (ie: by which file).
Looking through your .bashrc
is indeed a good idea. Check for lines starting with source /opt/...
or source /some/path/in/hour/home_dir
. It could also be that you have a line already that sets the variable. Look for export ROS_DISTRO=...
.
Whatever you do, it's infinitely better to figure out where that variable is getting set than to try and change its value manually.
2 | No.2 Revision |
It's essentially just an environment variable, so an export ROS_DISTRO=...
should work.
But: you shouldn't (need to) change it, as it's automatically set by the setup.bash
scripts that are in the root of the ROS install directory.
It would be best if you can try to find out why that variable is being set (ie: by which file).
Looking through your .bashrc
is indeed a good idea. Check for lines starting with source /opt/...
or source /some/path/in/hour/home_dir
. It could also be that you have a line already that sets the variable. Look for export ROS_DISTRO=...
.
Whatever you do, it's infinitely better to figure out where that variable is getting set than to try and change its value manually.
I had
hydro
installed on my raspberry pi earlier, then i removed it to installkinetic
, everything seemed to be fine except theROS_DISTRO
variable.
Just to make sure:
.deb
s?