Ask Your Question
0

Rviz get selected markers

asked 2013-02-28 09:06:44 -0600

updated 2013-02-28 09:07:34 -0600

I've written an Rviz plugin that allows users to click on interactive markers to label them. There are typically many markers in a scene that share a label, so I'd like to be able to label groups of markers at once. I can select groups of markers using the selection tool, but I can't figure out how to get a list of selected markers from my within my plugin. Does anyone know how to do that?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2013-02-28 10:09:19 -0600

dgossow gravatar image

Use VisualizationManager::getSelectionManager, SelectionManager::getSelection and SelectionManager::getHandler.

edit flag offensive delete link more

Comments

Thanks, I'll take a look at that.

Jeffrey Kane Johnson gravatar imageJeffrey Kane Johnson ( 2013-03-01 09:10:16 -0600 )edit

Hello, I'm not sure about labeling but we wrote a plugin that publishes all selected points on a ros topic. Perhaps a look at the code would be helpful: https://github.com/tu-rbo/turbo-ros-pkg/tree/master/rviz-plugin-selected-points-topic Best, phil

pBartels gravatar imagepBartels ( 2013-11-25 00:38:19 -0600 )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

Stats

Asked: 2013-02-28 09:06:44 -0600

Seen: 568 times

Last updated: Feb 28 '13