-
-
Notifications
You must be signed in to change notification settings - Fork 85
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
Tuple index out of Range - Complimentary filter #70
Comments
Hi, I cannot trace it back without the provided data. The only way I could reproduce it was passing an array with a single value or with None: >>> np.array(1.0).shape[-1]
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
IndexError: tuple index out of range
>>> np.array(None).shape[-1]
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
IndexError: tuple index out of range
It would be nice to check this, in order to better trace back the problem. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I keep getting this tuple index out of range error for the complimentary filter. I am passing in data directly pulled from the MPU9250 sensor that I am using. Just curious what I am doing wrong.
![Screenshot 2022-04-05 113056](https://user-images.githubusercontent.com/18365063/161802424-540bdd3a-ff22-4e05-a48f-cbc6d7b3f04b.png)
The text was updated successfully, but these errors were encountered: