Tare function for BHI160B

Hi team,

We are able to get the RPY and Quaternions data from the BHI160B + BMM150 setup.
But our setup is not aligned to the horizontal plane. So I need a Tare kind of function to reset the orientations.
Which should reset the RPY to 0,0,0 or Quaternions to [1,0,0,0].
I found that bsx library have that feature in BNo055 but how to do that in BHI160B?

Best reply by BSTRobin

Hi chaitanyai,

BNO080/085/086 is a CEVA's product with tare function.

BNO055 is Bosch Sensortec's product. For sensor configuration, refer to the data sheet https://www.bosch-sensortec.com/media/boschsensortec/downloads/datasheets/bst-bno055-ds000.pdf and sensor API https://github.com/BoschSensortec/BNO055_driver

For BHI160B configuration, you can also refer to the data sheet https://www.bosch-sensortec.com/media/boschsensortec/downloads/datasheets/bst-bhi160b-ds000.pdf and sensor API https://github.com/BoschSensortec/BHy1_driver_and_MCU_solution

Bosch Sensortec's products and CEVA's products have different sensor configuration method.

View original
5 replies
Resolved