Skip to Content
ROS Programming: Building Powerful Robots
book

ROS Programming: Building Powerful Robots

by Anil Mahtani, Luis Sanchez, Enrique Fernandez, Aaron Martinez, Lentin Joseph
March 2018
Intermediate to advanced content levelIntermediate to advanced
1396 pages
42h 14m
English
Packt Publishing
Content preview from ROS Programming: Building Powerful Robots

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 ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Programming Robots with ROS

Programming Robots with ROS

Morgan Quigley, Brian Gerkey, William D. Smart
Machine Learning Design Patterns

Machine Learning Design Patterns

Valliappa Lakshmanan, Sara Robinson, Michael Munn

Publisher Resources

ISBN: 9781788627436Supplemental Content