https://github.com/eleurent/obstacle-env
An environment for an obstacle avoidance task
https://github.com/eleurent/obstacle-env
gym-environment obstacle-avoidance reinforcement-learning
Last synced: 4 months ago
JSON representation
An environment for an obstacle avoidance task
- Host: GitHub
- URL: https://github.com/eleurent/obstacle-env
- Owner: eleurent
- License: mit
- Created: 2018-04-12T18:59:07.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2021-08-27T13:11:26.000Z (about 4 years ago)
- Last Synced: 2025-04-21T17:51:05.066Z (6 months ago)
- Topics: gym-environment, obstacle-avoidance, reinforcement-learning
- Language: Python
- Homepage:
- Size: 5.91 MB
- Stars: 36
- Watchers: 4
- Forks: 7
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# obstacle-env
An environment for *obstacle avoidance* tasks
A few episodes of the environment.[](https://travis-ci.org/eleurent/obstacle-env)
## Installation
`pip install --user git+https://github.com/eleurent/obstacle-env`
## Usage
```python
import obstacle_envenv = gym.make("obstacle-v0")
done = False
while not done:
action = ... # Your agent code here
obs, reward, done, _ = env.step(action)
env.render()
```