Hi,
With Grid/FromDepth=false, you get occupancy grid created from lidar. Note that in RVIZ (with rtabmap_ros/MapCloud plugin) or rtabmapviz, you can still show the 3D point clouds from the camera.
It is also possible to use
rtabmap_ros/map_assembler node (
subscribed to mapData output of rtabmap) to reassemble a point cloud with different Grid parameters, like for example using Grid/FromDepth=true to get an occupancy grid from camera at the same time. To be able to do so (when local grids are already created by rtabmap), I
just added an option called regenerate_local_grids to ignore local occupancy grids so that they are regenerated with Grid parameters requested. You can see the example in that
file.
cheers,
Mathieu