Book description
Gain experience of building a next-generation collaboration robot
Key Features
- Get up and running with the fundamentals of robotic programming
- Program a robot using Python and the Raspberry Pi 3
- Learn to build a smart robot with interactive and AI-enabled behaviors
Book Description
We live in an age where the most difficult human tasks are now automated. Smart and intelligent robots, which will perform different tasks precisely and efficiently, are the requirement of the hour. A combination of Raspberry Pi and Python works perfectly when making these kinds of robots.
Learn Robotics Programming starts by introducing you to the basic structure of a robot, along with how to plan, build, and program it. As you make your way through the book, you will gradually progress to adding different outputs and sensors, learning new building skills, and writing code for interesting behaviors with sensors. You'll also be able to update your robot, and set up web, phone, and Wi-Fi connectivity in order to control it.
By the end of the book, you will have built a clever robot that can perform basic artificial intelligence (AI) operations.
What you will learn
- Configure a Raspberry Pi for use in a robot
- Interface motors and sensors with a Raspberry Pi
- Implement code to make interesting and intelligent robot behaviors
- Understand the first steps in AI behavior such as speech recognition visual processing
- Control AI robots using Wi-Fi
- Plan the budget for requirements of robots while choosing parts
Who this book is for
Learn Robotics Programming is for programmers, developers, and enthusiasts interested in robotics and developing a fully functional robot. No major experience required just some programming knowledge would be sufficient.
Table of contents
- Title Page
- Copyright and Credits
- Dedication
- Packt Upsell
- Contributors
- Preface
- Introduction to Robotics
- Exploring Robot Building Blocks - Code and Electronics
- Introducing the Raspberry Pi - Starting with Raspbian
- Preparing a Raspberry Pi for a Robot - Headless by Default
- Backing Up the Code with Git and SD Card Copies
- Building Robot Basics - Wheels, Power, and Wiring
- Drive and Turn - Moving Motors with Python
- Programming Line-Following Sensors Using Python
- Programming RGB Strips in Python
- Using Python to Control Servo Motors
- Programming Distance Sensors with Python
- Programming Encoders with Python
-
Robot Vision - Using a Pi Camera and OpenCV
- Technical requirements
- Setting up the Raspberry Pi Camera
- Setting up OpenCV
- Colors, masking, and filtering – chasing colored objects
- Detecting faces with Haar cascades
- Summary
- Questions
- Further reading
- Voice Communication with a Robot Using Mycroft
- Programming a Gamepad on Raspberry Pi with Python
- Taking Your Robot Programming Skills Further
- Planning Your Next Robot Project - Putting It All Together
- Appendix
-
Assessments
- Chapter 1, Introduction to Robotics
- Chapter 2, Exploring Robot Building Blocks - Code and Electronics
- Chapter 3, Introducing the Raspberry Pi - Starting with Raspbian
- Chapter 4, Preparing a Raspberry Pi for a Robot - Headless by Default
- Chapter 5, Backing Up the Code with Git and SD Card Copies
- Chapter 6, Building Robot Basics - Wheels, Power, and Wiring
- Chapter 7, Drive and Turn - Moving Motors with Python
- Chapter 8, Programming Line-Following Sensors Using Python
- Chapter 9, Programming RGB Strips in Python
- Chapter 10, Using Python to Control Servo Motors
- Chapter 11, Programming Distance Sensors with Python
- Chapter 12, Programming Encoders with Python
- Chapter 13, Robot Vision - Using a Pi Camera and OpenCV
- Chapter 14, Voice Communication with a Robot Using Mycroft
- Chapter 15, Programming a Gamepad on Raspberry Pi with Python
- Other Books You May Enjoy
Product information
- Title: Learn Robotics Programming
- Author(s):
- Release date: November 2018
- Publisher(s): Packt Publishing
- ISBN: 9781789340747
You might also like
book
Learn Robotics Programming - Second Edition
Develop an extendable smart robot capable of performing a complex series of actions with Python and …
book
Hands-On Robotics Programming with C++
Enhance your programming skills to build exciting robotic projects Key Features Build an intelligent robot that …
book
Robot Operating System (ROS) for Absolute Beginners: Robotics Programming Made Easy
Learn how to get started with robotics programming using Robot Operation System (ROS). Targeted for absolute …
book
Robot Operating System (ROS) for Absolute Beginners: Robotics Programming Made Easy
Start programming your own robots using Robot Operation System (ROS). Targeted for absolute beginners in ROS, …