Open Roberta

The EV3 farm bot

Background

We try to showcase the capabilities of the Lab and the robots with interesting programs.

One hopes that, in the future, solar powered robots will manage our farms and feed the world’s population. Let’s program our EV3 on Open Roberta to take that first step.

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

Task

Setup a background representing a fruit orchard (see an example here).

You can add coloured markers on each of the grid crossroads so the robot may know where it can turn 90 degrees.

Let the different colors represent different fruits:

  • Blue for blueberry
  • Red for strawberry
  • Green for kiwi fruit
  • Yellow for banana

Now the EV3 follows the black lines and while driving along counts the number of fruits of each category. At the end it should produce an output with a count of each of the fruit types.

Deliverables

Complete the task by providing the program with explanations and your background image.

Task tags

  • nepo
  • expert
  • creative

Students who completed this task

RichardB, Blippy, RohanC

Task type

  • code Code
close

2019