rviz scale text while zooming
Hey there,
I am quite new to rviz and I would like to scale the text size(text.scale.z) of a text marker ( visualization_msgs::Marker::TEXT_VIEW_FACING ) when I zoom in or out in Rviz.
If there is an easy solution for that I would appreciate some help.
I however just had a look into the Orbit(rviz) -> distance value. I think this value can be used to increase your text size while the distance value is increasing. That means you adapt the text size of a text marker while your Cpp Ros node is running.
Unfortunately I did not get it how to read out this distance value in my while(ros::ok()){...} loop. Problem: #include <orbit_camera.h> failes also include rviz/orbit_camera failes ....
Hope you can help me on that.
Best Markus