Commit Graph

2822 Commits

Author SHA1 Message Date
Erwin Coumans
cf67e7af0a Merge remote-tracking branch 'bp/master' 2019-11-29 08:06:53 -08:00
Erwin Coumans
56d0b7a09a deep_mimic, read velocity from poseInterpolator, not kinematic model
This fixes issue #2401
2019-11-29 08:05:54 -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
Erwin Coumans
d9ab536682 Merge branch 'master' of https://github.com/erwincoumans/bullet3 2019-11-21 19:37:11 -08:00
Erwin Coumans
824fd6410f Use -> Set in API 2019-11-21 19:07:11 -08:00
erwincoumans
574343405d
Merge pull request #2499 from xhan0619/fix-render-mesh
Fix render mesh
2019-11-21 16:38:54 -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
Erwin Coumans
46a7fbe92f fix old threading examples 2019-11-20 17:06:05 -08:00
Chuyuan Fu
593fc872ab get correct AABB for softbody 2019-11-20 16:42:04 -08:00
Xuchen Han
edffb0cc55 update pybullet examples 2019-11-19 23:10:13 -08:00
Xuchen Han
00add5490f fix separate render and sim mesh 2019-11-19 23:10:08 -08:00
Xuchen Han
64e5e007e3 load render mesh from command 2019-11-19 21:07:26 -08:00
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
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
Erwin Coumans
e5ed15c3b2 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 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
Erwin Coumans
655981c6ad 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-18 23:37:22 -08:00
Erwin Coumans
dc26d2e360 PyBullet: fix memory leak in changeTexture command
Fixes #2481
2019-11-18 23:37:22 -08:00
Erwin Coumans
8f16332708 expose the double sided flag 2019-11-18 23:37:22 -08:00
Erwin Coumans
920b253e87 Deformables: enable double sided rendering, reduced the number of debug lines in regular rendering. 2019-11-18 23:37:22 -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
Xuchen Han
2edd94c722 add option to approximate face contact with collision quadrature points 2019-11-12 17:10:39 -08:00
Xuchen Han
794614f269 change collision detection between deformables to from continuous to discrete 2019-11-11 13:58:03 -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