duckietown / gym-duckietown

Self-driving car simulator for the Duckietown universe
http://duckietown.org
Other
51 stars 19 forks source link

Register Gym environment ids #59

Closed maximecb closed 6 years ago

maximecb commented 6 years ago

At the moment, the simulator can be instantiated with a map_name argument corresponding to the map file to load. When people train with OpenAI gym environments, however, they usually use gym.make() with some environment id. We should probably register multiple ids corresponding to the maps in the map directory. This would avoid people having to specify both an env-name and a map-name when training.

Probably something like:

maximecb commented 6 years ago

This is now done.