boschsensortec / BMI270_SensorAPI

This respository contains Bosch Sensortec's BMI270 inertial measurement unit's sensor API. To report issues, go to https://community.bosch-sensortec.com/t5/Bosch-Sensortec-Community/ct-p/bst_community
BSD 3-Clause "New" or "Revised" License
67 stars 52 forks source link

bmi2_extract_accel , bmi2_extract_gyro etc produce incorrect results #4

Open thealastair opened 4 years ago

thealastair commented 4 years ago

This library seems to have hardcoded values for all the FIFO frame lengths, so if I set the auxiliary sensor read length to anything other than 8 bytes the data is incorrectly interpreted.

The work-around is just to set the read length to 8 bytes.