Skip to content
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

fix import problem #18

Closed
orekides opened this issue Jan 4, 2021 · 1 comment
Closed

fix import problem #18

orekides opened this issue Jan 4, 2021 · 1 comment

Comments

@orekides
Copy link

orekides commented Jan 4, 2021

the am2q function is used in the ekf.py file , but not imported
Q[0] = am2q(self.acc[0], self.mag[0]) if self.q0 is None else self.q0/np.linalg.norm(self.q0) in ekf.py line 77.

@Mayitzin
Copy link
Owner

Mayitzin commented Jan 4, 2021

Thanks. The import is fixed now with commit e172526 .

It will now use the new function ecompass instead of the old am2q. Eventually, am2q will be removed in favour of the new function.

@Mayitzin Mayitzin closed this as completed Jan 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants