I have a question regarding the initial orientation computed by positional tracking. When I use the live camera feed, the initial orientation is aligned with gravity. However, when I use the prerecorded svo2 files, the initial orientation is always identity. Why is it the case?
Yes, all my svo files have this issue. This issue happens with SDK 5.0.7. InitParameter.set_gravity_as_origin = false, PositionalTrackingParameters.mode = GEN3.
I also tested with the lastest SDK 5.1.1. When using positional tracking with pre-recorded svo2 file, the fusion mode showed visual, instead of visual inertial.
I used the lastest ZED SDK v.5.1.1. No matter what mode, GEN_1,2, 3, I chose, the positional tracking cannot enter visual-inertial mode when using pre-recorded svo2 files.
Thank you for reporting this. We’ve identified the issue internally and are preparing a fix for it. The issue is related to how the IMU data is read, meaning that the data in the SVOs is still valid.
The fix will be available in the next ZED SDK version