morgil / madgwick_py

A Python implementation of Madgwick's IMU and AHRS algorithm.
GNU Lesser General Public License v3.0
178 stars 60 forks source link

Quaternion KeyError using self.__dict__ #10

Open eddiecarbin opened 2 years ago

eddiecarbin commented 2 years ago

Using Python 3.9 and the Quaternion object I'm getting a KeyError. self.dict returns an object, not an array.

I'm mostly writing this to lets someone else feel that they are not alone.

Thanks

viatto commented 2 years ago

I have the same problem! How can I solve it?

morgil commented 2 years ago

Sorry about that, I did not pay attention when merging a PR. Please check if it works again now.