WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

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

@jelledouwe

Description

@jelledouwe

🚀 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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions