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

Hi, According to http://www.ros.org/wiki/ROS/Tutorials/InstallingandConfiguringROSEnvironment you are not supposed to edit the setup.sh file in the "/opt/ros/electric/" path but setup in your ros_workspace folder created by you. The idea behind setting up the workspace is to have the packages fetched by ros automatically. Once you download or create a package in this workspace in the future, the ros commands like roscd, rosmake, rosed etc would be able to lookup in this path. Once you setup the environment/workspace, your

echo $ROS_PACKAGE_PATH

would give the following output

/home/user/ros_workspace:/opt/ros/electric/stacks

You have to source this path to your ~/.bashrc file so that it gets picked up every time you run the terminal.

Hope this helps, Karthik