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

Rviz get selected markers

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

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

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 -0500

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 image Jeffrey Kane Johnson  ( 2013-03-01 09:10:16 -0500 )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 image pBartels  ( 2013-11-25 00:38:19 -0500 )edit

Question Tools

Stats

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

Seen: 935 times

Last updated: Feb 28 '13