Search icon
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Building Smart LEGO MINDSTORMS EV3 Robots

You're reading from  Building Smart LEGO MINDSTORMS EV3 Robots

Product type Book
Published in Apr 2018
Publisher Packt
ISBN-13 9781788471565
Pages 258 pages
Edition 1st Edition
Languages
Concepts
Author (1):
Kyle Markland Kyle Markland
Profile icon Kyle Markland

Programming

Now, we will write some code that will bring our smart robot to life. We will make two programs; the first is an RC program, and the second is an autonomous exploration program.

RC

This program allows the user to control the Omnilander using the EV3 infrared remote. The infrared sensor receives the commands sent by the remote. The robot is programmed to respond to each of the remote commands. Using the remote, the user can drive the Omnilander around and deploy the climbing mechanism to scale a vertical obstacle:

Although the user controls the robot, some of the robot's processes are still automated, so this can still be considered a smart program.

This is a simple tank-control RC program, which can be adapted...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime}