martius-lab / laser-hockey-env

A simple laser-hockey gym environment for RL agents
MIT License
12 stars 14 forks source link

Add self registration of the environment #2

Closed mircohacker closed 5 years ago

mircohacker commented 5 years ago

This PR assumes this git repo is cloned into a directory named laser_hockey_env.

With this PR it is possible to write something like this

import laser_hockey_env
gym.make("LaserHockey-v0")
georgmartius commented 5 years ago

You are importing lh_environment, which is not generic