Commit Graph

9013 Commits

Author SHA1 Message Date
Erwin Coumans
bc51ac3f0f Support getCachedReturnData for PhysicsLoopBack
re-use existing code path for streaming plugin return data (work-in-progress)
2020-10-07 08:24:33 -07:00
Erwin Coumans
954ceff2ec Add an option for a plugin to report return data after calling executePluginCommand. Also add python binding.
Currently the return data has to fit in shared memory, 8MB (Linux, Windows) or 1MB (Apple)
Preparation for streaming is added (to allow unlimited return data, see CMD_CUSTOM_COMMAND_STREAM_RETURN_DATA)

New C-API: b3GetStatusPluginCommandReturnData
PyBullet reports return data if available, in pybullet_executePluginCommand

For the plugin developer:
plugin can provide additional return data for executePluginCommand in the b3PluginContext, during executePluginCommand.
Lifetime of this m_returnData pointer is minimum of next call to the next executePluginCommand or plugin termination.
2020-10-06 20:19:39 -07:00
Erwin Coumans
7a6c90409f Merge remote-tracking branch 'bp/master' into master 2020-10-06 13:56:06 -07:00
erwincoumans
afa4fb5450
Merge pull request #3097 from yxyang/patch-1
Add <inertia> for missing links in a1.urdf
2020-10-06 11:21:40 -07:00
Yuxiang Yang
82182e1ba7
Add <inertia> for missing links in a1.urdf
Currently a few collision frames in a1.urdf ("{FL/FR/RL/RR}_upper_shoulder") do not have <inertia> defined, and pybullet loads as if they have 1kg mass. This leads to inaccurate simulation results.
2020-10-06 00:28:24 -07:00
Erwin Coumans
6b91ecc0c5 allow to set changeDynamics(body, link, contactProcessingThreshold) for multibodies
(set to 0 if restitution is important)
2020-10-05 16:33:41 -07:00
Erik Gärtner
777ab5a5ab Revert "in case of substeps use the compensated delta time / numSubSteps to convert between force and impulse."
This reverts commit 32277c7bd5.
2020-10-02 15:49:23 +02:00
Steven89Liu
104789ca99 we should use the m_jointMotorForceMultiDof which is indexed by degree
of freedom.
2020-10-01 15:58:45 +08:00
David Cavazos
e78d31171b
Fix Colab link 2020-09-29 08:32:48 -07:00
David Cavazos
9c2313f5c8
Add documentation
Adds documentation to explain each step and have links to useful pages to improve the onboarding experience.
2020-09-29 08:30:36 -07:00
ManifoldFR
6a9cd4615c fix typo 2020-09-29 12:02:35 +02:00
ManifoldFR
281e7df2ec UrdfParser: make axis warning print single line 2020-09-29 12:00:05 +02:00
tfederico
be27283a8e add pretrained policies and remove extra motion file 2020-09-25 12:16:51 +01:00
erwincoumans
b12da620ab
Merge pull request #3082 from erwincoumans/master
@erwincoumans bump up PyBullet and Bullet version to 3.05 (in sync for this release)
2020-09-24 10:12:24 -07:00
Erwin Coumans
e454b90c5b bump up PyBullet and Bullet version to 3.05 (in sync for this release) 2020-09-24 10:11:37 -07:00
Erwin Coumans
3d220888fa disable cone friction 2020-09-24 09:19:51 -07:00
tfederico
91cb40c5ba add plotting utility 2020-09-23 16:18:51 +01:00
tfederico
61df6d2ff4 remove comments and unused code 2020-09-23 16:15:30 +01:00
erwincoumans
0c563174fc
Merge pull request #3037 from issakomi/cwe190-1
CWE-190 integer overflow in btConvexHullComputer
2020-09-22 12:58:43 -07:00
Erwin Coumans
2154aad0ca bump up Bullet to version 2.90 2020-09-21 18:09:08 -07:00
Erwin Coumans
8f20c2dcec bump up pybullet to 3.0.4 2020-09-21 17:46:03 -07:00
erwincoumans
438d21fa89
Merge pull request #3072 from erwincoumans/master
allow rendering of (textured) heightfield in TinyRenderer and EGL.
2020-09-21 17:45:10 -07:00
Erwin Coumans
cfd3c99f0e add spirit40 urdf file, compatible with
https://github.com/google-research/motion_imitation/pull/26
2020-09-21 17:44:07 -07:00
Erwin Coumans
e6c4305fa5 Merge branch 'master' of github.com:erwincoumans/bullet3 into master 2020-09-21 16:12:07 -07:00
Erwin Coumans
2e1b84487b Add a soccerball obj/urdf, hand-modeled in Blender, using guidance from https://www.youtube.com/watch?v=N93n6hPsqkI (but using texture mapping so the export to OBJ works in PyBullet) 2020-09-21 16:11:52 -07:00
Erwin Coumans
ad9ccec61e bump up pybullet again, 3.0.3 2020-09-20 16:39:32 -07:00
Erwin Coumans
d0dc96aa05 Merge remote-tracking branch 'bp/master' 2020-09-20 16:36:45 -07:00
Erwin Coumans
46a2823ebc bump up pybullet version 2020-09-20 16:34:50 -07:00
Erwin Coumans
1bd82e7d81 allow rendering of (textured) heightfield in TinyRenderer and EGL.
Also update normals, if heightfield is updated.
2020-09-20 16:03:56 -07:00
erwincoumans
ad931b8c39
Merge pull request #3071 from niello/patch-1
Fix for CMake 3.18.2 + VS2019
2020-09-19 11:57:48 -07:00
Vladimir Orlov
39363d200a
Fix for CMake 3.18.2 + VS2019 2020-09-19 17:27:37 +02:00
erwincoumans
7f4fdb16b3
Merge pull request #3061 from fuchuyuan/addAttributes
add configurable parameters to urdf
2020-09-18 16:59:43 -07:00
Chuyuan Fu
f51e92000a initialize default value 2020-09-17 15:38:23 -07:00
tfederico
ab8d927845 Add files for multiclip reward 2020-09-17 18:04:41 +01:00
Erwin Coumans
4f8f28233c allow alternative deformable indexing (internal use/testing) 2020-09-17 03:15:44 -07:00
erwincoumans
5ce97ffdb1
Merge pull request #3066 from erwincoumans/master
allow alternative deformable indexing (internal use/testing)
2020-09-16 20:16:35 -07:00
erwincoumans
03ebf4e539
Merge pull request #3060 from r-a-sattarov/master
E2K: fixed build by MCST lcc compiler when using BUILD_EXTRAS=ON option
2020-09-16 12:18:22 -07:00
Nan Jiang
46519720eb
Update README.md 2020-09-15 12:39:31 -04:00
Chuyuan Fu
7d8379bad4 add configurable parameters to urdf 2020-09-14 12:34:21 -07:00
r-a-sattarov
73599ba199 E2K: fixed build by MCST lcc compiler when using BUILD_EXTRAS=ON option 2020-09-14 22:22:45 +03:00
erwincoumans
29304a53aa
Merge pull request #3058 from erwincoumans/master
bump up pybullet version, fix warning
2020-09-13 21:06:29 -07:00
Erwin Coumans
e9f486eebb narrow from double to float please 2020-09-13 18:32:52 -07:00
Erwin Coumans
391cf6bd94 Merge branch 'master' of github.com:erwincoumans/bullet3 2020-09-13 18:29:29 -07:00
Erwin Coumans
7125f32bc4 Merge branch 'master' of github.com:erwincoumans/bullet3 2020-09-13 16:52:43 -07:00
Erwin Coumans
3b563c73f4 bump up pybullet to 3.0.0 2020-09-13 16:52:29 -07:00
erwincoumans
d3dfe4aaa6
Merge pull request #3057 from erwincoumans/master
fixes in colors/cached textures for deformables
2020-09-13 16:50:10 -07:00
Erwin Coumans
0c2a54193c fixes in cached textures (pointer re-use) 2020-09-13 16:49:13 -07:00
Erwin Coumans
f9a96442d1 disable texture caching in some place, due to pointer re-use issue 2020-09-13 16:24:42 -07:00
Erwin Coumans
f8288e029e fix color for deformables, if texture is not specified 2020-09-13 16:07:42 -07:00
erwincoumans
87a22bc507
Merge pull request #3056 from erwincoumans/master
re-enable pybullet.getVisualShapeData for deformables
2020-09-13 15:21:43 -07:00