OpenCamera-Sensors icon indicating copy to clipboard operation
OpenCamera-Sensors copied to clipboard

Linear Acceleration Data

Open tmxftw opened this issue 3 years ago • 0 comments

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!

tmxftw avatar Apr 19 '22 09:04 tmxftw