AHRS
Dependencies: Eigen
Diff: BMI088.h
- Revision:
- 29:cd963a6d31c5
- Parent:
- 27:973e495f4711
--- a/BMI088.h Mon Jan 20 12:41:13 2020 +0000 +++ b/BMI088.h Mon Jan 27 09:23:58 2020 +0000 @@ -80,15 +80,15 @@ RANGE_24G = 0x03, // }; -enum acc_odr_type_t { // output data rate - ODR_12 = 0x05, // - ODR_25 = 0x06, // - ODR_50 = 0x07, // - ODR_100 = 0x08, // - ODR_200 = 0x09, // - ODR_400 = 0x0A, // - ODR_800 = 0x0B, // - ODR_1600 = 0x0C, // +enum acc_odr_type_t { // Normal fg(Hz) | OSR2 fg(Hz) | OSR4 fg(Hz) <- output data rate + ODR_12 = 0x05, // 5 2 1 + ODR_25 = 0x06, // 10 5 3 + ODR_50 = 0x07, // 20 9 5 + ODR_100 = 0x08, // 40 19 10 + ODR_200 = 0x09, // 80 38 20 + ODR_400 = 0x0A, // 145 75 40 + ODR_800 = 0x0B, // 230xy/200z 140 80 + ODR_1600 = 0x0C, // 280xy/245z 234xy/215z 145 }; enum acc_power_type_t { // power mode @@ -142,6 +142,8 @@ void setAccScaleRange(acc_scale_type_t range); void setAccOutputDataRate(acc_odr_type_t odr); + void setAccOutputDataRateOSR2(acc_odr_type_t odr); + void setAccOutputDataRateOSR4(acc_odr_type_t odr); void setGyroScaleRange(gyro_scale_type_t range); void setGyroOutputDataRate(gyro_odr_type_t odr);