diff --git a/Follow_the_line/Programs /Follow_line_color_recognition.py b/Follow_the_line/Programs /Follow_line_color_recognition.py index bf6aff8..1aba557 100644 --- a/Follow_the_line/Programs /Follow_line_color_recognition.py +++ b/Follow_the_line/Programs /Follow_line_color_recognition.py @@ -43,7 +43,7 @@ while True: m_left.on(SpeedPercent(0)) m_right.on(SpeedPercent(speed_percent_alone)) sleep(0.1) - elif cs_left.color == line_color and cs_right.color == line_color : #if both coloursensors detect the defined line-color, the robot stops because it has no direction + elif cs_left.color == line_color and cs_right.color == line_color : #if both colour sensors detect the defined line-color, the robot stops because it has no direction m_right.stop() m_left.stop() leds.set_color("LEFT", "RED") # both leds light red