mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-06-07 09:13:32 +08:00
MPU6000 driver: change default accelerometer range to +-16g
This range amkes much more sense for MAV applications. It reduces vibration vulnerability caused by measurement range clipping.
This commit is contained in:
committed by
Lorenz Meier
parent
419c474d53
commit
5a00cb4770
@@ -796,7 +796,7 @@ int MPU6000::reset()
|
||||
_gyro_range_scale = (0.0174532 / 16.4);//1.0f / (32768.0f * (2000.0f / 180.0f) * M_PI_F);
|
||||
_gyro_range_rad_s = (2000.0f / 180.0f) * M_PI_F;
|
||||
|
||||
set_accel_range(8);
|
||||
set_accel_range(16);
|
||||
|
||||
usleep(1000);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user