Open TiagoMartinss opened 1 month ago
As i said in my mention, i did calibrate everything (allan and kalibr) with a ubuntu 18.04 Docker with ROS Melodic in it.
You might want to try to use the internal quaternion to rotation function as we use JPL quaterions, likely your reconstructed transformation matrix has a flipped orientation. https://docs.openvins.com/namespaceov__core.html#adfb06397034cc6b346efb9517ed3757e
Hello, I am a junior full-stack developer, so I don't have much expertise in the field of image processing.
I am using an Azure Kinect DK as a color camera and its IMU. My server, connected to the camera, uses OpenVINS and sends the OpenVINS transformation matrix and the depth image to the clients to reconstruct the environment. The steps:
First, I captured a 3-hour static IMU rosbag from my camera to generate an imu.yaml file using Allan.
Then, I used Kalibr with the intrinsic and extrinsic parameters of the Azure Kinect and the imu.yaml file to generate two output YAML files.
I am using OpenVINS without ROS in my code, with the following code:
And my configuration :
During my debugging session (focusing on the camera’s translation/position for now), the translation reacts very well, and I am even able to reconstruct my environment quite accurately, you can notice the green line which is the camera movements history.
However, when I apply a rotation to my camera, OpenVINS outputs a completely incorrect translation (a 1-meter translation even though the camera is stationary and only rotating), i did apply multiple X-axis (openvins coordinates system which is my viewer Z-axis) rotations :
In summary, my issue is that the OpenVINS transformation matrix is incorrect during rotations but not translations. It behaves like a significant drift is being applied, causing the movements to be completely inaccurate.
Since translation works but rotation doesn't, this clearly indicates there is an issue with my setup. I can't tell for now if it's my configuration, code or logic that create the issue, may you guys can help me ! I apologize if the error seems obvious :) Let me know if you need more informations, this is pretty urgent as it block me on a project :/