Open Roberta

Show Color and Loop driving

Background

Simulate with EV3 a color detector that detects all colors on a distance of 60 cm.

This is a NEPO task, make sure to read the info.

Task

Write a program for EV3, where the robot in simulation will just drive straight ahead and writes on the display the colors, which the colors sensor identifies. The Robot should only be using one "drive" block with distance and only one "repeat" block. Enter a distance of 20 cm in the "drive" block. But the robot should drive 60 cm, for this you have to use a "repeat" block, the block should execute the "drive" block 3 times.

Deliverables

Complete the task by providing the program with explanations and a short video of the running program.

Task tags

  • nepo
  • novice

Students who completed this task

RichardB, kiminonawa, Shrey_vanja, Sanjeev

Task type

  • code Code

Level

Beginner
close

2019