100 Commits
Author SHA1 Message Date
Xuchen Han ee2a811c09 parameter tweaks after testing on robot 2020-01-04 19:29:52 -08:00
Xuchen Han a274bcbfa3 add position error into deformable vs. rigid solve 2019-12-31 19:18:37 -08:00
Xuchen Han 78a8ddb466 change default damping model for mass spring to the angular momentum conserving one 2019-12-31 14:08:21 -08:00
Xuchen Han 4ab550d358 update deformable demos 2019-12-31 14:05:45 -08:00
Xuchen Han d7442cee21 add strain rate limiting 2019-12-31 14:04:18 -08:00
Xuchen Han 79c1343b6a change number of quadrature points from 3 to 2 2019-12-31 14:03:54 -08:00
Xuchen Han a808d74895 fix bug in the pretransform of rigid body interpolation transform 2019-12-30 10:55:30 -08:00
Xuchen Han 442047a862 more bug fixes 2019-12-27 13:16:31 -08:00
Xuchen Han 65b75e5937 bug fixes for face contact to prevent sticking 2019-12-27 12:43:08 -08:00
Xuchen Han 6a8973d2f4 address PR comment and tune parameters for cloth 2019-12-19 21:51:54 -08:00
Xuchen Han 4ab0387262 Merge remote-tracking branch 'origin/master'
merge origin/master
2019-12-18 23:18:16 -08:00
Xuchen Han 89553c44e7 solve constraints involving deformable objects according to islands 2019-12-18 23:11:34 -08:00
Xuchen Han f65a8b03c0 separate deformable contact solve by islands WIP 2019-12-17 18:27:23 -08:00
Xuchen Han d38ea87027 add gripper with deformable cloth demo 2019-12-13 14:33:54 -08:00
Xuchen Han 8fde74ecea update SHARED_MEMORY_MAGIC_NUMBER 2019-11-28 12:14:40 -08:00
Xuchen Han 7bce5d61f4 separate in-plane and bending stiffness for mass spring model for easier parameter tuning 2019-11-27 11:40:10 -08:00
Xuchen Han 39df98465e set a smaller dt for deformable_ball.py for stability and typo fix 2019-11-25 17:07:00 -08:00
Xuchen Han abd7a556e1 Merge remote-tracking branch 'origin/master' 2019-11-25 15:29:25 -08:00
Xuchen Han f237a40621 add a pybullet example to compare the result of soft body and deformable body 2019-11-21 00:09:32 -08:00
Xuchen Han fa7cb25c95 revert the default world to SOFT_MULTIBODY_WORLD 2019-11-20 23:47:15 -08:00
Xuchen Han edffb0cc55 update pybullet examples 2019-11-19 23:10:13 -08:00
Xuchen Han 64e5e007e3 load render mesh from command 2019-11-19 21:07:26 -08:00
Xuchen Han 6c34c91ca7 load render mesh from command 2019-11-18 23:37:23 -08:00
Xuchen Han f5400b40d2 Add faces to volumetric objects in deformable demos 2019-11-18 23:37:23 -08:00
Xuchen Han 6268911a43 enable real time simulation 2019-11-18 23:37:22 -08:00
Xuchen Han 22fb2cfb5e add python binding to allow loading deformable objects 2019-11-18 23:37:22 -08:00
Xuchen Han c4e73ec8a7 Add faces to volumetric objects in deformable demos 2019-11-18 14:47:57 -08:00
Xuchen Han bca87426f4 enable real time simulation 2019-11-15 22:38:47 -08:00
Xuchen Han a86710c5b6 add python binding to allow loading deformable objects 2019-11-15 21:25:11 -08:00
Xuchen Han 2edd94c722 add option to approximate face contact with collision quadrature points 2019-11-12 17:10:39 -08:00
Xuchen Han 42b5c93bad approximate face contact WIP 2019-11-12 11:50:47 -08:00
Xuchen Han 794614f269 change collision detection between deformables to from continuous to discrete 2019-11-11 13:58:03 -08:00
Xuchen Han 362bc6d9a3 fix the bug that prevents the pd control forces/torques being added 2019-11-08 17:08:59 -08:00
Xuchen Han 059e23d381 fix old soft body collision issue #2473 2019-11-07 13:00:13 -08:00
Xuchen Han baa9dcdf08 move erp for deformable into a separate parameter 2019-11-07 12:13:51 -08:00
Xuchen Han b55ebac2d9 update CMakeLists 2019-11-05 18:09:38 -08:00
Xuchen Han 13314360a8 add option for deformable rigid split impulse 2019-11-05 18:07:58 -08:00
Xuchen Han fb85b2e05f add a linear elasticity model 2019-11-05 18:07:58 -08:00
Xuchen Han 457ed0e735 Merge pull request #3 from fuchuyuan/pathfix
update example to use absolute path
2019-10-31 15:15:38 -07:00
Xuchen Han 93835c195b turn off SVD 2019-10-31 12:57:19 -07:00
Xuchen Han 3f1e061966 turn on SVD 2019-10-31 12:53:12 -07:00
Xuchen Han 9ebbab959c use safenorm 2019-10-31 12:53:12 -07:00
Xuchen Han ec1ef0c465 add strain limiting to face contact to improve stability 2019-10-31 12:53:12 -07:00
Xuchen Han 6dce8e4ff5 cull out most of the SVD calculation when stress is low 2019-10-29 22:39:10 -07:00
Xuchen Han 23dbea16f3 initialize m_useSelfCollision 2019-10-24 15:28:21 -07:00
Xuchen Han 270028363b Fix some performance issues caused by unneccessarily small sdf grid size. 2019-10-24 15:03:23 -07:00
Xuchen Han c6af3aa3f8 fix bug in deformable vs. deformable friction 2019-10-23 12:17:21 -07:00
Xuchen Han 36f7441790 support anchor constraint between deformable and multibody 2019-10-17 16:45:28 -07:00
Xuchen Han 60dfe1fe69 add support for anchor constraint between deformable and rigid 2019-10-16 19:23:01 -07:00
Xuchen Han 3d622a3bee enable deformable sleeping 2019-10-16 12:00:02 -07:00
Xuchen Han 3ae193ff15 bool->int 2019-10-15 15:43:26 -07:00
Xuchen Han 774937bcd6 add option to turn face contact on/off 2019-10-15 13:53:27 -07:00
Xuchen Han 05c25a27de address comment from ldowns 2019-10-15 13:51:33 -07:00
Xuchen Han a1afc66817 remove std::fabs and std::max 2019-10-15 13:51:33 -07:00
Xuchen Han 30238b2fbc remove std::copysign 2019-10-15 13:51:33 -07:00
Xuchen Han a7222d8a9f add option to set stress clamping limit 2019-10-15 13:51:33 -07:00
Xuchen Han 9e29f7108d remove Eigen 2019-10-15 13:50:13 -07:00
Xuchen Han 9546390fd6 clamp stress for NeoHookean in singular value space 2019-10-15 13:50:13 -07:00
Xuchen Han e87df18544 switch to damping model from Irvine 05 for its SPDness 2019-10-15 13:50:13 -07:00
Xuchen Han 87546bb7c3 prevent velocity of deformable from getting too big from explicit force 2019-10-15 13:50:13 -07:00
Xuchen Han 45c4497711 fix compile 2019-10-15 13:50:13 -07:00
Xuchen Han 0d742273c1 set default drag coefficient to 0 2019-10-15 13:50:13 -07:00
Xuchen Han 992e1454b6 turn on SKIP_DEFORMABLE 2019-10-15 13:50:13 -07:00
Xuchen Han 25a566c378 finish deformable sleeping and add option for drag 2019-10-15 13:50:13 -07:00
Xuchen Han 0d7ff567e6 bug fix in deformable predict motion 2019-10-15 13:50:13 -07:00
Xuchen Han c808bb78c7 delete lagrangian force when deleting dynamics world from command processor 2019-10-15 13:50:13 -07:00
Xuchen Han 58a67f82fb set default integration scheme to explicit 2019-10-15 13:50:13 -07:00
Xuchen Han 94facf0029 typo fix 2019-10-15 13:50:13 -07:00
Xuchen Han ca92cf067e fix removeCollisionObject for Deformable world 2019-10-15 13:50:12 -07:00
Xuchen Han 3b945597d1 prevent narrow phase collision detection between rigid and soft when both are sleeping 2019-10-15 13:50:12 -07:00
Xuchen Han c610ba49df fix bug in computing rhs in momentum solve 2019-10-15 13:47:55 -07:00
Xuchen Han 5a55374d85 pass render nodes instead of simulated nodes to renderer 2019-10-01 14:48:34 -07:00
Xuchen Han 96bf2f2ff5 address PR comments 2019-10-01 14:47:49 -07:00
Xuchen Han 187019268c enable deformable vs. deformable and self-collision in deformable loading 2019-09-28 15:10:06 -07:00
Xuchen Han 2d045de589 parameter change in ClothFriction Demo 2019-09-28 14:44:42 -07:00
Xuchen Han 132f7fe751 update pybullet binding 2019-09-28 14:44:42 -07:00
Xuchen Han 212b990b0e remove auto and add include 2019-09-28 14:44:42 -07:00
Xuchen Han 9f11ac5d4d add include 2019-09-28 14:44:42 -07:00
Xuchen Han 11ad0f0dfd add btMatrix3x3 constructor from vectors 2019-09-28 14:44:42 -07:00
Xuchen Han c178905998 remove siData 2019-09-28 14:44:42 -07:00
Xuchen Han ccaddfca21 documentation and optimization 2019-09-28 14:44:42 -07:00
Xuchen Han a0acfd5195 code clean up and optimization 2019-09-28 14:44:42 -07:00
Xuchen Han 977bdb4e0e adjust parameters 2019-09-28 14:44:41 -07:00
Xuchen Han cb46440e17 add normal cone optimization for self-collision 2019-09-28 14:44:41 -07:00
Xuchen Han 657a7468b3 documentation and optimization 2019-09-28 14:44:41 -07:00
Xuchen Han 20abbc9ee7 add dynamic friction for deformable contact 2019-09-28 14:44:41 -07:00
Xuchen Han 416e516735 add naive implementation of self collision 2019-09-28 14:44:41 -07:00
Xuchen Han be7383cc03 update examples to test different time stepping schemes (namely explicit, implicit and implicit with line search)/ 2019-09-28 14:44:41 -07:00
Xuchen Han 2f9184acc9 remove position correction 2019-09-28 14:44:41 -07:00
Xuchen Han ef5aa6e73b add options to toggle between whether line search is used & add more documentation 2019-09-28 14:44:41 -07:00
Xuchen Han 0501fe1bbd add cloth demo to show deformable friction 2019-09-28 14:44:41 -07:00
Xuchen Han 55ebafc755 add demo to test soft body friction 2019-09-28 14:44:41 -07:00
Xuchen Han cca220eb27 add damping energy to mass spring 2019-09-28 14:44:41 -07:00
Xuchen Han d761b2cd68 add some documentation 2019-09-28 14:44:41 -07:00
Xuchen Han ae42cc561e add damping energy in line search 2019-09-28 14:44:41 -07:00
Xuchen Han 3dcfcda19a typo fix 2019-09-28 14:44:41 -07:00
Xuchen Han a92a8f1135 add demo for deformable contact 2019-09-28 14:44:41 -07:00
Xuchen Han 1bfb226be8 add support for deformable vs. deformable contact 2019-09-28 14:44:41 -07:00
Xuchen Han 403eb62dfa code clean up and optimization 2019-09-28 14:44:41 -07:00
Xuchen Han 109d9353af switched to deformable rigid contact from Jacobi to Gauss Seidel 2019-09-28 14:44:41 -07:00