Skip to content
Snippets Groups Projects
Commit 5a00cb47 authored by Matthias Grob's avatar Matthias Grob Committed by Lorenz Meier
Browse files

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.
parent 419c474d
No related branches found
No related tags found
No related merge requests found
......@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment