mirror of
https://github.com/okalachev/flix.git
synced 2025-07-27 09:39:33 +00:00
Set gyro limits to 2000 DPS by default
This commit is contained in:
parent
7cfcf5b63b
commit
fbe33eac1b
@ -29,7 +29,7 @@ void setupIMU() {
|
|||||||
|
|
||||||
void configureIMU() {
|
void configureIMU() {
|
||||||
IMU.setAccelRange(IMU.ACCEL_RANGE_4G);
|
IMU.setAccelRange(IMU.ACCEL_RANGE_4G);
|
||||||
IMU.setGyroRange(IMU.GYRO_RANGE_500DPS);
|
IMU.setGyroRange(IMU.GYRO_RANGE_2000DPS);
|
||||||
IMU.setDlpfBandwidth(IMU.DLPF_BANDWIDTH_184HZ);
|
IMU.setDlpfBandwidth(IMU.DLPF_BANDWIDTH_184HZ);
|
||||||
IMU.setSrd(0); // set sample rate to 1000 Hz
|
IMU.setSrd(0); // set sample rate to 1000 Hz
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user