Book Image

Artificial Vision and Language Processing for Robotics

By : Álvaro Morena Alberola, Gonzalo Molina Gallego, Unai Garay Maestre
Book Image

Artificial Vision and Language Processing for Robotics

By: Álvaro Morena Alberola, Gonzalo Molina Gallego, Unai Garay Maestre

Overview of this book

Artificial Vision and Language Processing for Robotics begins by discussing the theory behind robots. You'll compare different methods used to work with robots and explore computer vision, its algorithms, and limits. You'll then learn how to control the robot with natural language processing commands. You'll study Word2Vec and GloVe embedding techniques, non-numeric data, recurrent neural network (RNNs), and their advanced models. You'll create a simple Word2Vec model with Keras, as well as build a convolutional neural network (CNN) and improve it with data augmentation and transfer learning. You'll study the ROS and build a conversational agent to manage your robot. You'll also integrate your agent with the ROS and convert an image to text and text to speech. You'll learn to build an object recognition system using a video. By the end of this book, you'll have the skills you need to build a functional application that can integrate with a ROS to extract useful information about your environment.
Table of Contents (12 chapters)
Artificial Vision and Language Processing for Robotics
Preface

Catkin Workspaces and Packages


This is the last step before coding your first application and program for robots. You have to set up your working environment. To do this, you are going to learn what catkin workspaces and packages are and how to work with them.

A catkin workspace is a ROS directory where catkin packages can be created, compiled, and run. A catkin package is a container for creating ROS nodes and applications. Each of these packages work as a single project that can contain multiple nodes. It is important to know that the ROS code inside catkin packages can only be Python or C++.

Now, let's see how to create the catkin workspace:

Note

Execute these commands in the same terminal window.

By following these simple steps, you will have your catkin workspace ready to work with. But, when working on it, you should always remember to enter this command first:

source devel/setup.bash

This lets ROS know that there can be ROS executables in the created catkin workspace.

If you have successfully...