Book Image

Learning Robotics using Python

Book Image

Learning Robotics using Python

Overview of this book

Table of Contents (19 chapters)
Learning Robotics Using Python
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Chapter 9. Applying Artificial Intelligence to ChefBot Using Python

In the previous chapter, we have discussed and implemented speech recognition and speech synthesis using Python and ROS. In this chapter, we will discuss how to apply AI to ChefBot to communicate with people intelligently, like a human. Actually, these features are add-ons in ChefBot, which can increase human-robot interaction and make the robot resemble a human food supplier. In this chapter, we will mainly cover the following topics:

  • Block diagram of ChefBot's communication system

  • Introduction to AIML and PyAIML

  • Interfacing ChefBot's AI module to ROS

AI (Artificial Intelligence) can be defined as the intelligent behavior exhibited by computers or machines. Using AI, we can create a virtual intelligence in machines to perform a specific task like a human. In this chapter, we will use a simple method to apply AI to the robot. This intelligence will work using pattern matching and searching algorithms. The input-output dialog...