SofaDefrost / SofaGym

Machine Learning framework for Sofa
68 stars 10 forks source link

envs modifications #29

Closed samuelmyoussef closed 1 year ago

samuelmyoussef commented 1 year ago

Some environments were still using splib not splib3. The changes I made:

The other issue was the observation returned from reset(). Some envs were returning it as a list. I modified them to return a numpy array instead for consistency and to avoid any future problems with other RL libraries or frameworks that could be used.