Add graded axes to rviz
Hi I am using rviz for visualization of objects surrounding an origin, where the objects might be at a quite large distance (>100m). Rviz is configured in a birds-eye view, where only the xy plane is visible. The problem is that it is difficult to tell which distance these objects are located at, even with a grid and grid size set to 1m.
What I would like to add is axes with gradation (could not add image due to new account), so this is my question; how could one add these axes into rviz?
Preferably the scales would change depending on the distance from which the plane is observed from. So if there is objects at an interval [-100,100] meters i would like some graded axis indicating the distance every X meters, in both x and y direction, similar to the axes/tics of the plot function in matlab.
I am using ROS melodic, with rviz version 1.13.7.
Asked by eriklarsson on 2020-04-14 10:20:11 UTC
Comments
This is not something for which there is support in the default RViz distribution.
It could be there are Display plugins which add this, but you'd have to search for them.
Asked by gvdhoorn on 2020-04-14 10:28:40 UTC
Okay, thanks for your answer. Do you have any particular plugin in mind? Or one which can be modified / used as template?
Asked by eriklarsson on 2020-04-15 03:15:52 UTC
No, I don't have anything particular in mind.
You could perhaps start with the current Grid plugin. It doesn't have any scales (which I believe is what you're looking for), but those could probably be added (ie: start drawing scales when the viewpoint is further away than
X
metres or something).Asked by gvdhoorn on 2020-04-15 04:22:19 UTC