Example code for robot plateau problem