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

Unable to Configre ROS Environment

asked 2022-10-13 08:04:00 -0500

Aditi Dahiya gravatar image

updated 2022-10-14 03:33:18 -0500

ravijoshi gravatar image

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
edit retag flag offensive close merge delete

Comments

1

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:

  1. source /opt/ros/noetic/setup.bash
  2. cd ~/catkin_ws/
  3. catkin_make

All of these commands are mentioned in the documentation. Furthermore, because you are using ROS Noetic, you must replace the text kinetic with noetic throughout the documentation. In short <distro> is noetic.

ravijoshi gravatar image ravijoshi  ( 2022-10-14 03:38:34 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2022-10-16 10:35:28 -0500

duck-development gravatar image

You better use this instruction for neotic and Ubuntu

Ros wiki neotic

edit flag offensive delete link more

Question Tools

Stats

Asked: 2022-10-13 08:04:00 -0500

Seen: 37 times

Last updated: Oct 16 '22