ManiSkill icon indicating copy to clipboard operation
ManiSkill copied to clipboard

combine soft body sim with other sim envs

Open Konjak2e8 opened this issue 1 year ago • 2 comments

It is said in the paper that we can combine any rigid simulator with the soft body simulator.I would like to combine the soft body simulator with mujoco. Could someone tell me how to achieve this? Thanks

Konjak2e8 avatar Apr 18 '24 12:04 Konjak2e8

This would likely be highly non-trivial amount of engineering work to do that. Perhaps @fbxiang could summarize some helpful points

StoneT2000 avatar May 23 '24 02:05 StoneT2000

The principle to couple multiple simulators can be straightforward. You just need to repeat the following steps.

  1. step simulator A
  2. step simulator B
  3. compute forces resulted from any interactions between simulator A and B
  4. apply the forces to A and B

In practice it would require deep understanding of both simulators and quite a bit of work as described in the paper. If you really want to make your own coupled simulator, you could take the soft body environments in ManiSkill 2 as an example.

fbxiang avatar May 23 '24 03:05 fbxiang