You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
According to Page 56 of the BNO055 datasheet (Rev. 1.7, November 2020), only bit0 - bit3 of OPR_MODE register represent the operation mode of the sensor.
However, in file adafruit_bno055.py, line 302, all of the eight bits are returned as the operation mode, which leads to strange behaviors as reported in #67. There, some physical values such as euler, quaternion etc. are shown as None, because a wrongly translated operation mode is out of range.
I concur with the issue and fix, but fyi, the Quaternion and Euler values returning NONE when they shouldn't were also sometimes caused by an error in another section of the program (issue 75, fixed by pull request 76).
Uh oh!
There was an error while loading. Please reload this page.
Hello friends,
According to Page 56 of the BNO055 datasheet (Rev. 1.7, November 2020), only bit0 - bit3 of OPR_MODE register represent the operation mode of the sensor.
However, in file adafruit_bno055.py, line 302, all of the eight bits are returned as the operation mode, which leads to strange behaviors as reported in #67. There, some physical values such as euler, quaternion etc. are shown as None, because a wrongly translated operation mode is out of range.
Suggestion:
return ( self._read_register(_MODE_REGISTER) & 0b00001111 )
Best Regards
GuenterQ
The text was updated successfully, but these errors were encountered: