Display text in RViz
Hi!
I want to display some text information in RViz GUI, but not associated to specific point but rather always visible to the user. Is it possible to to render text at a fixed position in view, or maybe display it in some other way?
Asked by xbaelus on 2020-01-17 11:08:24 UTC
Answers
You should be able to do this with the jsk_rviz_plugins package.
Specifically, the overlay_text plugin.
Screenshot from their documentation:
Asked by gvdhoorn on 2020-01-17 12:03:51 UTC
Comments
Thank you for the link to the very useful plugin. Is it possible though to use this to overlay text inside a camera image display window? If yes, how do i do it?
Asked by Amrita Suresh on 2021-02-08 04:25:34 UTC
@Amrita Suresh, you can overlay text inside the camera image using OpenCV. First convert the ROS Image message to OpenCV image using CvBridge. Add text to the image frame. Reconvert this to a ROS Image message and publish to a different topic. You can view this new topic in the RViz display window. Some guidance on how to use CvBridge can be seen here
Asked by trunc8 on 2021-07-31 23:15:57 UTC
Comments