I suggest to try one of the demos on turtlebot3 + RGB-D camera:
https://github.com/introlab/rtabmap_ros/tree/ros2/rtabmap_demos#turtlebot3-nav2-and-rgb-d-slamYou can relaunch with "localization:=true" after first creating a map by sending goals in rviz.