如果你用的是mpu6050
//#define MPU6050_LPF_256HZ // This is the default setting, no need to uncomment, just for reference
//#define MPU6050_LPF_188HZ
//#define MPU6050_LPF_98HZ
#define MPU6050_LPF_42HZ
//#define MPU6050_LPF_20HZ
//#define MPU6050_LPF_10HZ
//#define MPU6050_LPF_5HZ
像我这样把 “ #define MPU6050_LPF_42HZ ” 前面的 “ // ” 去掉。
再不行的话,换一下20HZ 或 98HZ
|