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

What does the .ros folder contain ?

asked 2021-06-21 03:49:31 -0500

electrophod gravatar image

Hey guys,

I hope all of you are safe and doing well I was looking at some files which occupy a lot of storage and noticed the .ros folder occupies the maximum space of around 3 GBs. I believe this is some kind of cache (Please correct me if I'm wrong), I'd like to know more about it.

Is it safe to delete that folder (as it occupies a lot of space) or should I just leave it?

TIA

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
2

answered 2021-06-21 04:40:53 -0500

gvdhoorn gravatar image

updated 2021-06-21 04:42:12 -0500

What does the .ros folder contain ?

It's the default location for all sorts of "system data", meaning log files, rospack caches, rosdep caches and a few more types of files used by some core parts of ROS (in ROS 1 at least).

.ros is also the default working directory when nodes are started using roslaunch, which causes quite some confusion as that would be where ROS nodes would try to read/write files specified using relative paths.

I believe this is some kind of cache (Please correct me if I'm wrong)

most of the space will likely be taken up by log files, not the caches.

Is it safe to delete that folder

there'd be no need to delete it. If you'd like to reduce the amount of space it occupies and don't care to retain the logs, just run rosclean purge and answer the prompt. See wiki/rosclean for some more info on that utility.

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2021-06-21 03:49:31 -0500

Seen: 640 times

Last updated: Jun 21 '21