Skip to Content
Building Smart LEGO MINDSTORMS EV3 Robots
book

Building Smart LEGO MINDSTORMS EV3 Robots

by Kyle Markland
April 2018
Beginner to intermediate
258 pages
6h 10m
English
Packt Publishing
Content preview from Building Smart LEGO MINDSTORMS EV3 Robots

Following the beacon

The robot needs to steer itself while it follows the beacon. IR 1 will read the heading of the nearby beacon, and the robot will use the heading value to adjust its steering to keep itself on track with the beacon. IR 1 will also measure the distance to the beacon so that it can slow down when the beacon gets closer.

Add another IR sensor block and set its mode to Measure | Beacon. This time, make sure that the sensor port is set to 1. We will be using the first two outputs of this block: heading and proximity.

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Build and Program Your Own LEGO Mindstorms EV3 Robots

Build and Program Your Own LEGO Mindstorms EV3 Robots

Marziah Karch

Publisher Resources

ISBN: 9781788471565Supplemental Content