A pelvic kinematic approach for calculating hip angles for active hip disarticulation prosthesis control