首页 > 系统服务 > 详细

Issues in using gym-gazebo in Ubuntu 14.04

时间:2018-01-15 10:18:15      阅读:306      评论:0      收藏:0      [点我收藏+]

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

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

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!