Unable to Configre ROS Environment
I am getting started with ROS and reading this tutorial.. Unfortunately, I am getting the following error
no such file or directory
Below are the commands, I used:
$ source devel/setup.bash
$ echo $ROS_PACKAGE_PATH
/home/youruser/catkin_ws/src:/opt/ros/kinetic/share
Please do not copy and paste the complete documentation. It unnecessarily takes our time. Anyway, I have edited the question to make it short and straightforward. Now, back to the question, before executing the
source devel/setup.bash
command, you must run the following commands:source /opt/ros/noetic/setup.bash
cd ~/catkin_ws/
catkin_make
All of these commands are mentioned in the documentation. Furthermore, because you are using ROS Noetic, you must replace the text
kinetic
withnoetic
throughout the documentation. In short<distro>
isnoetic
.