Exercice : Mini Challenge

Mini Challenge 1 : Square Box Challenge

Using Gyro Sensor, you can program your robot to make more accurate turns. This means you can reduce the amount of error even if you make the robot turn multiple times in a single run.

Program and make the robot complete a full lap around a square box, using the Gyro Sensor to control all of its turns.

Question

Program the robot to complete a full lap around a square box, using the Gyro Sensor to control all of its turns.

Indice

Hint 1: Find the width and length of the box to help with straight movements.

Indice

Hint 2: Turn at the corners of the box.

Indice

Hint 3: Pause for a couple of seconds after commands for consistency.