Overview
Openai-gym (Git Repo) provides a great toolkit and a playgroud for the in deep reinforcement learning. Furtherly, Gym-gazebo (Git Repo), based on Openai-gym, simplies Ros/gazebo user on transferring OpenAI tools into gazebo .
The following is a record when I implemented this package in my own PC, in particular how I dealt with the installation an D Complie issues.
Environment
- Ubuntu 14.04
- ROS Indigo
- Gazebo 7
- Pip 9.0.1
- TensorFlow
- Keras
Issues
- Dependencies
- pip 9.0.1 (make sure it was done before automatic installation)
- sudo apt-get i Nstall python-pip python-dev
- sudo apt-get upgrade python-pip python-dev
- sudo pip install--upgra De pip
- installation Bash
- in the bash file Setup_indigo.bash, I has to modify something like below to avoid the E Rrors
- after "# Create Catkin_ws Modify", add "CD ~"
- " vcs import <. /.. /gazebo.repos ' &NBSP; to vcs import <. /.. /gym-gazebo/gym_gazebo/envs/installation/gazebo.repos '
- right after it add a line: git clone https://github.com/ethz-asl/ Mav_comm.git
- Invalid tag:environment variable ' gym_gazebo_world_circuit2 ' is not set.
- Simply need to set according env variables
- CD gym-gazebo/gym-gazebo/env/installation && bash Turtlebot_setup.bash
- Keyerror: ' Ros_port_sim '
- Https://github.com/erlerobot/gym-gazebo/issues/59
- Export ros_port_sim=11311
Reference
Issues in using Gym-gazebo in Ubuntu 14.04