mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-14 10:07:39 +08:00
mpu6000: set the default DLFP filter to 42Hz
this allows for apps to ask for slightly higher filters with the software filter and not have it completely ruined by the on-chip DLPF
This commit is contained in:
parent
cfd737aa73
commit
338e506a28
@ -477,7 +477,7 @@ void MPU6000::reset()
|
||||
// FS & DLPF FS=2000 deg/s, DLPF = 20Hz (low pass filter)
|
||||
// was 90 Hz, but this ruins quality and does not improve the
|
||||
// system response
|
||||
_set_dlpf_filter(20);
|
||||
_set_dlpf_filter(42);
|
||||
usleep(1000);
|
||||
// Gyro scale 2000 deg/s ()
|
||||
write_reg(MPUREG_GYRO_CONFIG, BITS_FS_2000DPS);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user