Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request] Easy seeding of spaces eagerx.BaseEnv #240

Open
1 task done
jelledouwe opened this issue Jan 12, 2023 · 0 comments
Open
1 task done

[Feature Request] Easy seeding of spaces eagerx.BaseEnv #240

jelledouwe opened this issue Jan 12, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@jelledouwe
Copy link
Contributor

jelledouwe commented Jan 12, 2023

🚀 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)
@jelledouwe jelledouwe added the enhancement New feature or request label Jan 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant