Exercice : Mini challenge

Mini Challenge 2: Forward to Stop Line

In addition to signs and lights, self-driving cars also need to obey pavement markings, like this stop line telling where to stop.

Modify your Color Sensor attachment, so that it faces downward.

Use the ressource Color Sensor Configuration (DOWN) attachement.

Question

Program your robot to drive forward until it reaches the line.

Indice

Hint 1: The program is very similar to the "ForwardRed" program.

Indice

Hint 2: Program the robot to move forward until it sees the line color.