Commit Graph

2717 Commits

Author SHA1 Message Date
Xuchen Han
3f34b6920f revert the max number of solver iteration to previous value 300 2020-06-19 17:26:03 -07:00
Xuchen Han
bfaaca81be bug fix in implicit predict motion 2020-06-19 17:04:02 -07:00
Xuchen Han
41210ca37f restore CMakelist and premake.lua 2020-06-19 17:02:36 -07:00
Xuchen Han
e0b554787f Merge remote-tracking branch 'origin/master' into implicit-contact 2020-06-19 15:05:34 -07:00
Xuchen Han
b969f14d21 run clang format 2020-06-19 14:52:44 -07:00
Xuchen Han
395f8c6117 add implicit point contact for corotated linear elasticity objects 2020-06-19 14:49:58 -07:00
Xuchen Han
92f2f56b3d add mass damping into damping model 2020-06-18 16:43:53 -07:00
Xuchen Han
f7354751a9 improve contact stability for implicit scheme 2020-06-17 18:43:49 -07:00
Xuchen Han
4594927d02 corotate the damping force for linear elasticity 2020-06-17 18:43:14 -07:00
Xuchen Han
f23e745666 clang format PhysicsServerCommandProcessor and BulletSoftBody 2020-06-17 17:20:39 -07:00
Xuchen Han
9cfe16abb4 add corotated linear elasticity 2020-06-16 15:57:58 -07:00
erwincoumans
da50438c3c Merge pull request #2826 from xhan0619/grav-factor
Deformable gravity factor
2020-06-05 10:07:27 -07:00
Erwin Coumans
c09007e005 Merge branch 'master' of github.com:erwincoumans/bullet3 2020-06-04 00:00:44 -07:00
Erwin Coumans
e6a0206d47 Allow to remove soft body anchors, using pybullet.removeConstraint (untested).
Usage example:
anchors = []
anchors.append(p.createSoftBodyAnchor(clothId  ,0,-1,-1))
anchors.append(p.createSoftBodyAnchor(clothId ,3,boxId,-1, [0.5,-0.5,0]))
for a in anchors:
  p.removeConstraint(a)
2020-06-04 00:00:19 -07:00
Xuchen Han
e89903a8ab support gravity factor for deformables 2020-05-26 16:48:50 -07:00
erwincoumans
5233b72160 Merge pull request #2800 from xhan0619/splitImpulseMulti
Stability improvements for deformable.
2020-05-21 09:47:33 -07:00
Xuchen Han
243aa4ac1f switch to a lower default threshold of CR solver for fewer iterations 2020-05-20 17:57:16 -07:00
Xuchen Han
d1d2dad2e6 do not apply deformable contact impulse to points and faces constrained in rigid/deformable solve 2020-05-20 17:56:20 -07:00
Xuchen Han
65978cb58b revert experimental changes to collision padding 2020-05-20 17:55:03 -07:00
Xuchen Han
a9030011e7 add and substract split impulse velocity after sleeping check 2020-05-18 15:23:57 -07:00
Stephen Gold
245bacd6ac btAlignedAllocator: filename args should be const char* 2020-05-17 23:18:02 -07:00
Stephen Gold
c1bc1a3688 btCollisionObject.h: add getters for m_objectsWithoutCollisionCheck 2020-05-13 03:24:49 -07:00
Xuchen Han
15f3e144f6 Merge remote-tracking branch 'origin/master' into splitImpulseMulti 2020-05-11 15:55:32 -07:00
Xuchen Han
5f2ac5e922 parameter tuning 2020-05-11 15:54:15 -07:00
Xuchen Han
607ddc25b7 make deformable collision detection wider 2020-05-11 15:53:54 -07:00
Xuchen Han
e4df217284 bug fix 2020-05-11 12:05:02 -07:00
Xuchen Han
cb1cd969a8 allow positive penetration to pose inactive constraints for more stability 2020-05-08 16:51:53 -07:00
Xuchen Han
7069d51eae Reduce deformable erp for more stability 2020-05-08 16:37:17 -07:00
Chuyuan Fu
9d6053a8ff Add writing surface mesh file for tetrahedron mesh 2020-05-07 17:23:12 -07:00
Chuyuan Fu
80acb57119 fix softbody GetRigidTransform 2020-05-07 17:21:55 -07:00
erwincoumans
4ab592dab1 Merge pull request #2776 from stephengold/master
extend BVH and GImpact algorithms to accept meshes with PHY_UCHAR indices
2020-05-06 14:59:48 -07:00
Peng Xu
b13ca4e969 Remove unused thread-unsafe debug variable 'maxIteration' that is no longer used in btQuantizedBvh.cpp 2020-05-06 11:03:39 -07:00
Xuchen Han
a9449601cd add multibody split impulse when solving contact with deformable 2020-05-03 00:51:46 -07:00
Stephen Gold
5ec86e9f9a extend BVH and GImpact algorithms to accept meshes with UCHAR indices 2020-04-28 00:00:07 -07:00
Xuchen Han
eefec255cf Merge remote-tracking branch 'origin/master' into splitImpulse 2020-04-27 20:29:06 -07:00
Xuchen Han
cfbcedeac9 add calculate contact force 2020-04-27 20:17:11 -07:00
Xuchen Han
5f1260199a set appropriate repulsion stiffness for pybullet torus demo 2020-04-27 20:05:16 -07:00
Xuchen Han
38657ebdfd Add new header to CMakeLists 2020-04-27 17:45:30 -07:00
Xuchen Han
5fe898f9f2 refactor krylov solver 2020-04-27 15:48:51 -07:00
erwincoumans
cd8cf7521c Merge pull request #2620 from stephengold/master
apply custom pair-cache filter to predictive contacts
2020-04-26 12:09:05 -07:00
erwincoumans
6985f06e5d Merge pull request #2669 from etc0de/velocity-limits
Add a compile time option to clamp velocity to reduce floating point exception risk, fixes #2668
2020-04-26 12:04:22 -07:00
Xuchen Han
ad6bc07535 exclude inactive constraints from KKT solve 2020-04-23 16:21:52 -07:00
erwincoumans
8618d60c7c Merge pull request #2756 from xhan0619/KKT
Add support for KKT solver.
2020-04-23 09:45:58 -07:00
Xuchen Han
589278fd56 fix setup.py 2020-04-23 01:57:07 -07:00
Xuchen Han
296602fc57 add max split impulse push out distance and switch contact to be double sided 2020-04-23 01:54:37 -07:00
Xuchen Han
bc8f99a640 use m_q for collision detection and m_x for resolving collision 2020-04-22 15:18:54 -07:00
Xuchen Han
95287e458c support split impulse for deformable vs. rigid contact 2020-04-22 15:18:29 -07:00
Xuchen Han
e92d013730 add new files to CMakeLists 2020-04-22 13:39:45 -07:00
erwincoumans
687780af6b Merge pull request #2745 from xhan0619/fix-rayTest-crash
fix rayTest crash for btSoftBody
2020-04-21 07:57:30 -07:00
Xuchen Han
78aebd44e2 Merge remote-tracking branch 'origin/master' into KKT 2020-04-20 19:35:46 -07:00