Page 1 of 1

Acc / Gyro range setting

Posted: Thu Sep 29, 2016 3:37 am
by mrmks
Hello,
I'd like to set higher maximum acceleration and gyro ranges.

I'm looking crazyflie-firmware/src/drivers/src/mpu6050.c
Right now,

Code: Select all

MPU6050_GCONFIG_FS_SEL_BIT = 4
and

Code: Select all

MPU6050_GCONFIG_FS_SEL_LENGTH = 2
It looks like I just need to change one of these values to 3 for the gyro, but which one is it?
I'm looking at the

Code: Select all

mpu6050GetFullScaleGyroRangeId()
Also, how about changing the max range for the accelerometer?

Re: Acc / Gyro range setting

Posted: Thu Sep 29, 2016 8:24 am
by tobias
The rangers are defined here. As of really resent the ranges was set to maximum the MPU9250 supports (2000 deg/s and 16g).