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! 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
Newsletter Hub
Free Learning
Arrow right icon
timer SALE ENDS IN
0 Days
:
00 Hours
:
00 Minutes
:
00 Seconds
Arrow up icon
GO TO TOP
Learn Robotics Programming

You're reading from   Learn Robotics Programming Build and control cutting-edge AI robots with Raspberry Pi and Python

Arrow left icon
Product type Paperback
Published in Dec 2025
Publisher Packt
ISBN-13 9781803246987
Length 566 pages
Edition 3rd Edition
Languages
Concepts
Arrow right icon
Author (1):
Arrow left icon
Danny Staple Danny Staple
Author Profile Icon Danny Staple
Danny Staple
Arrow right icon
View More author details
Toc

Table of Contents (9) Chapters Close

Learn Robotics Programming, Third Edition: Build and control cutting-edge AI robots with Raspberry Pi and Python
1 Introduction to Robotics FREE CHAPTER 2 Exploring Robot Building Blocks – Code and Electronics 3 Preparing a Headless Raspberry Pi for a Robot 4 Protecting Robot Code with Git 5 Building Robot Basics – Wheels, Power, and Wiring 6 Drive and Turn – Moving Motors with MQTT and Python 7 Driving the Robot with a Phone and Python 8 Programming Distance Sensors with Python

What does the word robot mean?

This word robot comes from science fiction and is derived from the Czech word for slave. Robot was first used in the 1921 Karel Capek play, Rossum's Universal Robots. The science fiction author Isaac Asimov coined the word robotics as he explored intelligent robot behavior.In modern terms, a robot is a machine that makes autonomous decisions based on input from sensors. A software agent is a program that automatically processes input and produces output. A system is autonomous when it doesn’t need to be guided or driven by a human to perform a task.Perhaps a robot is best described as an autonomous software agent with sensors and moving outputs, or it could be described as an electromechanical platform with software running on it. Either way, a robot requires electronics, mechanical parts, and code. Let’s have a look at some robots:

Figure 1.1 - Science fiction and real-world robots

The preceding picture shows science fiction and real-world robots. Images used are my own or from the public domain OpenClipArt library.The word robot conjures up images of fantastic sci-fi creations like those on the left of Figure 1.1, devices with great strength and intelligence. These often follow the human body plan, making them an android, a human-like robot. They're often given a personality and behave a little like a person or a pet.The right of Figure 1.1 shows real robots, in our homes and industries. Most do not stand on two legs, or indeed have any legs at all. Some are on wheels, and some are not mobile but still have moving parts and sensors.Robots such as modern washing machines, autonomous vacuum cleaners, and air sampling fans have infiltrated our homes and are part of everyday life. They aren’t threatening and have become just another machine around us. The 3D printer, robot arm, and learning toys are a bit more exciting, though.A robot can be simplified and deconstructed, as shown in the following diagram:

Figure 1.2 A simplified robot

At their core, robots can all be simplified down to:

  • inputs to sense with such as a distance sensor.
  • a controller to think, running code and making decisions.
  • outputs to act on the environment such as a motor.

When outputs change the environment, this will form a feedback loop, going around to the sense stage again reflecting the consequences of the act stage.Now, you’ve got an idea of the basic parts of a robot. Let’s use this as a way to look at the real robots in the next upcoming section.

Visually different images
CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
Learn Robotics Programming
You have been reading a chapter from
Learn Robotics Programming - Third Edition
Published in: Dec 2025
Publisher: Packt
ISBN-13: 9781803246987
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
Modal Close icon
Modal Close icon