ENV variables ? /etc/environement ?
Hello,
using, mellodic, just to setup things in a proper manner, where do I setup ROS variables for good?
I noticed my /etc/environement file was empty, so where do we setup ROS env variables ?
I checked them, there are 8 env variables defined so I guess, there must be some other place to set them ?
I checked setup.sh, but it's not in there
I could use ./bashrc, but it's not a boot setup, more like a terminal settings
details :
the idea is to set ROS_MASTER_URI on slave computers, I don't want these to be reset when I reboot them so, what's the best practice?
this tutorial only uses the (afaik volatile) EXPORT command : http://wiki.ros.org/ROS/Tutorials/Mul...
thanks
Could you please describe what you really want to do (instead of a potential solution for a problem we don't know)? I ask because there are ways to start ROS nodes "at boot" for instance that would either take care of this, or don't need you to go messing with files in
/etc
.It's not a good idea to "setup ROS variables for good", as they may need to change, which embedding them in some file external to managed ROS packages/contexts will make impossible.
I updated my question
so any idea?