IEEE Xplore Abstract - Learning Finite-State Machine Controllers From Motion Capture Data