Commit Graph
986 Commits
Author SHA1 Message Date
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
stolk b7ff35ae86 Remove unused member variable from dispatcher. 2020-04-03 09:48:16 -07:00
Stephen Gold abb2e4ee23 delete comments plainly marking the altered source code 2020-02-23 21:48:25 -08:00
Stephen Gold 43877214bd use safeNormalize() to avoid assert failure in btVector3::normalize() 2020-02-17 22:45:22 -08:00
Stephen Gold 75b05d93ff apply custom pair-cache filter to predictive contacts 2020-02-13 00:04:42 -08:00
erwincoumans 66ffa329c8 Merge pull request #2577 from xhan0619/master
Add position error into deformable vs. rigid contact
2020-01-11 16:05:15 -08:00
erwincoumans 5bf6adcf9d Update btCollisionDispatcherMt.h
add a space to fix compile errors
2020-01-11 06:57:35 -08:00
Xuchen Han a808d74895 fix bug in the pretransform of rigid body interpolation transform 2019-12-30 10:55:30 -08:00
Anis de9ac113c4 a better approach to merge new manifolds on multithreaded CPU dispatcher 2019-12-30 02:17:59 +01:00
Daniele Bartolini 94f0a14e43 Fix warning with -Wreorder 2019-12-18 21:20:49 +01:00
erwincoumans 4414136f32 Merge pull request #2541 from dbartolini/cleanup-fix-multi-line-warning
Fix multi-line comment warning with -Wcomment
2019-12-17 19:10:07 -08:00
erwincoumans 63843dffc2 Merge pull request #2543 from dbartolini/cleanup-fix-user-headers
Fix warning with -Wunused-parameter
2019-12-17 19:09:20 -08:00
erwincoumans 2d66858918 Merge pull request #2544 from dbartolini/cleanup-dbvt
Remove unnecessary copy constructor in btDbvt
2019-12-17 19:08:52 -08:00
Daniele Bartolini 4ea4c7ef6a Remove unnecessary copy constructor in btDbvt 2019-12-15 01:21:24 +01:00
Daniele Bartolini 78398df00e Fix warning with -Wunused-parameter 2019-12-15 01:03:01 +01:00
Daniele Bartolini b91124b012 Fix multi-line comment warning with -Wcomment 2019-12-15 00:41:00 +01:00
Daniele Bartolini 0aa4974b98 Remove unnecessary copy constructor in btBroadphasePair 2019-12-15 00:35:44 +01:00
Xuchen Han 794614f269 change collision detection between deformables to from continuous to discrete 2019-11-11 13:58:03 -08:00
Aaron Franke 133fd3a73c Fix "seperate" typos 2019-10-31 08:29:09 -04:00
Chuyuan Fu 913400eba1 add SOLVER_USE_ARTICULATED_WARMSTARTING option and APIs
fix compile
2019-10-23 21:36:26 -07:00
Chuyuan Fu ac680be673 fix space 2019-10-23 21:36:08 -07:00
Chuyuan Fu 08f53fc38d add warmstart 2019-10-23 21:36:08 -07:00
Xuchen Han 96bf2f2ff5 address PR comments 2019-10-01 14:47:49 -07:00
Xuchen Han cb46440e17 add normal cone optimization for self-collision 2019-09-28 14:44:41 -07:00
Xuchen Han 4e1c1a30a7 remove world dependency from btDeformableBodySolver,btDeformableBackwardEulerObjective, and btCGProjection; reduce invasion into multibody world, all chnages are cosmetic now 2019-08-21 22:17:46 -07:00
Xuchen Han fce1296413 fix the issue that compound objects's child does not get rotated in the material space in interpolationWorldTransform 2019-08-16 13:45:29 -07:00
Xuchen Han 07bf736aeb build islands once and process islands arbitrary number of times in update constraints 2019-08-16 13:45:29 -07:00
Erwin Coumans f09cefabe8 Merge remote-tracking branch 'bp/master' 2019-08-14 21:14:56 -07:00
erwincoumans 7fa70c3857 Merge pull request #2351 from xhan0619/Deformable
Add deformable body world and solver
2019-08-14 21:13:41 -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 54111f7023 PyBullet: add support for internal edge filtering for height field terrains 2019-08-09 10:14:14 -07:00
Xuchen Han 3dc8abcf36 only call buildIslands once for multibody in each timestep 2019-08-02 13:15:06 -07:00
Xuchen Han 243b9fc8c7 combat friction drift in positionCorrect by changing velocity and change it back (effectively only changing position) 2019-08-02 13:14:15 -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 a42acfbe31 btHeightFieldTerrainShape, init new member
instead height of example terrain
2019-07-23 15:23:11 -07:00
Erwin Coumans ebde9926a8 add example loading heightfield from image and csv, using assets from DeepLoco (thanks to Jason Peng) and
from this Blender tutorial https://www.beamng.com/threads/tutorial-adding-heightmap-roads-using-blender.16356/
2019-07-23 11:26:31 -07:00
erwincoumans 1061b3d816 Update btMprPenetration.h
fix typo
2019-06-17 09:39:25 -07:00
Rémi Verschelde d85b800702 Convert DOS (CRLF) source files to Unix (LF) line endings
Excluded `examples/pybullet/gym/pybullet_data/` which has many (3000+)
CRLF data files (obj, mtl, urdf), and `docs/pybullet_quickstart_guide`
which has generated .js and .htm files with CRLF line endings too.
2019-05-22 10:01:32 +02:00
Chuyuan Fu 64ebe27477 Add safety check 2019-05-16 18:13:29 -07:00
erwincoumans a8d1c121fd allow Z as up-axis for raycast acceleration in btHeightfieldTerrainShape 2019-04-16 10:34:59 -07:00
erwincoumans f28fd91e4f add raycast accelerator for btHeightfieldTerrainShape, thanks to Marc Zylann, see https://github.com/bulletphysics/bullet3/pull/2062
it can be disabled by setting the flag cb.m_flags |= btTriangleRaycastCallback::kF_DisableHeightfieldAccelerator;
acceleration is disabled for z axis up.
add btHeightfieldTerrainShape example to example browser
2019-04-15 21:55:29 -07:00
Stephen Gold 231195843f in btSimpleBroadphase::destroyProxy(), remove pairs before freeing proxy 2019-04-02 21:51:58 -07:00
Francois Beaune 649a7d0981 Fix crash in btGImpactMeshShape vs btBvhTriangleMeshShape 2019-02-27 10:41:54 +01:00
Erwin Coumans 77a9a77b60 create some 'Unity Build' cpp files, to work-around setuptools on Windows creating >32k command-line
see 'won't fix' in https://bugs.python.org/issue1539295
2019-01-24 10:32:15 -08:00
erwincoumans e637b24237 remove Rand.* and <random> (no C++11) 2019-01-23 17:35:45 -08:00
erwincoumans 93087f36df avoid conflicts when using a unity build (single cpp file including many other cpp) 2019-01-23 13:35:58 -08:00
erwincoumans ae8e83988b Add preliminary PhysX 4.0 backend for PyBullet
Add inverse dynamics / mass matrix code from DeepMimic, thanks to Xue Bin (Jason) Peng
Add example how to use stable PD control for humanoid with spherical joints (see humanoidMotionCapture.py)
Fix related to TinyRenderer object transforms not updating when using collision filtering
2019-01-22 21:08:37 -08:00
Erwin Coumans 80684f44ea fix issue 76 (should be harmless) 2019-01-04 10:10:20 -08:00
Erwin Coumans 01bb0c3bd7 avoid macro redefinition 2019-01-04 08:40:54 -08:00
Erwin Coumans 83213da154 applied patch for Issue 68
// Ensure that gContactProcessedCallback is called for concave shapes.
        if (getLastManifold())
            m_resultOut->refreshContactPoints();
2018-12-22 17:06:57 -08:00