Combine IMU with visual odometry using rtabmap
Hello,
I want to combine a razor 9dof IMU (package razor_imu_9dof) with visual odometry from ASUS Xtion Pro live using rtabmap. I used package robot_localization to combine 2 data sources. I am confusing about the tf. I still use the visual odometry from rtabmap_ros. The package robot_localization takes data from topic /imu and /rtabmap/odom. In theory the tf from odom to camera_link must be published by robot_localization but it is still published by /rtabmap/rgbd_odometry. Can anyone explain me about the tf which is published by rtabmap/rgbd_odometry and the tf which is published by robot_localization and how to fix my problem or show me how to do the combination, please?
Another question is that when rtabmap/rtabmapviz doesn't subcribe any odometry topic, i still receive the map data, the rtabmapviz gui seems to work well. The only unusual thing is that the odometry display in rtabmapviz gui is black. It made me think the odometry is not important or i misunderstand something? Can anyone explain me, please?
I attached here the TFTree and NodeGraph.
Thank you in advance for your attention to this matter.