the question I'm working on is the following: three IMU sensors have been placed on the lower limb, one of the hip, one on the thigh and one on the shank.
The IMU sensors collect acceleration data in x/y/z directions, and gyroscope data for the three axes.
I want to use this data to estimate joint angles: hip angle and knee angle.
Starting point will be to align the sensor coordinate systems. Assume two separate systems: to estimate the hip angle, work with sensor on the hip (1) and on the thigh (2). To estimate knee angle, work with data from sensor on the thigh (2) and the shank (3).
So, need to align (1) and (2), and (2) and (3).
However, struggling to work the rotation matrix. How to do this? Once rotation matrix calculated, then what are the next steps?