You may browse demos here
https://github.com/introlab/rtabmap_ros/blob/ros2/rtabmap_demos to see if you can find something similar to what you are doing.
If you start without visual odometry, you may look at this demo:
https://github.com/introlab/rtabmap_ros/blob/ros2/rtabmap_demos/README.md#turtlebot3-nav2-and-rgb-d-slam
ysfkarakus1919 wrote
Also, in outdoor SLAM, should I use a LiDAR, or is a stereo camera sufficient?
Both alone or combined can be used outdoor, it would depend what kind of sensors you have and what kind of environment the robot will face.