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

Convert Raw Acceleration #149

Open
Maxi1893 opened this issue Sep 25, 2024 · 1 comment
Open

Convert Raw Acceleration #149

Maxi1893 opened this issue Sep 25, 2024 · 1 comment

Comments

@Maxi1893
Copy link

Hi everyone,

First of all thank you for the Libary, even I as a beginner managed to get a lot working.

I used the Example 7 to get the Euler Angles and tried to add the Raw Accelaration.

It works fine and i get an output, however i dont understand how i can convert this Accel value into m/s2.

Thank you in advance!
Best regards,
Max

@PaulZC
Copy link
Contributor

PaulZC commented Sep 26, 2024

Hi Max,

It has been a while since I looked at this, but I think the DMP outputs Accel values in milli-g.

What Accel values do you see? With the chip horizontal, what Z value do you see? Is it close to 1000?

To convert milli-g to m/s2 you need to multiply by 0.00980665 (9.81 / 1000).

Best wishes,
Paul

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