码迷,mamicode.com
首页 > 系统相关 > 详细

Issues in using gym-gazebo in Ubuntu 14.04

时间:2018-01-15 11:13:48      阅读:321      评论:0      收藏:0      [点我收藏+]

标签:user   errors   ide   set   UI   not   iss   color   view   

Overview

OpenAI-gym (Git Repo) provides a great toolkit and a playgroud for research on 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 and 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 is done before automatic installation)
      • sudo apt-get install python-pip python-dev
      • sudo apt-get upgrade python-pip python-dev
      • sudo pip install --upgrade pip
  • Installation bash
    • in the bash file setup_indigo.bash, I have to modify something like below to avoid the errors
      • after "# Create catkin_wsmodify", add "cd ~"
      • ‘vcs import < ../../gazebo.repos‘ 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

标签:user   errors   ide   set   UI   not   iss   color   view   

原文地址:https://www.cnblogs.com/casperwin/p/8286721.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!