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

Installing OpenAI ROS

So that the code can run inside ROS, you have to install OpenAI ROS, which is built on top of OpenAI Gym. Execute the following command to clone the contributed ROS package and start the setup for ROS:

$ cd ~/catkin_ws/src$ git clone https://bitbucket.org/theconstructcore/openai_ros.git$ cd ~/ros_ws$ catkin_make$ source devel/setup.bash$ rosdep install openai_ros

Be aware that we had to install the ROS package from the source because the compiled binary is not available in Ubuntu. In particular, it is worth noting that the rosdep install openai_ros command does the equivalent of the general sudo apt install <package> command of Ubuntu; that is, every time you install a new component, it automatically includes the required ...

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