Rescuer Learn 3: Following a Wall

6. Test it Out Again

      1. Can you now see the robot adjusting its orientation with every step that it takes?
      2. Does it now maintain a constant distance from the box as it drives around it?
      3. If not, where is it going wrong and in what way? Can you see why this might be happening?

Try experimenting with different values for the global variables sampling_distance_cmleft_turn_drive_cm & large_distance_cm in the Variable Initialization cell and re-running the Main Code cell.