ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
When you use sudo
by default it removes your environment. You need to use -E
to keep the environment.
https://stackoverflow.com/questions/8633461/how-to-keep-environment-variables-when-using-sudo