-
Notifications
You must be signed in to change notification settings - Fork 40
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
IndexError: bytearray index out of range #15
Comments
could you solve your problem?? Same problem is appereing for me |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I run the roslaunch imu.launch, then it works good, despite it shows a warning message periodically "Something bad when reading". This warning suggests that some readings of imu are lost.
But the problem is not the warning. After 2 hours, more or less, the node crashes, raising an exception:
"IndexError: bytearray index out of range" in line 224 of bosch_imu_node.py.
I have tested it more than 3 times and it still with the same behavior. I also have tested with another imu board that has the same model, but nothing has changed.
I am using an Adafruit board with bno055 connected to an UART-USB converter (FTDI).
lsusb
command shows information about the FDTI:Bus 001 Device 029: ID 0403:6001 Future Technology Devices International, Ltd FT232 USB-Serial (UART) IC
The FTDI is connected to one USB port of Intel NUC with Ubuntu 18.04.4 LTS bionic and ROS melodic.
Is there a workaround for this problem?
Thanks in advance.
The text was updated successfully, but these errors were encountered: