rickstaa/stable-gym

Re-implement disturber

Closed this issue · 2 comments

Is your feature request related to a problem? Please describe.

It would be nice to re-implement the disturbed in the [simzoo (https://github.com/rickstaa/simzoo/blob/main/simzoo/common/disturber.py) package such that it uses gym wrappers. I created my wrappers since I was not aware of gym wrappers but using gym wrappers to modify the observations cleans up the code and makes it easier to understand.

Describe the solution you'd like

No response

Describe alternatives you've considered

No response

Additional context

No response

This 'eval_robustness' utility in the stable_learning_control SLC package was improved so that users no longer need to modify their environments to use it with this utility. The disturbers are now implemented as gymnasium wrappers. Because of this, they can be used with any gymnasium environment. If you want to add a new disturber, you only have to ensure that it is a Python class that inherits from the gym.Wrapper class. For more information, see the eval robustness documentation of the SLC package

This was solved by merging #280.