Octomap appears as grey dots
Hi,
I have a fresh version of Ubuntu 18, ROS Melodic and octomap_server
installed. I'm using the octomap plugin
for RViz to visualize the OccupancyGrid
on the topic: /octomap_binary
with Voxel Rendering: Occupied voxels
. But the map appears as grey dots as opposed to cubes like in Ubuntu16.
I tried using MarkerArray
with the topic: /occupied_cells_vis_array
but the map appeared as grey dots again. It gave a
Warning: map/16, Uninitialised quaternion, assuming identity.
I'm using the exact same code in Ubuntu 16, so I'm not sure why the map doesn't appear as cubes.
I also tried reinstalling the plugin
and octomap_server
but that didn't help.
Please let me know how to correct this.
Thank you
Are you overriding the
height_map
parameter? This specifies if the/occupied_cells_vis_array
is colored based on height. It's odd you're getting different results because I did the same version update and didn't encounter this problem. I uninstalled most kinetic components so the Ubuntu auto-upgrade could work. Maybe you still have some kinetic components conflicting?Thanks for the reply. Where can I find the
height_map
parameter?It's one of the parameters listed on the server wiki page here
Turns out, I had the incorrect driver for my graphics card. This can be solved by running
ubuntu-drivers devices
and installing the recommended driver (as advised by sv). Should I delete this question since it's not really ROS related?