ascentai / diy-gym

A framework for creating your own reinforcement learning environments using pybullet
MIT License
19 stars 3 forks source link

Tidying up #13

Closed thomascent closed 5 years ago

thomascent commented 5 years ago

Added a couple of handy add-ons and made some small changes to enable an environment I'm working on to do RL based tidying with robot arms.

The hide thing I added to Addon is a little hacky but it's pretty benign so don't worry about it too much.

Also moving seed and reset to before the point where the observation spaces are built allows addons which are attached to the environment to initialise themselves in the first call to init once all the other models are declared. This is also slightly hacky but it's pretty handy when writing environment addons so hey