Reinforcement Learning - norlab-ulaval/SNOW-sim_internship_H22 GitHub Wiki


SSIM-Sim (Youtrack)  •  SNOW (WebSite)  •  isabelleysseric (Docker Hub)  •  SNOW-sim (GitHub)  •  Wiki SNOW-sim (Wiki)


Hello, during my research on simulators I found some articles and books that helped me in my work. I share my sources with you in the hope that it helps you too. If you have other interesting resources to share on the subject, do not hesitate.

And below you will find a section for troubleshooting with the installation of Gym-Ignition.



Figure: PacMan game and Reinforcement Learning problem



Articles on RL

*RL: Reinforcement Learning



Articles on AV and SIM

*AV: Autonomous Vehicles
*SIM: Simulators



Articles on Physics



Figure: OpenAI environment



Environments OpenAi Gym:

OpenAI Gym is a toolkit for developing and compar ing reinforcement learning algorithms. Here, a list of environments based on OpenAi Gym for vehicles.

  • Gym-Ignition is designed for repeatable results and allows parallel or headless mode simulation while providing commo n rigid body dynami cs utilities.
  • Wheeled Mobile Robot Dynamics Engine (WMRDE) is for simulation and model ing of wheeled mobi le robots (WMR) and t racked vehicles.
  • Highway-Env : A collection of envi ronments for autonomous driving and tactical decision-making tasks.
  • Gym Electric Motor (GEM) is an OpenAI Gym environment for simulating electric motor control and RL experiments.
  • MuJoCo (Multi-Joint dynamics with Contact) is intended for cont inuous control tasks, performed in a multi-body dynami cs simulator with contact.
  • Gym-Chrono is a set of cont inuous state and action space DRL environm ents based on the C hrono physics eng ine.


Ressources


Web Sites:

OpenAI Gym ScenarIO and gym-ignition Gym-Ignition environment
Stable Baselines
OpenAI Spinning Up


Courses: Markov Decision Process (MDP) and Dynamic Programming

CS 188 | Introduction to Artificial Intelligence (Fall 2018, Week 4)


Courses: Reinforcement Learning

CS 188 | Introduction to Artificial Intelligence (Fall 2018, Week 5)


Courses: Deep Reinforcement Learning:

CS 285 | Deep Reinforcement Learning
OpenAI Spinning Up
Stable Baselines OpenAI Gym


Courses: Advanced Topics in Learning and Decision Making:

CS 294-190 | Advanced topics in learning and decision making (Fall 2021)


Courses: Advanced Robotics:

CS 287: Advanced Robotics by Pieter Abbeel, Fall 2019


Books:

Reinforcement Learning an Introduction (Bradford Books, 2018) by Richard S. Sutton and Barto





Figure: troubleshooting-it-admin from Tenor site



Troubleshooting with Gym-Ignition

During my project on reinforcement learning for the Gazebo Ignition simulator (Fortress version) I encountered some problems during the installation of Gym-Ignition and I found solutions. Some solutions solved my problems, some not completely, so if you have better solutions or other problems you solved that you would like to share, feel free to share them, I will add them to the list.

Thank you for your contribution and hoping that this section can help you too.



- PROBLEM 1 : ERROR: Could not find a version that satisfies the requirement …    

Problem:

ERROR: Could not find a version that satisfies the requirement gy_ignition_models (from versions: none)
ERROR: No matching distribution found for gy_ignition_models

Solution:

pip install gym-ignition-models

- PROBLEM 2 : WARNING: You are using pip version … ; however, version … is available.   

Problem:

WARNING: You are using pip version 21.3.1; however, version 22.0.4 is available.
You should consider upgrading via the '/home/norlab/PycharmProjects/Ignition/venv/bin/python -m pip install --upgrade pip' command.

Solution:

/home/norlab/PycharmProjects/Ignition/venv/bin/python -m pip install --upgrade pip  

- PROBLEM 3 : gym-ignition-models   

Solution:

# From PyPI (release versions)
pip3 install gym-ignition-models

# From PyPI (pre-release versions)
pip3 install --pre gym-ignition-models

# From the repository
pip3 install git+https://github.com/robotology/gym-ignition-models.git

- PROBLEM 4 : E: Unable to locate package colcon    

Problem:

sudo apt-get install colcon
E: Unable to locate package colcon

Solution:

sudo apt install python3-colcon-common-extensions  

- PROBLEM 5 : ImportError: cannot import name 'gazebo' from partially initialized module 'scenario'      

Problem:

from scenario import gazebo as scenario_gazebo
ImportError: cannot import name 'gazebo' from partially initialized module 'scenario' (most likely due to a circular import) (/home/norlab/PycharmProjects/Ignition/scenario.py)

Solution: I don't have the solution yet


- PROBLEM 6 : QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime'    

Link

Problem:

QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime'

Solution:

export XDG_RUNTIME_DIR=/some/directory/you/specify 
export RUNLEVEL=3
source .bashrc 

⚠️ **GitHub.com Fallback** ⚠️