Angles and Patterns

The Driving Base uses motor encoders to make turns.

engage-1-5

This works fine but each time the factory floor is 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 accurately navigate along a carefully planned path. Build it onto the Driving Base.

Try these programming stacks one after the other.

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

What do you see?

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

It’s 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 forwards and then 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 that you could have done better?

Brilliant! Your programs are well organised!