adafruit / adafruit/Adafruit_CircuitPython_BNO055
WebGL Example - Incorrect rotation on screen
- Dominant language
- Python
- Stars
- 94
- Forks
- 55
- PR merge metrics
- No merged PRs in 30d
Description
The motion of the 3D model in the WebGL example does not reflect the motion of the BNO055 sensor. Specifically, with the sensor on a flat surface with the VIN to RST pin holes facing away, a change in pitch of the sensor (which accurately changes the values next to "Pitch =") causes the model to roll. A change in roll causes the model to yaw. And a change in yaw causes the model to pitch.
The system shows a complete calibration. Because the Euler output seems correct, I am guessing that there is some issue with the order of the quaternions in the code, but I have not been successful with identifying the exact issue.
I have tested this with two sensors, using both a direct soldered connection and a QWIIC connector.
Any guidance would be greatly appreciated!
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by locating the WebGL example and tracing how the BNO055 quaternion or Euler output is mapped to the model's axes. Compare physical pitch, roll, and yaw with the displayed motion; done means each sensor rotation produces the corresponding model rotation without axis swapping.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, python
- Domain
- computer-graphics, embedded-iot
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100