isaac-sim / OmniIsaacGymEnvs

Reinforcement Learning Environments for Omniverse Isaac Gym
Other
764 stars 202 forks source link

Deformable physics simulation during training #18

Open mingj1125 opened 1 year ago

mingj1125 commented 1 year ago

Hi,

Thanks for providing this fantastic repo.

I am trying to setup a training task with deformable objects, but I found out that the deformable physics properties of the objects is not simulated during the training. But when I export the scene and simulate it in the new window, it is working. I tried to create a use.file with the deformable physics properties already set and also tried to define the deformable physics in the function set_up_scene in the task python file, but both resulted in the same issue.

Does the training environment actually support deformable physics simulation? If yes, how can I setup the correct files for that? If not, will this be considered in the future?

Thanks a lot!

kellyguo11 commented 1 year ago

Hi there, could you try setting use_flatcache: False in your task config file? Soft bodies may not work correctly with flatcache enabled.

mingj1125 commented 1 year ago

Hi! Thank you for the reply. I tried setting that, but then even the rigid body simulation is no longer being displayed on screen. So nothing moves anymore. However, if I look at the training information and reward output from training and inference, the scene is having different rewards and somehow being simulated.

KevinGalassi commented 1 year ago

Any update on the manner? I think i have the same problem...