adafruit / adafruit/Adafruit_CircuitPython_BNO08x
Can not enable BNO_REPORT_ROTATION_VECTOR
- Dominant language
- Python
- Stars
- 41
- Forks
- 45
- PR merge metrics
- No merged PRs in 30d
Description
i suddently disconnect my bn attempting to calibrate the chip , but now , trying to run my script , i got this error :
Traceback (most recent call last):
File "/home/astis/geoloc/gps/direction_bosh_bno085/test_bno_i2c.py", line 50, in
bno.enable_feature(BNO_REPORT_ROTATION_VECTOR) # Pour le Nord Absolu
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/astis/astis-env/lib/python3.11/site-packages/adafruit_bno08x/__init__.py", line 980, in enable_feature
raise RuntimeError("Was not able to enable feature", feature_id)
RuntimeError: ('Was not able to enable feature', 5)
i have tried reseting by disconnecting the power pin but it 's still not working
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reproducing the failure from test_bno_i2c.py at the BNO_REPORT_ROTATION_VECTOR call, then read enable_feature in adafruit_bno08x/__init__.py around line 980. Check what happens after the sensor is disconnected and power-reset; done means explaining or correcting why feature 5 cannot be enabled and confirming the script runs successfully.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- embedded-iot
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 38/100