Text on top of RVIZ arrow marker

asked 2017-01-13 06:36:25 -0600

skruzic gravatar image

Hello everyone,

I'm wondering if it's possible to put some text on top of arrow marker in RVIZ. To be more clear, what I'm doing is that I'm collecting laser scan message with distances to obstacles, and showing arrow whose length is proportional to distance to obstacle in the direction of arrow. What I'm trying is to put text with distance in meters on top of that arrow.

I already tried with TEXT_VIEW_FACING marker, but it seems that changing its orientation doesn't help, it always stays same.

Any help is appreciated. Thanks!

edit retag flag offensive close merge delete


TEXT_VIEW_FACING would seem suitable for a UI point of view, as you've found it will always face the viewer, is this a problem? Are you specially looking for text in 3D that is written along the arrow itself so to speak? Could be done with a triangle list, but it's a lot of work!

PeteBlackerThe3rd gravatar image PeteBlackerThe3rd  ( 2017-01-13 15:28:39 -0600 )edit