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.
Read now
Unlock full access