ROS commands are not working properly

From youBot wiki
Revision as of 10:53, 6 February 2015 by Florek-jasinska (Talk | contribs) (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...")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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/hydro/setup.bash" >> ~/.bashrc
source ~/.bashrc