Commit Graph

2797 Commits

Author SHA1 Message Date
Erwin Coumans
66951ac102 fix Mac version of deformable_anchor.py 2019-11-19 19:35:28 -08:00
Erwin Coumans
96deb42aa5 pybullet.createSoftBodyAnchor 2019-11-19 19:20:08 -08:00
Erwin Coumans
d42cf2d0ca enable compilation without deformables/soft bodies (for some unit tests
in premake)
2019-11-19 12:20:33 -08:00
erwincoumans
d26752b232
Merge pull request #2496 from xhan0619/add-deformable-faces
Add faces to volumetric objects in deformable demos
2019-11-18 16:07:07 -08:00
Xuchen Han
c4e73ec8a7 Add faces to volumetric objects in deformable demos 2019-11-18 14:47:57 -08:00
Erwin Coumans
1f6d504e44 fix memory issues in btSparseSDF.h
(hash function on structure with uninitialized padding, and  Reset not called in destructor)
expose sparseSdfVoxelSize in PyBullet.setPhysicsEngineParameter
don't call deformable wireframe drawing in the wrong thread/place (it can cause crashes)
2019-11-18 10:22:56 -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
Erwin Coumans
72e0e7c223 fix load_soft_body.py example.
add optional flags in pybullet.resetSimulation.
fix compile issue due to SKIP_DEFORMABLE_WORLD
fix issue in .obj importer (todo: replace with tiny_obj_loader)
todo: replace std::ifstream fs; by fileIO usage.
2019-11-14 21:20:42 -08:00
Erwin Coumans
24a76614f8 PyBullet: fix memory leak in changeTexture command
Fixes #2481
2019-11-14 17:07:08 -08:00
Erwin Coumans
cabef63b1c expose the double sided flag 2019-11-12 20:36:20 -08:00
Erwin Coumans
9ca957387f Deformables: enable double sided rendering, reduced the number of debug lines in regular rendering. 2019-11-12 20:08:49 -08:00
erwincoumans
b25d806b14
Merge pull request #2475 from xhan0619/fix-issue-#2473
Fix issue #2473
2019-11-08 20:45:05 -08:00
erwincoumans
886895e0bd
Merge pull request #2478 from xhan0619/fix-pd
fix the bug that prevents the pd control forces/torques being added
2019-11-08 20:44:17 -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
Erwin Coumans
bbf983bfbb reserve faces (minor performance improvement?) 2019-11-08 16:10:05 -08:00
Xuchen Han
baa9dcdf08 move erp for deformable into a separate parameter 2019-11-07 12:13:51 -08:00
Erwin Coumans
9f44d76b67 fix issue in BulletClient (pybullet_utils.bullet_client) that may disconnect multiple times, causing issues when repeatedly creating a gym env
bump up pybullet to version 2.5.7
2019-11-07 10:47:56 -08:00
erwincoumans
35c028880d
Merge pull request #2465 from erwincoumans/master
add simple sceneAABB example
2019-11-06 14:23:38 -08:00
Xuchen Han
13314360a8 add option for deformable rigid split impulse 2019-11-05 18:07:58 -08:00
Chuyuan Fu
09ca930ca8 make consistent for other models 2019-11-05 18:07:58 -08:00
Chuyuan Fu
05bc387081 update example to use absolute path 2019-11-05 18:07:58 -08:00
Erwin Coumans
b5715c96cf Merge branch 'master' of https://github.com/erwincoumans/bullet3 2019-11-04 15:46:23 -08:00
Erwin Coumans
f1f04aef53 add simple sceneAABB example 2019-11-04 15:45:58 -08:00
Chuyuan Fu
74571d79e7 add compute softbody com 2019-10-31 12:53:12 -07:00
Chuyuan Fu
618c85325c give softbody name 2019-10-31 12:53:12 -07:00
erwincoumans
8aa7f93bf1
Merge pull request #2448 from fuchuyuan/mergechange
merge warmstart
2019-10-30 10:31:43 -07:00
erwincoumans
959a48a1a0
Merge pull request #2454 from krishpop/patch-1
Fix call to convert_to_leg_model
2019-10-29 21:16:01 -07:00
Krishnan Srinivasan
0d4108f307
Fix call to convert_to_leg_model
Fix call to convert_to_leg_model which is defined as a static method without an underscore in MinitaurExtendedEnv
2019-10-29 16:00:55 -07:00
Erwin Coumans
136607151e use mult instead of max to combine friction properties
use 0.5 friction for ground for a demo, and also a larger grid size
update description of deformable algorithm
disable SVD for now, has some issue with some compilers
2019-10-28 12:53:59 -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
Chuyuan Fu
913400eba1 add SOLVER_USE_ARTICULATED_WARMSTARTING option and APIs
fix compile
2019-10-23 21:36:26 -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
3ae193ff15 bool->int 2019-10-15 15:43:26 -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
45c4497711 fix compile 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
c808bb78c7 delete lagrangian force when deleting dynamics world from command processor 2019-10-15 13:50:13 -07:00
Xuchen Han
94facf0029 typo fix 2019-10-15 13:50:13 -07:00
Xuchen Han
c610ba49df fix bug in computing rhs in momentum solve 2019-10-15 13:47:55 -07:00
Xuchen Han
0cb7cb2445 bool->int 2019-10-15 13:47:55 -07:00
Xuchen Han
e13578fee3 add option to turn self-collision on/off 2019-10-15 13:47:55 -07:00
Xuchen Han
d0e4bbf04d fix gravity set up 2019-10-15 13:47:54 -07:00
Xuchen Han
ec91a0ffa4 configure damping coefficients for neohookean models 2019-10-15 13:47:54 -07:00
Erwin Coumans
31e778c913 avoid crashes in TinyRenderer 2019-10-09 22:26:20 -04:00
Erwin Coumans
2caf4505f0 pybullet: suppress debug printf (obj texture coordinate out-of-range) 2019-10-03 09:25:54 -07:00