Skip to content

Linear Acceleration Data #72

Open
tmxftw opened this issue Apr 19, 2022 · 0 comments
Open

Linear Acceleration Data #72

tmxftw opened this issue Apr 19, 2022 · 0 comments

Comments

@tmxftw
Copy link

tmxftw commented Apr 19, 2022

Hi, is there any way to get the linear acceleration data without the influence of gravity? The current acceleration data logged has gravity included, which I do not want.

A possible way for me to remove it on my end is to get the average gravity value by placing my phone on a table and getting its average magnitude. Afterwards, I can use the gyroscope data of the timestamp to calculate the gravitational acceleration in each axis and minusing it from the acceleration data logged. However, I am hoping for a simpler solution.

Thanks in advance!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant