https://github.com/dakup/gym-trajectory
Custom environment for OpenAI gym
https://github.com/dakup/gym-trajectory
Last synced: about 1 year ago
JSON representation
Custom environment for OpenAI gym
- Host: GitHub
- URL: https://github.com/dakup/gym-trajectory
- Owner: DaKup
- License: mit
- Created: 2020-12-19T13:01:28.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2021-10-13T16:22:18.000Z (over 4 years ago)
- Last Synced: 2025-03-03T02:36:48.808Z (over 1 year ago)
- Language: Python
- Size: 227 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# gym-trajectory
Custom environment for OpenAI gym
```pip install gym-trajectory```
N-dimensional trajectory
```py
import gym
import gym_trajectory
env = gym.make('Trajectory-v0')
observation = env.reset()
while True:
(observation, reward, done, info) = env.step(env.action_space.sample())
env.render()
```
