Exercice : Mini Challenge
Mini Challenge 1: Vacuum
Question
Program the robot to touch all four walls of a room, using its Touch Sensor to know when it has reached each one.
Indice
Hint 1: Change to Make sure the Touch Sensor is positioned so it can detect when the robot reaches a wall.
Indice
Hint 2: The room is rectangular, so each wall is a 90-degree turn from the last.
Indice
Hint 3: Some fine tuning may help, such as slowing movement speeds, pausing after a turn, or backing away from a wall before turning.