Artificial Intelligence For Robotics
local graph
Artificial Intelligence For Robotics
Section titled “Artificial Intelligence For Robotics”chapter_01
Section titled “chapter_01”node-book_artificial-intelligence-for-robotics_chapter-01-the-foundation-of-robotics-and-artificial-intelligence — The Foundation of Robotics and Artificial Intelligence
chapter_02
Section titled “chapter_02”node-book_artificial-intelligence-for-robotics_chapter-02-setting-up-your-robot — Setting Up Your Robot
chapter_03
Section titled “chapter_03”node-book_artificial-intelligence-for-robotics_chapter-03-conceptualizing-the-practical-robot-design-process — Conceptualizing the Practical Robot Design Process
chapter_04
Section titled “chapter_04”node-book_artificial-intelligence-for-robotics_chapter-04-recognizing-objects-using-neural-networks-and-supervised-lea — Recognizing Objects Using Neural Networks and Supervised Learning
chapter_05
Section titled “chapter_05”node-book_artificial-intelligence-for-robotics_chapter-05-picking-up-and-putting-away-toys-using-reinforcement-learnin — Picking Up and Putting Away Toys using Reinforcement Learning and Genetic Algorithms
chapter_06
Section titled “chapter_06”node-book_artificial-intelligence-for-robotics_chapter-06-teaching-the-robot-to-listen — Teaching the Robot to Listen
chapter_07
Section titled “chapter_07”node-book_artificial-intelligence-for-robotics_chapter-07-teaching-the-robot-to-navigate-and-avoid-stairs — Teaching the Robot to Navigate and Avoid Stairs
chapter_08
Section titled “chapter_08”node-book_artificial-intelligence-for-robotics_chapter-08-putting-things-away — Putting Things Away
chapter_09
Section titled “chapter_09”node-book_artificial-intelligence-for-robotics_chapter-09-giving-the-robot-an-artificial-personality — Giving the Robot an Artificial Personality
chapter_10
Section titled “chapter_10”node-book_artificial-intelligence-for-robotics_chapter-10-conclusions-and-reflections — Conclusions and Reflections
Preface
Section titled “Preface”The definition of a robot is a machine that can do human-like tasks. In order to perform these tasks, a robot must be able to see, understand, and interact with the environment. AI is the quickest way to recognize objects and navigate. This book empowers you with the essential skills to efficiently operate your robots using AI techniques such as Convolutional Neural Networks (CNNs), computer vision, object recognition, genetic algorithms, and reinforcement learning.
So, who is writing this book? As you can see from my biography, I’ve been doing this for over 40 years, starting as a 12-year-old kid doing science fair projects, then as an Air Force enlisted person, an entry level engineer at NASA, and so on. I started doing AI in 1992 and specialized in machine decision making. Today, I design complete flying autonomous vehicles that weigh tens of thousands of pounds. I’m pleased to be putting some of that experience down on paper to share with you.
Why did I write this book? I felt that there was a gap in the available literature for someone coming up in the robotics and autonomy world who needs to move in capability from the hobbyist to the beginnings of industrial and commercial robotics. In doing this, I want to remove as many of what I perceive as barriers between you and what you want to accomplish as a next-level robotics explorer. I left out the equations, the strange jargon, and the mystery and replaced them with straightforward explanations about how to get what you want out of your robot. It is important to remember that my robot, Albert, is just a tool in this process. The objective of the book is not to design a singular robot, but rather to teach a set of skills that I think you need. The real question is where you go from here. Use this text as a springboard to continue to explore, experiment, and continue your education in robotics. From here you can read the works of the people who inspired and/or mentored me: Dr. Robin Murphy, Sebastian Thrun, Dr. Rodney Brooks, Bob Zubrin, Dr. Robert L. Forward, Isaac Asimov, Arthur C. Clarke, and many others.
Who this book is for
Section titled “Who this book is for”This book is for robotics engineers and enthusiasts who have already begun their journey of learning about robotics and wish to progress to a more advanced stage of capability by applying AI. It will be a useful reference for students and researchers looking for a practical guide to solving specific problems or approaching a difficult robot design. Basic programming skills in Python, a familiarity with electronics and wiring, and the ability to use a Linux-based command line interface (CLI) will be useful while reading this book.
What this book covers
Section titled “What this book covers”Chapter 1, The Foundation of Robotics and Artificial Intelligence, explains what we will cover in this book, standard robot parts, concepts of control, computing in real time, and the Observe, Orient, Decide, Act (OODA) concept for how robots make decisions.
Chapter 2, Setting Up Your Robot, introduces you to motors, control systems, how to divide the robot problem into parts using the Subsumption Architecture, and the Robotics Operating System 2 (ROS 2).
Chapter 3, Conceptualizing the Practical Robot Design Process, describes systems engineering techniques for robot design, use cases, and storyboards.
Chapter 4, Recognizing Objects Using Neural Networks and Supervised Learning, explains how you can use CNNs to train object recognition and segment objects from the background.
Chapter 5, Picking Up and Putting Away Toys using Reinforcement Learning and Genetic Algorithms, covers Q-learning and genetic algorithms, which are used to teach the robot arm to move efficiently.
Chapter 6, Teaching the Robot to Listen, shows you how you can add a digital assistant to your robot and create some custom controls for it, including telling knock-knock jokes.
Chapter 7, Teaching the Robot to Navigate and Avoid Stairs, outlines how you can use another CNN to teach the robot to navigate around a house and avoid obstacles.
Chapter 8, Putting Things Away, describes how we can finish the robot’s tasks, and how to find the toybox.
Chapter 9, Giving the Robot an Artificial Personality, explains the concepts and theory around simulating a personality in a robot for added interactions.
Chapter 10, Conclusions and Reflections, talks about robotics as a career, based on the author’s own 40-year career in robot design.
To get the most out of this book
Section titled “To get the most out of this book”You should have a good grasp of programming with Python version 3. We use ROS 2 as the control architecture for the robot. Programming skills in Python, familiarity with electronics, wiring, and single-board computers, the ability to use a Linux-based CLI, and knowledge of AI/ML concepts will be required while using this book. If you want to follow the robot’s construction, then basic hand tools (screwdrivers, wrenches, Allen keys, and a soldering iron) will be required. All the other installation instructions are provided in the appropriate chapters as the book progresses.
Conventions used
Section titled “Conventions used”There are a number of text conventions used throughout this book.
Code in text: Indicates code words in text, database table names, folder names, filenames, file extensions, pathnames, dummy URLs, user input, and Twitter handles. Here is an example: “We create a short Python program called downloadDataset.py.”
A block of code is set as follows:
from roboflow import Roboflowrf = Roboflow(api_key="*****************")project = rf.workspace("toys").project("toydetector")dataset = project.version(1).download("yolov8")Any command-line input or output is written as follows:
cd ~/ros2_ws/srcros2 pkg create –build-type ament-cmake ros_xarmcolcon buildBold: Indicates a new term, an important word, or words that you see onscreen. For instance, words in menus or dialog boxes appear in bold. Here is an example: “Use the Generate tab on Roboflow, then click on Add Augmentation Step to select the type of operation that will affect our images.”
Tips or important notes
Appear like this.
Source: