Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases now! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Building Smart LEGO MINDSTORMS EV3 Robots

You're reading from   Building Smart LEGO MINDSTORMS EV3 Robots Leverage the LEGO MINDSTORMS EV3 platform to build and program intelligent robots

Arrow left icon
Product type Paperback
Published in Apr 2018
Publisher Packt
ISBN-13 9781788471565
Length 258 pages
Edition 1st Edition
Languages
Concepts
Arrow right icon
Author (1):
Arrow left icon
Kyle Markland Kyle Markland
Author Profile Icon Kyle Markland
Kyle Markland
Arrow right icon
View More author details
Toc

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 $19.99/month. Cancel anytime