Farama-Foundation / Minigrid

Simple and easily configurable grid world environments for reinforcement learning
https://minigrid.farama.org/
Other
2.09k stars 604 forks source link

Fix issue #232 #233

Closed rodrigodelazcano closed 2 years ago

rodrigodelazcano commented 2 years ago

Description

Fixes #232. Latest 1.2.0 MiniGrid release is not backward compatible with gym releases previous to v0.26. Thus every minigrid environment has a hard constraint on using new step API and the option to set the argument new_step_api=True in the environments was removed.

232 bug is due to not having removed the new_step_api argument from the manual_control.py script. This PR removes it.

Type of change

Please delete options that are not relevant.

Screenshots

Please attach before and after screenshots of the change if applicable.

Checklist:

pseudo-rnd-thoughts commented 2 years ago

LGTM