Extended and refactored library for BNO055, an intelligent 9-axis absolute orientation sensor by Bosch Sensortec. It includes ACC, MAG and GYRO sensors and Cortex-M0 processor.
Fork of BNO055_fusion by
Please note: pitch and roll in get_euler_angles are switched, the code should be like this:
h = dt[1] << 8 | dt[0]; r = dt[3] << 8 | dt[2]; p = dt[5] << 8 | dt[4];
See https://www.bosch-sensortec.com/media/boschsensortec/downloads/datasheets/bst-bno055-ds000.pdf
Diff: BNO055.h
- Revision:
- 12:0e81e9aecc4c
- Parent:
- 11:17bc36c5ccbb
- Child:
- 13:92854c8deb3c
--- a/BNO055.h Sun Jan 28 21:29:12 2018 +0000 +++ b/BNO055.h Mon Jan 29 14:28:06 2018 +0000 @@ -272,7 +272,7 @@ */ bool use_mss(); - /** Determine if dps (instead of rds) are used. + /** Determine if dps (instead of rps) are used. * @return true if dps are used */ bool use_dps();