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

Raw input and using magnetometer #1

Open
talalahsan01 opened this issue Jul 3, 2020 · 2 comments
Open

Raw input and using magnetometer #1

talalahsan01 opened this issue Jul 3, 2020 · 2 comments

Comments

@talalahsan01
Copy link

Hey, i have basically 2 questions related to this crate, the first is should I use raw data from my gyro and accelerometer as input for this crate to receive euler angles or should it be calibrated or changed in some other form.
The second question i had was regarding magnetometer, I read an article related to dcm imu and it said that the angles from this filter can be used with magnetometer and precise yaw angle can be calculated. Can anyone help me regarding that?

@bofh
Copy link
Member

bofh commented Jul 3, 2020

Regarding the calibration I would recommend this tutorial as a starting point.

Getting precise yaw would require additional fusion step with this filter.

@talalahsan01
Copy link
Author

Regarding the calibration I would recommend this tutorial as a starting point.

Getting precise yaw would require additional fusion step with this filter.

Can you tell me a good way to do this additional fusion step. Or is there any crate or formula for calculating yaw from the output of dcm imu. I have no idea how to implement that fusion step.

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