zoukankan      html  css  js  c++  java
  • Issues in using gym-gazebo in Ubuntu 14.04

    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

  • 相关阅读:
    闭包跟装饰器
    几个常见的面试题目
    函数的进阶
    python的生成器和迭代器
    Python的数据类型
    “随手记”开发记录day09
    “随手记”开发记录day08
    “随手记”开发记录day07
    “随手记”开发记录day06
    “随手记”开发记录day05
  • 原文地址:https://www.cnblogs.com/casperwin/p/8286721.html
Copyright © 2011-2022 走看看