/gym_projectile

A simple implementation of an OpenAI Gym environment, which simulates a projectile trajectory

Primary LanguagePythonMIT LicenseMIT

gym_projectile

A simple implementation of an OpenAI Gym environment, to show a simulation of a projectile trajectory.

Assumes: level ground, no atmosphere

Usage

Clone the repo and connect into its top level directory.

Then to run the gym example:

pip install -r requirements.txt
pip install -e gym-projectile

python example.py

Then to run Ray RLlib to train a policy based on this environment:

python train.py

Kudos

h/t: