Skip to Content
Hands-On ROS for Robotics Programming
book

Hands-On ROS for Robotics Programming

by Bernardo Ronquillo Japón
February 2020
Intermediate to advanced
432 pages
10h 50m
English
Packt Publishing
Content preview from Hands-On ROS for Robotics Programming

Scenario 2 – travel to a target location avoiding the obstacles

The procedure to start the training is similar to scenario 1:

  1. We only need to change the name of the files and use the relevant ones:
T1 $ roslaunch gopigo3_gazebo gopigo3_stage_2.launchT2 $ conda activate tensorflowT2 (tensorflow) $ roslaunch gopigo3_dqn gopigo3_dqn_stage_2.launch
  1. If you want to see graphically how the GoPiGo3 learning process is performing, execute the result_graph.launch file:
T3 $ roslaunch gopigo3_dqn result_graph.launch

The following screenshot shows all the content you should see on the screen of your laptop:

The red graph shows the Total reward obtained ...

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

Mastering ROS for Robotics Programming

Mastering ROS for Robotics Programming

Lentin Joseph
ROS Robotics By Example - Second Edition

ROS Robotics By Example - Second Edition

Lentin Joseph, Carol Fairchild, Dr. Thomas L. Harman

Publisher Resources

ISBN: 9781838551308Supplemental Content