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)

Task analysis

Let’s talk a bit first about what we have to work with. We have a mobile base with a six degree-of-freedom arm attached to it. We are fortunate that TinMan's robot arm is constructed out of servo motors. We can tell where all of the parts of the arm are if we know where the servos are commanded to be, since we are commanding the angles of the servos. We can use forward kinematics, which is to sum up all the angles and levers of the arm in order to deduce where the hand is located at. We can use this hand location as our desired state – our reward criteria. We will give the robot points, or rewards, based on how close the hand is to the desired position and orientation we want. We want the robot to figure out what it takes to get to that position. We need to give the robot a way to test out different theories, or actions that will result in the...