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
445 stars 43 forks source link

Add compability for IsaacGym Preview 4 #20

Closed juhannc closed 1 year ago

juhannc commented 1 year ago

Since IsaacGym Preview 4, IsaacGymEnvs requires three additional parameters. Two (rl_device and force_render) of these where already present in the configuration file read by hydra. The last one, virtual_screen_capture, is now passed through and appended to the config.

Lastly, the OmegaConfs are also predefined by the newest version. Thus, they are now replaced to keep backwards compatibility. An alternative would be to try setting them and catch the error. However, best practice would be trying each one separately.

juhannc commented 1 year ago

Already implemented in the develop branch…