February 2020
Intermediate to advanced
432 pages
10h 50m
English
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 ...