OpenCamera-Sensors
OpenCamera-Sensors copied to clipboard
Linear Acceleration Data
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!