Book Image

Artificial Intelligence for Robotics

By : Francis X. Govers
Book Image

Artificial Intelligence for Robotics

By: Francis X. Govers

Overview of this book

Artificial Intelligence for Robotics starts with an introduction to Robot Operating Systems (ROS), Python, robotic fundamentals, and the software and tools that are required to start out with robotics. You will learn robotics concepts that will be useful for making decisions, along with basic navigation skills. As you make your way through the chapters, you will learn about object recognition and genetic algorithms, which will teach your robot to identify and pick up an irregular object. With plenty of use cases throughout, you will explore natural language processing (NLP) and machine learning techniques to further enhance your robot. In the concluding chapters, you will learn about path planning and goal-oriented programming, which will help your robot prioritize tasks. By the end of this book, you will have learned to give your robot an artificial personality using simulated intelligence.
Table of Contents (13 chapters)

Picking up the Toys

Our task in this chapter is one of the most daunting in the book. We are going to teach our robot, TinMan, to pick up a variety of toys with its robot arm. As shown in the illustrations, we are on steps 6 and 7 of our storyboard – positioning the arm and picking up the toy. We want to teach the robot how to perform this task, or we might say give the robot the tools and methods to do the task and then let it teach itself. How are we going to do this?

How would you teach a child to pick up toys from his or her room? You would use either the offer of a reward, or the threat of punishment. This is another way of saying you would use positive and negative reinforcement to get the behavior you want. This is the approach we will use – reinforcement learning. We will reward good behaviors by giving the robot points, and punish bad or useless behaviors...