Ask Your Question
1

What will happen if I run 'rosclean purge'?

asked 2020-01-30 23:34:15 -0500

kane_choigo gravatar image

updated 2020-01-31 02:58:49 -0500

gvdhoorn gravatar image

Hello, I'm using ROS kinetic on ununtu 16.04.

This question might not be serious, and it does not bring up any other problems.

I got the following warning every time when my roscore runs:

WARNING: disk usage in log directory [/home/robotics/.ros/log] is over 1GB.
It's recommended that you use the 'rosclean' command.

I also referenced to this issue, but I just afraid this command might spoil my ROS system in some ways.

The above instruction says maybe rosclean purge can remove that warning, but I'm not still sure. Would it truely going to be ok if I run rosclean purge?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
5

answered 2020-01-31 00:04:26 -0500

Yes, what that's going to do is remove the ROS logs from your .ros/log directory. When packages print to screen or have debug messages, they also get logged in that directory.

Over time if nothing empties them, it'll keep piling up. This warning is to let you know that there are alot of logs laying around, and you may want to get rid of them so they don't keep growing.

All that rosclean purge does is remove those files.

edit flag offensive delete link more

Comments

Thank you, it works without any issues!

kane_choigo gravatar image kane_choigo  ( 2020-01-31 00:31:36 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

2 followers

Stats

Asked: 2020-01-30 23:34:15 -0500

Seen: 2,512 times

Last updated: Jan 31 '20