Denys88 / rl_games

RL implementations
MIT License
848 stars 142 forks source link

Save and load state for Isaac Gym #189

Closed supersglzc closed 1 year ago

supersglzc commented 2 years ago

Hi, I notice that we have functions get_env_state() and set_env_state() to save and load the info for the environment. Does it work in Isaac Gym?

Denys88 commented 2 years ago

I think it is possible to add support for them in IG. cc @ViktorM

ViktorM commented 2 years ago

@supersglzc sorry for the late reply. Saving and loading state could be done in IG but you should do implement it manually for your env. You need to save state for all the objects and articulations in your env. Then also you need to save all the actions and re-apply them.