Toni-SM / skrl

Modular reinforcement learning library (on PyTorch and JAX) with support for NVIDIA Isaac Gym, Omniverse Isaac Gym and Isaac Lab
https://skrl.readthedocs.io/
MIT License
518 stars 47 forks source link

A little bug on environment wrapper #71

Open Toni-SM opened 1 year ago

Toni-SM commented 1 year ago

Discussed in https://github.com/Toni-SM/skrl/discussions/70

Originally posted by **403forbiddennn** April 19, 2023 In the **Isaac Gym wrapper** class, the `render` method is inappropriately overridden by your wrapper and thus can not render successfully. For example, the render method of `IsaacGymPreview3Wrapper` is: ```python def render(self, *args, **kwargs) -> None: """Render the environment """ pass ``` which overrides the `render()` in `VecTask`.