Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying ROS Robotics Projects
  • Table Of Contents Toc
  • Feedback & Rating feedback
ROS Robotics Projects

ROS Robotics Projects

By : Lentin Joseph
4.1 (11)
close
close
ROS Robotics Projects

ROS Robotics Projects

4.1 (11)
By: Lentin Joseph

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 (13 chapters)
close
close

Running a speech-controlled robot application

To run the application, you have to copy the chapter_12_codes/ros_web_ws/speech_commands folder to /var/www/html. If you are in the ros_web_ws folder in Terminal, you can use the following command to do this:

$ sudo cp -r speech_commands /var/www/html

Now run the following ROS launch files to start the TurtleBot simulation, rosbridge, and tf2_republisher nodes:

$ roslaunch turtlebot_gazebo turtlebot_world.launch

Launch the rosbridge server:

$ roslaunch rosbridge_server rosbridge_websocket.launch

Now launch the tf2_web_republisher node using the following command:

$ rosun tf2_web_republisher tf2_web_republisher

Okay, you are done with launching all the ROS nodes. Now, let's open Chrome and enter the following address:

localhost/speech_commands/speechcommands.html

If everything works fine, you will get a window like this:

Running a speech-controlled robot application

Figure 9: Speech controller Robot App screen

Here, find the Robot URL box, which has to be set to ws://localhost:9090, and...

Unlock full access

Continue reading for free

A Packt free trial gives you instant online access to our library of over 7000 practical eBooks and videos, constantly updated with the latest in tech

Create a Note

Modal Close icon
You need to login to use this feature.
notes
bookmark search playlist download font-size

Change the font size

margin-width

Change margin width

day-mode

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Delete Bookmark

Modal Close icon
Are you sure you want to delete it?
Cancel
Yes, Delete

Delete Note

Modal Close icon
Are you sure you want to delete it?
Cancel
Yes, Delete

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY