Franka: cloth and water¶
Rigid bodies, MPM fluids and shells are coupled through contact in one solve. The Franka, steered as in reach and pick, pours water from one cup into another and folds a towel.
Pouring water¶
The water is MPM particles inside a rigid cup held by the gripper:
water = trusty.QuadraticVolume(bulk_modulus=WATER_BULK)
trusty.mpm.add_mpm_particles(world, water0, spacing**3, water, density=WATER_DENSITY,
cell_size=2.0 * spacing, cdpi_domain_scale=0.5)
Folding a towel¶
The towel is a shell, pinched by the finger pads and folded onto itself: