Making an ESP32-based quadcopter from scratch
Python arduinoautopilotcontrol-theorydroneesp32flight-controlflight-controllermavlinkquadcopterquadcopter-firmwareuav
Enable gyro calibration on the start
Oleg Kalachev189eac95ef91
diff --git a/flix/imu.ino b/flix/imu.inoindex cae41dd..8f089f6 100644--- a/flix/imu.ino+++ b/flix/imu.ino@@ -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 trueMPU9250 IMU(SPI, IMU_CS_PIN);