bolderflight / invensense-imu

Arduino and CMake library for communicating with the InvenSense MPU-6500, MPU-9250 and MPU-9255 nine-axis IMUs.
MIT License
513 stars 214 forks source link

calibrateGyro not working #92

Closed peteole closed 3 years ago

peteole commented 3 years ago

Calibrating the gyro does not work on a gy-91 with an stm32 blue pill and platformio. By debugging I found out that this is due to the following code: if (setSrd(19) < 0) { return -3; } Just removing it from the implementation fixes the issue.

flybrianfly commented 3 years ago

Calibration isn't included in newer versions of the driver, so we won't pull in any fixes.