flatlands-0.1.8
توضیحات
Flatlands simple on-track driving simulator with physics
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | flatlands-0.1.8 |
| نام | flatlands |
| نسخه کتابخانه | 0.1.8 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | AscentAI |
| ایمیل نویسنده | dev@ascent.ai |
| آدرس صفحه اصلی | https://github.com/ascentai/flatlands-gym |
| آدرس اینترنتی | https://pypi.org/project/flatlands/ |
| مجوز | MIT |
# 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.
- To use it, clone this repo to your computer with:
```shell-script
git clone git@github.com:ascentai/flatlands-gym.git && cd flatlands-gym
```
- Then install the dependencies with:
```shell-script
pip install -e .
```
> Flatlands uses `pygame` for visualization, so if this doesn't work, you may need to install the SDL library on your system as well.
- To create a gym environment you need to import `gym` and then import `flatlands` inside python
```python
import gym
import flatlands
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.
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3 | Python |
نحوه نصب
نصب پکیج whl flatlands-0.1.8:
pip install flatlands-0.1.8.whl
نصب پکیج tar.gz flatlands-0.1.8:
pip install flatlands-0.1.8.tar.gz