Deleted Folders in ROS2 Basics in 5 Days. How do I install all the directories back?

Hello, I restarted my ROS2 Basics course using a (now closed) forum where I entered the commands cd ~/ros2_ws and rm -rf build/ install/ src/. However, when I tried cd ~/catkin_ws,
mkdir src, catkin_make I recieved errors. Is there any way I can fix this and restate the original course back to sqaure 1? Currently the attached image is what my directories look like.

@daquan
You cannot use catkin_ws and catkin_make in a ROS2 environment.

That said, your ros2_ws directory should have been automatically recreated by now. If you are following a ROS1 tutorial, please open a ROS1 course like ROS Basics in 5 Days.

1 Like

This topic was automatically closed 5 days after the last reply. New replies are no longer allowed.