ascentai / flatlands-gym

An openAI gym driving simulator
MIT License
7 stars 0 forks source link

Flatlands Driving Simulator for OpenAI Gym

Ascent Robotics

Flatlands is a simple gym compatible simulator for a car driving around a track. It is tested with Python3, and Windows/ Ubuntu.

Automatic Installation

You can install flatlands from PyPi with:

pip install flatlands

Manual Installation

Usage

env = gym.make("Flatlands-v0")



For a more in depth example, see [demo_flatlands.py](demo_flatlands.py) which drives that car based on the steering angle compared to upcoming points.

The [Gym documentation](https://gym.openai.com/docs/#observations) explains more about interacting with an environment