Skip to content

Commit

Permalink
[imu] Change cube orange+ IMU2 range
Browse files Browse the repository at this point in the history
  • Loading branch information
fvantienen committed Sep 20, 2023
1 parent 7ae5f91 commit e39d4d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sw/airborne/modules/imu/imu_cube.c
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ void imu_cube_init(void)
imu2.spi.slave_idx = CUBE_IMU2_SPI_SLAVE_IDX;

imu2.gyro_odr = INVENSENSE3_GYRO_ODR_4KHZ;
imu2.gyro_range = INVENSENSE3_GYRO_RANGE_500DPS;
imu2.gyro_range = INVENSENSE3_GYRO_RANGE_2000DPS;
imu2.accel_odr = INVENSENSE3_ACCEL_ODR_4KHZ;
imu2.accel_range = INVENSENSE3_ACCEL_RANGE_32G;
imu2.gyro_aaf = 977; // ~ODR/4
Expand Down

0 comments on commit e39d4d8

Please sign in to comment.