Hi,
If you use rtabmap.launch, use it like this to disable visual odometry:
roslaunch rtabmap_ros rtabmap.launch visual_odometry:=false odom_topic:=/my_wheel_odom_topic ...
It is possible to feed wheel odometry as guess to visual odometry to make it a little more robust (if wheel odometry is relatively accurate on short periods). To do so, we can launch rtabmap.launch like this:
roslaunch rtabmap_ros rtabmap.launch odom_guess_frame_id:=odom vo_frame_id:=vo_odom ...
where "odom" is the odometry TF frame of your wheel odometry and "vo_odom" is th eTF frame of visual odometry. Your TF tree will look like this:
/map -> /vo_odom -> /odom -> /base_link ...
You can also enable auto reset of odometry when it gets lost, to do so:
roslaunch rtabmap_ros rtabmap.launch odom_guess_frame_id:=odom vo_frame_id:=vo_odom args:="--Odom/ResetCountdown 1" ...
cheers,
Mathieu