Single thread for robot