Skip to content

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

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)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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