Arm motion controller