[Feature Request] Easy seeding of spaces eagerx.BaseEnv
jelledouwe opened this issue Β· comments
Jelle commented
π Feature
Make it easy to seed eagerx environments (e.g. env.state_space.seed(seed)).
Motivation
Right now I need to do this to seed:
self._state_space = self.state_space
for key in self._state_space.spaces.keys():
self._state_space.spaces[key]._space.seed(seed)
which is a bit annoying.
Checklist
- I have checked that there is no similar issue in the repo (required)