Skip to Main Content
The LEGO MINDSTORMS EV3 Laboratory
book

The LEGO MINDSTORMS EV3 Laboratory

by Daniele Benedettelli
October 2013
Intermediate to advanced content levelIntermediate to advanced
432 pages
11h 44m
English
No Starch Press
Content preview from The LEGO MINDSTORMS EV3 Laboratory

Chapter 3. programming

To bring a robot to life, you need to tell it what to do by writing a computer program for it. A program is a step-by-step list of basic instructions designed to produce a result. These instructions are written in a programming language, an artificial language that a computer can understand.

For example, the instruction “prepare some tea” on its own would not be sufficient for a robotic butler. This would be considered a high-level instruction for that robot, meaning that it would need to be broken down into a sequence of lower-level instructions to actually control the robot.

The high-level instruction “prepare some tea” can be broken down into a list of well-defined, discrete, elemental steps like these:

  • Pick up a pot.

  • Fill ...

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

Building Smart LEGO MINDSTORMS EV3 Robots

Building Smart LEGO MINDSTORMS EV3 Robots

Kyle Markland

Publisher Resources

ISBN: 9781457185229Errata