Fix SampleRobot end_coords setting

Fix SampleRobot end_coords setting