duckietown / gym-duckietown

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

Change manual.py to behave (presumably) as expected. #279

Open nagasakata opened 7 months ago

nagasakata commented 7 months ago

With this update, when --env_name or --map_name is specified as an argument in manual.py, it can now run in the specified environment. Related to #195

Change In the environment building section, environments were originally built with DuckietownEnv if env_name contained Duckietown, and with gym_make if env_name did not contain Duckietown. It has been changed to build the environment with gym_make if env_name contains Duckietown and with DuckietownEnv if env_name does not contain Duckietown.