Integrating PyAIML into ROS

In this section, we are going to develop ROS Python nodes which can handle AIML files. We are using the Python code that we developed in the preceding section. The ROS version we are going to use is Indigo and the Ubuntu version we will use is 14.04.2. We already discussed the interfacing of speech recognition and speech synthesis in ROS and also discussed the Python code to interface AIML files. In this section, we will make a package in ROS to handle AIML files. Currently, there are no active packages in ROS repositories that can handle AIML files. We will build our own package using the code that we develop.

Create a ROS package using the following dependencies. Here the sound_play package is used for speech synthesis: ...

Get Learning Robotics Using Python now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.