Difference between revisions of "ROS commands are not working properly"
From youBot wiki
(Created page with "Probably your ROS_PACKAGE_PATH is not set properly. You can type in terminal: <pre> source /opt/ros/<distro>/setup.bash </pre> If you don't want to run this command on ever...") |
|||
Line 7: | Line 7: | ||
<pre> | <pre> | ||
− | echo "source /opt/ros/ | + | echo "source /opt/ros/<distro>/setup.bash" >> ~/.bashrc |
source ~/.bashrc | source ~/.bashrc | ||
</pre> | </pre> |
Revision as of 10:53, 6 February 2015
Probably your ROS_PACKAGE_PATH is not set properly.
You can type in terminal:
source /opt/ros/<distro>/setup.bash
If you don't want to run this command on every new shell you open, you have to add this line to your .bashrc file:
echo "source /opt/ros/<distro>/setup.bash" >> ~/.bashrc source ~/.bashrc