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 gym in development mode (optional)

This allows you to have the source code of OpenAI Gym in your working directory, change the files of the package, and see their effects instantly, without needing to reinstall the gym module:

(gym) $ conda deactivate$ cd ~/catkin_ws$ git clone https://github.com/openai/gym$ cd gym$ pip install --user -e . 

The -e option allows this kind of installation, and it is suitable to be used as developer mode. The --user option performs the installation locally to the user at the ~/.local/lib/python2.7/site-packages location.

To keep the environment clean, remove the package installation, keeping only the gym Python package in the Gym virtual environment:

$ rm -rf gym.egg-info$ ls ~/.local/lib/python2.7/site-packages ...
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