mapviz icon indicating copy to clipboard operation
mapviz copied to clipboard

Needs to be a way to clear data

Open daveconger opened this issue 6 years ago • 6 comments

My mapviz keeps getting filled up with clutter from successive bag runs. There needs to be a way to clear data (or re-init plugins). Restarting mapviz each time is not sufficient since geo maps are not cached and need to redownload each run.

daveconger avatar Mar 20 '18 21:03 daveconger

Yeah the tubes keep getting clogged. Also I need to borrow Jerry's scissors.

HoomanBean avatar Mar 20 '18 21:03 HoomanBean

Seems like a useful feature. Base plugin could be modified with a virtual clear data method and individual plugins could be modified to clear their buffers.

What specifically is getting cluttered up? Things like the odometry track?

malban avatar Mar 20 '18 21:03 malban

Also @HoomanBean doesn't seem like a real person, I wouldn't trust anything they say.

malban avatar Mar 20 '18 21:03 malban

Off hand, at least the gps display.

daveconger avatar Mar 20 '18 22:03 daveconger

@daveconger See if these branches work:

https://github.com/malban/mapviz/tree/clear-history-indigo https://github.com/malban/mapviz/tree/clear-history-jade

It adds a 'Clear History' button to the menu bar and clears the history of GPS, tf, and odometry tracks, point clouds, laser scans, and markers. You will need to recompile both mapviz and mapviz_plugins.

malban avatar Mar 21 '18 13:03 malban

cool beans

HoomanBean avatar Mar 21 '18 16:03 HoomanBean