Commit Graph

1056 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
Chuyuan Fu
e74ffa2f65 add body type info to dynamics info 2019-09-28 14:43:40 -07:00
Erwin Coumans
95a7488310 PyBullet: fix createMultiBodyBatch.py example 2019-09-13 07:38:00 -07:00
Erwin Coumans
64ea8e9f27 PyBullet createMultiBody(Batch), return all body unique ids
PyBullet: fix crash: always check for existance m_multibodyWorld in ::render method
2019-09-09 16:41:25 -07:00
erwincoumans
9cf50846d6
Merge pull request #2393 from muupan/fix-typo-duration
Fix typo: s/duraction/duration/g
2019-09-04 09:37:57 -07:00
Chuyuan Fu
ecc28d6472 revert testing example 2019-09-03 14:35:33 -07:00
Chuyuan Fu
e4a5f9e06e add body type info to dynamics info 2019-09-03 14:27:19 -07:00
muupan
4c209a4834 Fix typo: s/duraction/duration/g 2019-09-03 17:29:43 +09:00
Erwin Coumans
648844e898 minor fixes, bump up pybullet to 2.5.5 2019-08-14 21:30:10 -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
e0b642d730 pybullet: fix calculateInverseKinematics2 2019-08-11 17:02:16 -07:00
Erwin Coumans
f9b232b153 pybullet: allow programmatic creation of heightfield. See https://github.com/erwincoumans/bullet3/tree/master/examples/pybullet/examples/heightfield.py
premake4: allow to build example browser without C++11, re-enable stable PD control plugin using --enable_stable_pd=True
2019-08-11 13:59:24 -07:00
Artur Ryt
c39c842fe3 Fix examples\pybullet\premake4.lua parsing error
There is missing } after previous edit (226819), which leads
to error when using build_visual_studio_vr_pybullet_double.bat

Adding it back fixed the error.
2019-08-09 13:58:36 +02:00
erwincoumans
fc95415c0e
Merge pull request #2359 from erwincoumans/master
premake add enable_stable_pd option, so Bullet can be compiled withou…
2019-08-08 09:58:32 -07:00
erwincoumans
226819b839 premake add enable_stable_pd option, so Bullet can be compiled without C++11 (Visual Studio 2010 etc)
PyBullet: improve sleeping: if the base is static and all joints in the chain between this link and the base are fixed, then this link is static too (doesn't merge islands)
Fix PyBullet compilation of Visual Studion 2010
2019-08-07 21:57:05 -07:00
erwincoumans
666e1a8bad
Merge pull request #2357 from fuchuyuan/setWarmStartFactor
API and pybullet bindings for setting warmstarting factor
2019-08-07 17:34:58 -07:00
erwincoumans
1981493a65
Merge pull request #2356 from erwincoumans/master
sync graphics server at resetJointState, resetSimulation, load*
2019-08-06 15:54:43 -07:00
Chuyuan Fu
2e64b27a31 bindings for setting warmstarting factor
fix space
2019-08-06 15:53:31 -07:00
Erwin Coumans
bf90b6a1d5 update PyBullet quickstart guide pdf version
tweak profileTiming example
2019-08-05 08:32:45 -07:00
erwincoumans
3ac4959e95
Update DeepMimic_Optimizer.py 2019-08-02 07:08:51 -07:00
erwincoumans
4a4c807381
Update DeepMimic_Optimizer.py
remove timing
2019-08-01 21:24:28 -07:00
Erwin Coumans
6d844e5df1 pybullet: more detailed nested timings 2019-08-01 19:15:02 -07:00
Erwin Coumans
7263439c4b improved for inserting profile timings from Python, to analyzer performance of pybullet programs.
See examples/pybullet/examples/profileTiming.py for an example. Note that python and c++ is properly interleaved.
Open a timings with a name, close the timing without a name. Note that timings can be recursive, added/popped as a stack.
2019-08-01 19:12:16 -07:00
Erwin Coumans
38d56a42de Merge branch 'master' of https://github.com/erwincoumans/bullet3 2019-07-29 20:29:29 -07:00
Erwin Coumans
51fba6f78d export btHeightfieldTerrainShape to PyBullet. Note that tinyrenderer doesn't support rendering it (it would be too slow on CPU)
fix rare getKeyboardEvents threading issue
change texture color to default plane.urdf blue
2019-07-29 20:23:38 -07:00
Erwin Coumans
4bb5d07e3e pybullet_envs.deep_mimic: add pretrained spinkick model (only trained for 20 million steps, may need more for nicer mimic) 2019-07-29 08:22:57 -07:00
Erwin Coumans
cc2d15cd89 pybullet_envs.deep_mimic add pretrained jump weights 2019-07-29 08:11:15 -07:00
Erwin Coumans
3ba34f45b7 Merge branch 'master' of https://github.com/erwincoumans/bullet3 2019-07-28 18:13:48 -07:00
Erwin Coumans
020e569ece pybullet_envs.deep_mimic add pretrained crawl policy 2019-07-28 18:01:37 -07:00
Erwin Coumans
09bea429f7 Merge branch 'master' of https://github.com/erwincoumans/bullet3 2019-07-28 17:24:37 -07:00
Erwin Coumans
1e21000d07 pybullet_envs.deep_mimic: update humanoid3d_cartwheel pretrained policy 2019-07-28 17:23:54 -07:00
Erwin Coumans
45c393e86e Merge remote-tracking branch 'bp/master' 2019-07-27 10:25:31 -07:00
erwincoumans
d2665d3d80
Merge pull request #2305 from BartMoyaers/parse_contact_bodies
parse fall contact bodies
2019-07-27 10:09:36 -07:00
Erwin Coumans
36f3adc03f copy/move heightfield files around (part of pybullet_data)
prepare for heightfield support in pybullet (first step, needs a bit more)
2019-07-25 13:01:26 -07:00
Erwin Coumans
3eedb2a6f2 fix rotational friction between btMultiBody and btRigidBody 2019-07-24 22:07:16 -07:00
Erwin Coumans
654a91057b remove temp file 2019-07-23 18:15:15 -07:00