create a last position variable for the robot