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

Running an environment

The goal of the rest of the chapter is to apply what you have learned about RL in general problems to a specific domain such as robotics. To easily transfer that knowledge, we will reproduce the simple cart pole example, modeling it as a robot in Gazebo. The code samples are in the cart-pole_ROS folder of the code repository of this chapter. Move to that location on your laptop:

$ cd ~/catkin_ws/src/Chapter12_OpenAI_Gym/cart-pole_ROS

Inside, you will find two ROS packages, each one giving its name to the folder:

  • cartpole_description contains the Gazebo simulation framework for the cart pole using ROS. The structure of this package is very similar to the one described in Chapter 5, Simulating Robot Behavior with Gazebo ...
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