Publishing text via RViz plugin
I want to display text in my RViz plugin. I am not publishing, so I need to use a QTSlot for that.How do I go about that?
I want the display either over my robot inside RVIZ I was not able to find relevant example source code. It would be great if you could help me on how to go about it.
NOTE: I should not be using a publisher( Cannot have a publisher_object.publish() ) in my code. So I don't think visualization markers could work
Thanks!
Asked by Joy16 on 2016-07-07 17:58:46 UTC
Comments
Can you provide some more details? Do you want to show text in the big display area, over the robot? Or in a Qt widget in a side panel?
Asked by jorge on 2016-07-08 02:22:08 UTC
I have added the details in the question now. Thank you very much!
Asked by Joy16 on 2016-07-11 00:14:41 UTC
I am sorry for not being clear. It is my RViz plugin's requirement that my plugin can not have a publisher. If I have a rosbag, I should be able to open up RViz and use my plugin without running nodes or launching files. So I can not have a publisher in my plugin.
Asked by Joy16 on 2016-07-12 11:27:22 UTC
RViz is the subscriber for interactive markers. You wouldn't need any additional nodes.
Asked by gvdhoorn on 2016-07-13 00:49:27 UTC