Towards an Adaptive Robot for Sports and Rehabilitation Coaching