SofaDefrost / SofaGym

Machine Learning framework for Sofa
68 stars 10 forks source link

Fix gripper env observation return #39

Closed samuelmyoussef closed 1 year ago

samuelmyoussef commented 1 year ago

Fix issue from discussion https://github.com/sofa-framework/sofa/discussions/3941#discussioncomment-6332567 The observation returned from the reset method was a tuple of both the obs array and and empty info dict. Since the info dict is not used to save any data in this case, it is removed.