Commit Graph

8484 Commits

Author SHA1 Message Date
erwincoumans
fee2eb53bf Merge pull request #2795 from RanTig/fixUrdfUserdataLink
Fixes bug where user data from a URDF link wasn't being applied on the correct link.
2020-05-17 14:10:48 -07:00
erwincoumans
6c2ba709f0 Merge pull request #2801 from stephengold/master
btCollisionObject.h: add getters for m_objectsWithoutCollisionCheck
2020-05-17 13:47:27 -07:00
erwincoumans
0b4c3774c0 Merge pull request #2805 from fuchuyuan/collisionMargin
Collision margin
2020-05-17 13:46:53 -07:00
Chuyuan Fu
c87cda15b7 fix space 2020-05-15 14:21:06 -07:00
Chuyuan Fu
bad085554c set collision margin for implicit cynlinder 2020-05-15 14:19:23 -07:00
Stephen Gold
c1bc1a3688 btCollisionObject.h: add getters for m_objectsWithoutCollisionCheck 2020-05-13 03:24:49 -07:00
Tigran Gasparian
faa708db49 Fixes bug where user data defined in a URDF link wasn't being applied on
the correct link.
2020-05-11 19:27:04 +02:00
erwincoumans
004dcc3404 Merge pull request #2793 from erwincoumans/master
add fractionEpsilon to filter rays with similar hit fraction
2020-05-08 20:18:07 -07:00
Erwin Coumans
53b65b795f add fractionEpsilon to filter rays with similar hit fraction
remove debug printf
2020-05-09 02:42:47 -07:00
erwincoumans
b154bf75b8 Merge pull request #2788 from fuchuyuan/generateFaceMesh
Write face mesh to obj and fix rigid transform for softbody
2020-05-08 13:00:43 -07:00
erwincoumans
959b3e8258 Merge pull request #2790 from erwincoumans/master
add reportHitNumber to allow reporting a specific ray intersection hit
2020-05-08 12:59:06 -07:00
Erwin Coumans
f0cccf0faa add collisionFilterMask to rayTestBatch and rayTest
This will allow to exclude (filter) certain bodies.
By default, static bodies have collision group 2, and dynamic (mass=1) bodies have collision group 1.
As long as mask & group != 0, a raytest will be performed.
2020-05-08 11:57:25 -07:00
Erwin Coumans
8f380b3fd2 use white as default undefined color instead of the googley colors.
use loadURDF(..., flags = pybullet.URDF_GOOGLEY_UNDEFINED_COLORS) to get Googley colors when colors are undefined.
2020-05-08 10:44:39 -07:00
Erwin Coumans
daa0a27403 add reportHitNumber to allow reporting a specific ray intersection hit
(by default, pybullet.rayTestBatch reports the closest hit, so you can report 2nd closest or 3rd closest hit etc)
Fix pybullet.createCollisionShape, in some cases (concave trimesh, convex mesh) two instances were created.
2020-05-07 23:23:24 -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
Erwin Coumans
5fd11fe90b add crossguid 2020-05-07 23:20:55 +00:00
erwincoumans
86a950b135 Merge pull request #2787 from NiranthS/patch-1
Update externalTorqueControlledSphere.py
2020-05-07 10:38:09 -07:00
NiranthS
620e899e28 Update externalTorqueControlledSphere.py 2020-05-07 22:44:32 +05:30
erwincoumans
8b0c7069d3 Merge pull request #2785 from erwincoumans/master
fix OpenGL issue on Mac osx (required resize) and semi-colon for base64.h
2020-05-06 20:05:25 -07:00
erwincoumans
f92ad9a33d Update base64.h 2020-05-06 17:58:22 -07:00
Erwin Coumans
0883aa06f3 fix OpenGL issue on Mac OSX, requiring a resize before drawing works ok. 2020-05-06 17:39:41 -07:00
erwincoumans
6daec96f39 Merge pull request #2784 from erwincoumans/master
add cpp_base64
2020-05-06 15:50:01 -07:00
Erwin Coumans
298ee24f0e add cpp_base64 2020-05-06 22:49:09 +00: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
erwincoumans
9a662530ed Merge pull request #2783 from sippeyxp/rmdbgvar
Remove unused thread-unsafe debug variable 'maxIteration' …
2020-05-06 14:57:26 -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
erwincoumans
bedf63c34d Merge pull request #2781 from erwincoumans/master
bump up pybullet version to 2.7.5
2020-05-05 08:21:20 -07:00
Erwin Coumans
d479ca712c allow to call getDebugVisualizerCamera in DIRECT mode (returns all 0) 2020-05-05 03:15:26 +00:00
Erwin Coumans
8719ac6c95 soft body is not enabled in the test 2020-05-05 02:46:19 +00:00
Erwin Coumans
696837af16 Merge remote-tracking branch 'bp/master' 2020-05-05 02:43:01 +00:00
Erwin Coumans
65bad4c269 bump up pybullet version to 2.7.5 2020-04-29 20:03:54 -07:00
erwincoumans
ca50714996 Merge pull request #2775 from xhan0619/splitImpulse
Split impulse
2020-04-29 20:00:00 -07:00
Xuchen Han
84f028a5e6 move the position of physicsclientid in the list of argument to be the last 2020-04-29 16:40:06 -07:00
erwincoumans
c354c6dec4 Merge pull request #2774 from fuchuyuan/master
updateVisualShape for softbody
2020-04-29 16:10:24 -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
Chuyuan Fu
4e1fa56104 updateVisualShape for softbody
fix

fix space
2020-04-27 20:08:32 -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
ae3526254d add API for setting repulsion stiffness 2020-04-27 17:42:45 -07:00
Xuchen Han
301cad8a09 tune parameters in deformable demos 2020-04-27 17:30:46 -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
erwincoumans
ddc47f9328 Merge pull request #2769 from NiranthS/master
Changed "eglrendertest.py":Windows Error
2020-04-26 11:55:31 -07:00
erwincoumans
897a18146e Merge pull request #2768 from erwincoumans/master
conditionally compile btSoftBody only if not SKIP_SOFT_BODY_MULTI_BOD… …
2020-04-26 11:33:14 -07:00
Erwin Coumans
05160e25f4 Merge branch 'master' of https://github.com/erwincoumans/bullet3 2020-04-25 22:33:01 -07:00
Erwin Coumans
847eeda76d fix pybullet_envs locomotion camera issues: camera lagging behind over time, also follow cam in 'GUI' mode, allow user to change disance/yaw/pitch 2020-04-25 22:32:01 -07:00