Hi MG_
DepthAI platform does not provide a direct method to calibrate the IMU. However, the IMU sensors on the OAK devices, either BNO085 or BMI270, provide both raw and calibrated data. For instance, the gyroscope provides GYROSCOPE_RAW data straight from the sensor and GYROSCOPE_CALIBRATED data which is the angular velocity of the device.
If you are experiencing oscillating metrics, it could be due to the frequency of the IMU sensor. For example, the BNO086 gyroscope can operate at a maximum frequency of 1000Hz, but only up to 400Hz is stable due to driver limitations. Frequencies above 400Hz can produce some jitter from time to time due to sensor hardware limitations.
Thanks,
Jaka