We are developing a wearable that will use 2 BNO055 sensors mounted on the body (i.e thigh and calf) and we need to determine the angle between the two parts as the user goes through a series of movements. Is this possible and if so, can someone provide us with example code or at least a starting point on how to do the calculations.
We need to consider the magnetic disturbence here.
Different position might have different magnetic disturbence existing. so the BNO055 output will be affected since the heading value was impacted by the magnetic sensor data as well.
Better to take both game rotation and rotation output and calculate the angles to see if there is any deviation here which caused by magnetic sensor.