Difference between revisions of "ROS commands are not working properly"

From youBot wiki
Jump to: navigation, search
(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...")
 
 
(One intermediate revision by the same user not shown)
Line 7: Line 7:
  
 
<pre>
 
<pre>
echo "source /opt/ros/hydro/setup.bash" >> ~/.bashrc
+
echo "source /opt/ros/<distro>/setup.bash" >> ~/.bashrc
 
source ~/.bashrc
 
source ~/.bashrc
 
</pre>
 
</pre>
 +
 +
 +
 +
Go back to [[Technical Support Software | Technical Support Software]]
 +
 +
''Corrections, suggestions, and new documentation should be posted to the [http://www.youbot-store.com/forum/ Forum].''

Latest revision as of 17:56, 9 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


Go back to Technical Support Software

Corrections, suggestions, and new documentation should be posted to the Forum.