Fix to aggressive magnetometer correction (#149)

This commit is contained in:
Externet
2022-04-13 19:51:21 +02:00
committed by GitHub
parent 63f94f461f
commit 962224ccfd

View File

@@ -37,7 +37,7 @@
constexpr float gscale = (250. / 32768.0) * (PI / 180.0); //gyro default 250 LSB per d/s -> rad/s
#endif
#define MAG_CORR_RATIO 0.2
#define MAG_CORR_RATIO 0.02
void MPU9250Sensor::motionSetup() {
// initialize device