Rescuer Learn 3: Following a Wall
6. Test it Out Again
- Can you now see the robot adjusting its orientation with every step that it takes?
- Does it now maintain a constant distance from the box as it drives around it?
- 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_cm, left_turn_drive_cm & large_distance_cm in the Variable Initialization cell and re-running the Main Code cell.