My workspace disappeared

iv been using the ros2_ws for the ROS python course. it recently had me make a new workspace for a new set of packages. after closing the browser and re-opening, the new workspace is totally gone. anyone know why this would happen?

additional context. i had the /home/user/ros2_ws. At a later time i made a new workspace: /home/user/r2w2. this is where i did all my packages and scripts for this course. iv been using it for a few weeks, and randomly today when i opened the course, the r2w2 folder is completely gone.

Hi,
the system is deleting any new workspace that you create. The only space that will be stored is the ros2_ws.
The reason for that is that if you follow the course, there is no reason to create a new workspace. So we save time and code by just storing what is inside the ros2_ws. Any additional directories outside that will be deleted when you close the course

1 Like

@unablebolts43
Some cheering news.

Your r2w2 workspace is still there, though we might not show it in the code editor by default because we do not expect you to create a custom workspace.

You should at least be able to find it via the terminals:

cd /home/user
ls -al
# you should find it

You can also try opening the workspace in the code editor, if you know your way around VSCode, but we can’t guarantee that it will be saved the next time!

Please move your files in that workspace to the ros2_ws.

Thank you. From now on i will just put everything in my ros2_ws. initially I thought it would be nice to make a new ws just to make sure I knew how to do the process properly from scratch… but I learned that lesson the hard way lol

@bayodesegun I checked in /home/user
ls -al
and it wasnt there. it seems like theconstruct environment only saves the ros2_ws in the long term. I will just use that workspace only for the course. Thank you for the help!

I’m positive I saw it! I have sent you a private message, attaching a copy of your files for that course, including that workspace.

I hope you find it useful, but at least you’ll know I was not hallucinating :wink:

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