Openai ROS 환경셋팅 - wsblues/Reinforcement-Learning GitHub Wiki

Openai ROS in Local PC (not RDS)

Site for openai ros : Here
Site for setting in Local Pc : Here

  1. Download openai_ros pkgs
cd ~/openai_ws/src
git clone https://bitbucket.org/theconstructcore/openai_ros.git
cd ~/openai_ws
catkin_make
source devel/setup.bash
rosdep install openai_ros   
  1. Download openai_examples_projects pkgs
cd ~/openai_ws/src
git clone https://bitbucket.org/theconstructcore/openai_examples_projects.git
cd ~/openai_ws
catkin_make
source devel/setup.bash
  1. Download Turtlebot2Maze pkgs, and set branch.
cd ~/sim_ws/src
git clone https://bitbucket.org/theconstructcore/turtlebot.git
cd ~/sim_ws/src/turtle
git fetch && git checkout kinetic
cd ~/sim_ws
catkin_make
source devel/setup.bash
  1. Download open_ai_gym_construct pkgs
cd ~/sim_ws/src
git clone https://bitbucket.org/theconstructcore/open_ai_gym_construct.git
cd ~/sim_ws
catkin_make
source devel/setup.bash
  1. Launch gym_construct
sim_ws$ roslaunch gym_construct main.launch 
  1. Launch rl algorithm
openai_ws$ roslaunch openai_examples_projects start_training.launch