ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

You are not supposed to replace source /opt/ros/fuerte/setup.bash in your ~/.bashrc. Where is it mentioned that way? If you are adding an extra path you have to maintain source line as it is and add export ROS_PACKAGE_PATH=/home/sam/fuerte_workspace:opt/ros/fuerte/share:/opt/ros/fuerte/stacks to your ~/.bashrc file and do . ~/.bashrc on a new shell. Now cd ~/fuerte_workspace then create the package beginner_tutorials using the same command. Everything else should work fine now!

If you are not adding the ROS_PACKAGE_PATH and calling roscd it would take you to the opt/ros/fuerte/stacks (default directory) and you will end up creating a package there.

Hope this helps!

click to hide/show revision 2
Edited after reading the first comment

You are not supposed to replace source /opt/ros/fuerte/setup.bash in your ~/.bashrc. Where is it mentioned that way? If you are adding an extra path you have to maintain source line as it is and add export ROS_PACKAGE_PATH=/home/sam/fuerte_workspace:opt/ros/fuerte/share:/opt/ros/fuerte/stacks to your ~/.bashrc file and do . ~/.bashrc on a new shell. Now cd ~/fuerte_workspace then create the package beginner_tutorials using the same command. Everything else should work fine now!

If you are not adding the ROS_PACKAGE_PATH and calling roscd it would take you to the opt/ros/fuerte/stacks (default directory) and you will end up creating a package there.

Hope this helps!