Issue with gait_tracking & 3D visualization

Hi everybody,
i'm using my MKR WiFi 1010 in which is mounted MKR IMU shield, that has BNO055 sensor (mag + acc + gyro). After calibratign my IMU sensor, i'm using funcion

imu::Vector<3> acc = myIMU.getVector(Adafruit_BNO055::VECTOR_ACCELEROMETER);
         imu::Vector<3> gyr = myIMU.getVector(Adafruit_BNO055::VECTOR_GYROSCOPE);
         imu::Vector<3> mag = myIMU.getVector(Adafruit_BNO055::VECTOR_MAGNETOMETER);

i noticed that i have an effective 90Hz sample rate.
I saved acc.x, acc.y (...) in a CSV file stored in a micro SD card.

Then, i've post processed those data with this code:
https://github.com/daehwa/Gait-Tracking-With-x-IMU-Python/blob/master/README.md .
In script.py I adgjusted sample rate to 90, start time (to 0 ) & stop time(to 60, I collected 60 samples) but this script is not visualizing correctly the distance covered.
I'm thinking about that the issue is due to few samples collected (if you go to raw file in the repository you can see over than 45k samples, for example).

What you think about that? Could somebody help me?

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.