Reset workspace

I think I messed up my workspace. RGBCamera could not be imported.

roslaunch my_randomgazebomanager_pkg create_training_material_1object.launch

process[create_training_material_node-1]: started with pid [16844]
Traceback (most recent call last):
  File "/home/user/catkin_ws/src/my_randomgazebomanager_pkg/scripts/", line 11, in <module>
    from rgb_camera_python3_v2 import RGBCamera
ImportError: cannot import name 'RGBCamera'
[create_training_material_node-1] process has died [pid 16844, exit code 1, cmd /home/user/catkin_ws/src/my_randomgazebomanager_pkg/scripts/ demo_spam1 demo_table1,demo_spam1 100 0.5 False False 0.0 0 None __name:=create_training_material_node __log:=/home/user/.ros/log/54c3db36-1089-11ea-88da-02851b9707f1/create_training_material_node-1.log].
log file: /home/user/.ros/log/54c3db36-1089-11ea-88da-02851b9707f1/create_training_material_node-1*.log
all processes on machine have died, roslaunch will exit
shutting down processing monitor...
... shutting down processing monitor complete

Is there a way to reset my workspace?


No worries. I got it fixed by correcting the typos in my RGB class.

I would still be interested to know the procedure to reset workspace, not that I would like to get it reset now.


Hello @cshreyastech,

The easiest way to reset your workspace is to move to a different Unit (it’s better if it uses a different a simulation than the current one), and then go back to your current Unit. This way everything will get reset, getting rid of any possible mess in your workspace.


Thank you for the inputs.