Using OpenAI "Continuous Deep Reinforcement Learning" for real-time trajectory generation and obstacle avoidance.
The code is heavily borrowed from OpenAI DDPG (link)
1- Install pybullet:
pip install pybullet
2- Install OpenAI baselines:
https://github.com/openai/baselines
For installing baselines you need to run:
pip install -e .
Note 1: OpenAI baselines will install gym which needs MuJoco license. We do not need MuJoco so just remove the words: "mujoco,robotics" from "setup.py" before running the above command.
Note 2: Atary module of gym cannot be installed on windows. So remove the word: "Atari" from "setup.py" before running it.
3- install pyquaternion:
pip install pyquaternion
4- Install MPI on your system and put its path in the PATH environmental variable.
Run RobotPath training:
python main.py