I have found an issue that makes ZED-M not able to work with RTAB-Map while using ZED's odometry and RTAB-Map loop-closure. My goal is to use odometry from ZED and allow RTAB-Map to publish /map -> /odom and correct it when loop-closure is detected.
The problem is that zed-ros-wrapper already publishes /map -> /odom transformation and thus both software overwrites themselves.
To solve it I commented a few lines in zed-ros-wrapper to stop it from publishing this transform. Do you think that we can add a parameter that turns it off? Do you want me to do a PR?
Edit: problem explained on RTAB-Map forum.