[Python] 3d-motion data from accelerometer and inclinometer

Discussão em 'Python' iniciado por Stack, Abril 5, 2025.

  1. Stack

    Stack Membro Participativo

    I have data from an accelerometer app on my phone. The data includes acceleration and inclination values corresponding to each time stamp and can be extracted as a .csv file. I moved my phone up, to the side and back to the same place.

    The .csv looks like:

    time,ax,ay,az,yaw,pitch,roll

    2025-04-05T18:36:23.297Z, 0.0074, 0.0069, 0.0051, -23.05, 0.06, 0.42

    2025-04-05T18:36:23.308Z, 0.0123, 0.0041, 0.0103, -23.05, 0.06, 0.42

    I tried using pandas to read the csv, and used Euler angles to convert the acceleration to global coordinates, but the plot is not as expected.

    If someone is particularly interested, the app is called "Physics Toolbox Sensors". Thank you!

    Continue reading...

Compartilhe esta Página