MPU6050/MPU9250 - Motion Capture

I am currently working on building a motion capture suit using MPU sensors and ESP32. In our prototype, we are trying to first capture the right hand. We currently have 3 MPU9250 sensors whose magnetometers don't work. So we are using the accelorometer and gyroscope values. Our esp code parses the values, calibrates them and then sends them to the PC over Bluetooth in quaternion form. Then we map it onto Blender.

So far, the Blender model is responsive to sensor movements. But the arm is moving very weirdly. We think it might be due to axes of the sensor being different from the blender.

  1. Has anyone ever tried something like this or worked with the axes kf the sensors before?
  2. How should we position the sensor in our arm (hand, forearm and upperarm) like should the x axis shown in the sensors be towards our fingers?
  3. Would it be better if we switched to MPU6060?

You use we a lot, is this a school project?

MPU6050 is obsolete and there's a good chance that your "9050s" are actually 6050s in a different package. That happens a lot.

for a similar project used a lsm9ds1 9-axis iNEMO inertial module (IMU) sampling binary data every 20mSec into double buffers -while one buffer is filling transmitting other buffer over BLE

what is your sampling rate? how do you buffer the data for transmission?

How did you verify that the resulting quaternion represents the correct sensor orientation?

A college project unfortunately