Enable gyro calibration on the start

This commit is contained in:
Oleg Kalachev 2023-12-19 11:36:27 +03:00
parent fde9c1cf36
commit 189eac95ef

View File

@ -7,7 +7,7 @@
#include <MPU9250.h>
#define IMU_CS_PIN 4 // chip-select pin for IMU SPI connection
#define CALIBRATE_GYRO_ON_START false
#define CALIBRATE_GYRO_ON_START true
MPU9250 IMU(SPI, IMU_CS_PIN);