Book Image

ROS Robotics Projects

Book Image

ROS Robotics Projects

Overview of this book

Robot Operating System is one of the most widely used software frameworks for robotic research and for companies to model, simulate, and prototype robots. Applying your knowledge of ROS to actual robotics is much more difficult than people realize, but this title will give you what you need to create your own robotics in no time! This book is packed with over 14 ROS robotics projects that can be prototyped without requiring a lot of hardware. The book starts with an introduction of ROS and its installation procedure. After discussing the basics, you’ll be taken through great projects, such as building a self-driving car, an autonomous mobile robot, and image recognition using deep learning and ROS. You can find ROS robotics applications for beginner, intermediate, and expert levels inside! This book will be the perfect companion for a robotics enthusiast who really wants to do something big in the field.
Table of Contents (20 chapters)
ROS Robotics Projects
Credits
About the Author
Acknowledgements
About the Reviewer
www.PacktPub.com
Customer Feedback
Preface

Web-based speech-controlled robot


The next project we will discuss is to control a robot from a web browser using speech commands. It enables teleoperation of the robot using a button interface and speech. If we are not interested in moving the robot with voice commands, we can try moving the robot using buttons.

We can assign a set of voice commands in this application, and when a voice command is given, the robot will perform the corresponding task.

In this application, we are using basic commands such as move forward, move backward, turn left, and turn right to move the mobile robot. We will demo this application using the TurtleBot simulation.

Prerequisites

We need a few things installed for the proper working of this application.

We need to install the apache2 webserver to run this application. We can install it using the following command:

$ sudo apt-get install apache2

This project is actually adapted from a project from roswebtools. The current project can send the command velocity to...