Application of an IMU simulator in human motion analysis