Commit Graph

2412 Commits

Author SHA1 Message Date
Xuchen Han
aa4d5bda3e add elastic and damping stiffness of spring into the force class 2019-08-16 13:45:29 -07:00
Xuchen Han
df7f216bf8 fix bugs introduced in merging 2019-08-16 13:45:29 -07:00
Xuchen Han
10cb0c368d solve CG with more accuracy 2019-08-16 13:45:29 -07:00
Xuchen Han
23cf657a1a change voxel size in sparseSDF to handle contact with smaller objects 2019-08-16 13:45:29 -07:00
Xuchen Han
f8c60e9e3c add option for angular momentum conserving damping for mass spring 2019-08-16 13:45:29 -07:00
Xuchen Han
bedaa760c2 speed up corotated force computation 2019-08-16 13:45:29 -07:00
Xuchen Han
fce1296413 fix the issue that compound objects's child does not get rotated in the material space in interpolationWorldTransform 2019-08-16 13:45:29 -07:00
Xuchen Han
07bf736aeb build islands once and process islands arbitrary number of times in update constraints 2019-08-16 13:45:29 -07:00
Xuchen Han
9e6e571732 add options to perturb the softbody patch's initial position 2019-08-16 13:45:29 -07:00
Xuchen Han
cfbd6c512a fix bug introduced in clearing m_manifold; 7e37d3fd21069571adb4c1e4ffacbd71dd02c0ba 2019-08-16 13:45:29 -07:00
Xuchen Han
cb7257d27b add reader to create softbodies from vtk files 2019-08-16 13:45:29 -07:00
Xuchen Han
f7cd1edf4a code clean up 2019-08-16 13:45:29 -07:00
Xuchen Han
fa5741d07e improve dynamic friction 2019-08-16 13:45:29 -07:00
Xuchen Han
fb6612c0be friction fixes 2019-08-16 13:45:08 -07:00
Xuchen Han
5b8df6a708 switch to Baraff style constraint 2019-08-16 13:45:08 -07:00
Xuchen Han
26983b05e2 modify constraint setup so that contact constraints are persistent in a single CG solve but motor constraints are applied only once 2019-08-16 13:45:05 -07:00
Xuchen Han
deb7c152c4 add corotated model to lagrangian forces 2019-08-16 13:45:05 -07:00
Xuchen Han
94aeb4657b add comment and initialization 2019-08-16 13:45:05 -07:00
Xuchen Han
6d31c73216 style fix and remove unused variable 2019-08-16 13:44:59 -07:00
Erwin Coumans
648844e898 minor fixes, bump up pybullet to 2.5.5 2019-08-14 21:30:10 -07:00
Erwin Coumans
f09cefabe8 Merge remote-tracking branch 'bp/master' 2019-08-14 21:14:56 -07:00
erwincoumans
7fa70c3857 Merge pull request #2351 from xhan0619/Deformable
Add deformable body world and solver
2019-08-14 21:13:41 -07:00
Erwin Coumans
88d1788ee5 PyBullet: allow to update an existing heightfield shape
Also, use flags = p.GEOM_CONCAVE_INTERNAL_EDGE to enable internal edge filtering for heightfield (disabled by default)
See https://github.com/bulletphysics/bullet3/blob/master/examples/pybullet/examples/heightfield.py
2019-08-14 21:06:10 -07:00
Erwin Coumans
54111f7023 PyBullet: add support for internal edge filtering for height field terrains 2019-08-09 10:14:14 -07:00
Xuchen Han
7adb6fdff3 2016 -> 2019 2019-08-08 17:43:49 -07:00
Xuchen Han
817e64a769 remove one softbody array copy 2019-08-08 17:31:59 -07:00
Xuchen Han
436b6c6963 separate multibody position prediction into standalone function 2019-08-08 17:14:13 -07:00
Xuchen Han
96e8dcef0f fix bug caused by not reseting to zero 2019-08-08 16:45:19 -07:00
Xuchen Han
9a7e30d09f move deformable examples to a single folder and rename them; change license to google 2016 2019-08-08 15:00:55 -07:00
Chuyuan Fu
4f70e71afa take out btrigidbody field mass 2019-08-06 16:18:43 -07:00
Xuchen Han
02c5b99b2f add algorithm overview 2019-08-06 11:42:48 -07:00
Xuchen Han
e5231b5cc5 restore behaviors of btSoftBody 2019-08-06 10:52:19 -07:00
Xuchen Han
6a599bde87 setDt in reinitialize and remove unused variables 2019-08-06 10:16:56 -07:00
Xuchen Han
73f5eb6a8f add profiling and code clean up 2019-08-05 16:49:04 -07:00
Chuyuan Fu
1cb3655f71 add support to load rigidbody 2019-08-05 13:38:43 -07:00
Xuchen Han
02d3a9469f code clean up + Zlib copyright header 2019-08-05 11:54:17 -07:00
Xuchen Han
c5d84c1a0b get rid of nullptr and std::function 2019-08-03 00:12:34 -07:00
Xuchen Han
021cbb2a0e include numeric_limits 2019-08-02 23:50:15 -07:00
Xuchen Han
8c04a78c9b switch from std::unordered_map to btHashMap 2019-08-02 23:26:11 -07:00
Xuchen Han
dae230912b typo fix 2019-08-02 15:51:38 -07:00
Xuchen Han
9a5ef6c849 update CMakeList 2019-08-02 15:41:10 -07:00
Xuchen Han
7f33d8cdb9 get rid of 'using' 2019-08-02 15:27:10 -07:00
Xuchen Han
f624b60c19 get rid of auto 2019-08-02 15:19:37 -07:00
Xuchen Han
8cc7cb59d7 clean up examples 2019-08-02 14:06:42 -07:00
Xuchen Han
54303e02b1 perform position correction only when objects are penetrating 2019-08-02 13:21:06 -07:00
Xuchen Han
3dc8abcf36 only call buildIslands once for multibody in each timestep 2019-08-02 13:15:06 -07:00
Xuchen Han
f1e7ce9ce1 add multibody interpolation transform so that collision detection is consistent with rigidbody 2019-08-02 13:15:06 -07:00
Xuchen Han
ec403f790d factor out force; now btDeformableLagrangianceForce can be specified at configuration time and to specific softbody 2019-08-02 13:15:06 -07:00
Xuchen Han
233a381e7c add correct impulse matrix to multibody-deformable contact 2019-08-02 13:15:00 -07:00
Xuchen Han
243b9fc8c7 combat friction drift in positionCorrect by changing velocity and change it back (effectively only changing position) 2019-08-02 13:14:15 -07:00