Hi,
Currently rtabmap binaries on melodic are at 0.20.7 (
status). To build 0.20.9 or later, you must build/install rtabmap from source. Remove binaries and build rtabmap library from source (step 2
here).
apt remove ros-melodic-rtabmap
cheers,
Mathieu