I am running a simulation in Gazebo with RGBD camera, and I get the following issue. Pose estimation (published in orb_slam2_rgbd/pose topic) and also the pointcloud do not correctly get the TF from camera to base link, and therefore they are wrongly aligned. The offset you see in this RViZ image is exactly the 0.2 meters that camera is elevated from base. What am I missing here? I attach camera urdf description and my launch file. I tried different settings and camera_link & camera_link_optical do not cause this issue.
Hello,
I am running a simulation in Gazebo with RGBD camera, and I get the following issue. Pose estimation (published in orb_slam2_rgbd/pose topic) and also the pointcloud do not correctly get the TF from camera to base link, and therefore they are wrongly aligned. The offset you see in this RViZ image is exactly the 0.2 meters that camera is elevated from base. What am I missing here? I attach camera urdf description and my launch file. I tried different settings and camera_link & camera_link_optical do not cause this issue.
Camera simulation:
ORBSLAM launch file: