-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unprocessable Batch bytes #49
Comments
Getting the same error while using BNO086 |
Still having this issue as well. BNO085, with Raspberry Pi 3B+. |
I am also having this issue with a PI Pico |
@ReedTruax I ended up giving up on the BNO085 and bought a LSM9DS1, which worked very nicely. Granted, I didn't use the Adafruit code, but rather the code from this other repo here: https://github.com/Richard-Gemmell/lsm9ds1-rjg. I have no opinion on the Adafruit code, but saw that in his repo Richard Gemmell took the time to incorporate all the data sheet functionality (in particular, sending special bytes to registers to control ODR--output data rate). His work was a goldmine. (Though if you decide to go the same route as I did, take a brief look at the issue I made there.) |
For me it's a BNO086, same RPi 3B+, bookworm. No reading so far. |
Any solutions? I am having the same issue with a BNO086 using a Raspberry Pi Zero 2 W |
Okay so a parshal solution to this problem has been found. Here is the specific error I had which I believe is the same as the error above:
The solution found was to go into the __init __ .py file and comment out the exception raised in the _handle_packet function on line 863. By commenting this out, the code is allowed to continue. All this does is allow the IMU to send bad data to you, but after about a second, it starts sending good data and works perfectly. I still do not know why the IMU is sending bad data for the first second or so of initializing. Perhaps it would be wise to add a pause after initialization before reading values in over I2C? Regardless, this fixed the problem. You can see below the output of the bno08x_more_reports.py code below: *NOTE I changed the I2C frequency to 400kHz.
|
I have the exact same problem as well |
I am trying to get a BNO086 working. I'm getting this error:
I'm able to read data every couple of times, but am often getting error messages like this.
The text was updated successfully, but these errors were encountered: