after reopening my IDE the catkin_ws is missing in the workspace and also in the filesystem of the /user path. Only ros2_ws is available. Please can you restore an old version of my catkin_ws.
Hi @mosgaed ,
If you have not deleted the
catkin_ws folder by mistake, then try the following steps:
- When you open your course page and after the IDE loads, on the IDE left panel, locate a button that has 3 dots
...on the top right corner.
- Once you click that button, it will show a menu. Choose “Add folder to workspace…”.
- This will open a pop-up window file explorer. Once here, locate “user” and click on the dropdown to locate
- Double click on
catkin_wsto go inside the folder, once inside the folder click “Open” button on the bottom right of the pop-up window.
If you have followed these steps correctly, you should now be able to see
catkin_ws directory on your IDE left panel.
Hope this fixes your issue. Let me know if this does not fix the problem.
this is what is listed in the user directory:
it seems to be that the catkin_ws folder is lost.
Hi @mosgaed ,
That is weird. I think only The Construct team can fix this issue, perhaps tomorrow.
could you please tell us the name of the rosject that you are trying to load when this happens?
Having the name of the rosject help us to see if there is any older version that can be restored.
This not a rosject. This is the IDE of the ROS2 Basics in 5 Days (C++) IDE
the catkin_ws folder is not missing. It is just that it has not been created automatically for this course, since it is a ROS2 course, and catkin_ws is auto-created for ROS1 courses by default.
Unless you have manually created this catkin_ws folder, it should really not have been auto-created for this course.
Do you remember if you have created that catkin_ws folder explicitly?
Bear in mind that content created in a different course is not shared in the current course.
Hi @mosgaed ,
Actually, you do not have a problem at all!
catkin_ws will not be visible in a
You will only see
ros2_ws instead of
catkin_ws. You do not need
But having done the course myself, I see why you are asking for
Are you on the last chapter that explains
Because if you are on this chapter, you will be told to create a
params.yaml (I guess) file in the
catkin_ws/src folder. I particularly remember that exercise.
If this is the case then you can create the
To create the
cd ~ mkdir -p catkin_ws/src cd catkin_ws catkin_make source devel/setup.bash
Once you have created
catkin_ws directory, you can create the required ROS1 package and make the required parameters file in the package!
Summary: If you are working on the
ROS1_bridge chapter in ROS2 Basics course, then you need to create the
catkin_ws directory - it will not be available by default.
I hope this solves your problem and any confusion!
Let me know if you still have any issues.
thank you for your explanation. No i haven’t created the catkin_ws by myself.
Than everything is clear.
Thank you for your advice. Now everything makes sense.