Angles and Patterns

The Driving Base uses motor encoders to make turns.

engage-1-5

This works fine but each time the factory floor gets cleaned, the wheels of the Driving Base slip, which makes it lose its way. Using a Gyro Sensor can help the Driving Base determine its orientation to keep it on track.

In which situations would it be useful to detect changes in orientation so that a robot can navigate?

Build this extension.

build-1-5

The Gyro Sensor extension can be used to navigate along a carefully planned path accurately. Build it onto the Driving Base.

Try these programming stacks one after the other.

EV3 Classroom-Programs 1-5-program en-us
MCR-LV-1-5-Angles-and-Patterns-Cover

What do you see?

How can My Blocks be used to organize and reuse code?

Your turn!

explain-1-5

Use blocks from the programming stacks that are already on the Programming Canvas to create a program that turns the Driving Base 90 degrees, drives forward, and finally drives in the specified pattern.

It’s time for a challenge!

elaborate-1-5

Use the Gyro Sensor and My Blocks to program the Driving Base to drive in a square three times and then drive in a triangle.

How did you do?

evaluate

What did you do well? Is there anything you could’ve done better?

Cool! Your programs are well organized!