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] More informative error with the reset_fn

araffin opened this issue Β· comments

πŸš€ Feature

def reset_fn(env):
    return {}

will give a list index out of range instead of more informative error (which state is missing).

Checklist

  • I have checked that there is no similar issue in the repo (required)

reset_fn where factored out in #176 .