eager-dev / eagerx

EAGERx is a physics engine abstraction layer for reinforcement learning. EAGERx allows switching between simulators and reality with a single line of code, supports action and observation processing and controller switching for resets.

Home Page:https://eagerx.readthedocs.io/en/master/index.html

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Feature Request] Easy seeding of spaces eagerx.BaseEnv

jelledouwe opened this issue Β· comments

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)