depthai
depthai copied to clipboard
[SDK Feature-Request] IMUComponent apply rotation to IMU data so it matches camera's coordinate frame
Start with the why:
Currently, this is a mess. We don't yet flash IMU rotation/translation to our devices, and devices have different IMUs on differnt board sides (front/back) and are differently orientated. Also, same device can have multiple revisions where IMU position/rotation could be changed (example: BMI270 R4->R5 of NG9097).
Move to the what:
Auto-detect and apply the correct IMU rotation for all OAK cameras.
Move to the how:
A bunch of if checks for all the different camera permutations.