For fast local obstacle detection, I would not depend on SLAM map. I would suggest to look in local costmap (with
VoxelGrid plugin) or
grid_map package.
From rtabmap node, you can subscribe to /rtabmap/cloud_map for a PointCloud2 topic, or /rtabmap/elevation_map (created with
grid_map package) for a 2.5D mesh (rtabmap should be built with grid_map_core support, which is normally the case for the binaries).
cheers,
Mathieu