Ask Your Question

Delete all rviz markers

asked 2015-03-18 16:04:19 -0600

jess gravatar image


On the tutorial ( ) and docs for the visualisation markers, there's supposed to be an option for action "DELETEALL" which would remove all markers. I've tried this and it has not deleted any markers. Is this function actually in effect? Is there anything else I need to specify apart from marker.action?

Thanks, Jess

edit retag flag offensive close merge delete


According to that was added in Indigo. Are you using Indigo?

William gravatar imageWilliam ( 2015-03-18 16:27:43 -0600 )edit

Yes, definitely on indigo

jess gravatar imagejess ( 2015-03-18 17:25:06 -0600 )edit

I think I have an idea of what the problem might be, can you open a ticket on rviz:

William gravatar imageWilliam ( 2015-03-18 19:24:58 -0600 )edit

Just did. Thanks for looking into this.

jess gravatar imagejess ( 2015-03-18 19:59:45 -0600 )edit

Does this work now? Can someone give a brief code example?

atp gravatar imageatp ( 2015-10-19 11:03:12 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2015-03-18 22:25:24 -0600

jess gravatar image

I ended up using rviz_visual_tools::RvizVisualTools and calling deleteAllMarkers() - did the trick for me.

edit flag offensive delete link more

Your Answer

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

Add Answer

Question Tools


Asked: 2015-03-18 16:04:19 -0600

Seen: 3,341 times

Last updated: Mar 18 '15