get arm position in teaching mode