Classify Upper Limb Motor Function in Human Robot Interaction