sending the head position to the motors