Teaching successive positions by tracking the position of a joystick or handle to control the positioning servo of the tool head, master-slave control