Commit Graph

8807 Commits

Author SHA1 Message Date
erwincoumans
01bfdc643c
Merge pull request #2858 from CGJiaxiLiu/fix_softbody
Fix potential undefined softbody member in PhysicsServerCommandProcessor
2020-06-18 20:45:59 -07:00
erwincoumans
01c2b22d15
Merge pull request #2866 from xhan0619/clang-format
clang format PhysicsServerCommandProcessor and BulletSoftBody
2020-06-18 20:45:25 -07:00
Xuchen Han
92f2f56b3d add mass damping into damping model 2020-06-18 16:43:53 -07:00
Xuchen Han
abaf278c2d add extreme deformation demo 2020-06-17 18:49:09 -07:00
Xuchen Han
f7354751a9 improve contact stability for implicit scheme 2020-06-17 18:43:49 -07:00
Xuchen Han
4594927d02 corotate the damping force for linear elasticity 2020-06-17 18:43:14 -07:00
Xuchen Han
f23e745666 clang format PhysicsServerCommandProcessor and BulletSoftBody 2020-06-17 17:20:39 -07:00
erwincoumans
3fc3b081b8
Merge pull request #2862 from erwincoumans/master
implement mouse picking for deformable objects in PyBullet (the one u…
2020-06-17 08:37:36 -07:00
Erwin Coumans
4786ca1df2 Merge remote-tracking branch 'bp/master' 2020-06-16 16:20:17 -07:00
Xuchen Han
9cfe16abb4 add corotated linear elasticity 2020-06-16 15:57:58 -07:00
Erwin Coumans
a7b8b54c44 implement mouse picking for deformable objects in PyBullet (the one using p.resetSimulation(p.RESET_USE_DEFORMABLE_WORLD), not position based dynamics version) 2020-06-16 11:54:50 -07:00
Jiaxi
daaea3a4fb Fix potentially send data to invalid port 2020-06-14 21:57:43 -04:00
Jiaxi
f034e64cc6 Check for availability of soft body 2020-06-14 21:42:32 -04:00
Jiaxi
a848c1d6e9 Check for availability of soft body 2020-06-14 21:26:54 -04:00
Andy Maloney
2197101bc5 Fix parameter check in bFile::safeSwapPtr
If either the source or destination pointers are nullptr, we shouldn't continue otherwise we dereference nullptr or memcpy with nullptr which is undefined.

(Also move the check to return as soon as possible.)
2020-06-13 10:59:16 -04:00
Erwin Coumans
e18bf1f0d6 Merge branch 'master' of github.com:erwincoumans/bullet3 2020-06-09 10:13:49 -07:00
erwincoumans
da50438c3c
Merge pull request #2826 from xhan0619/grav-factor
Deformable gravity factor
2020-06-05 10:07:27 -07:00
Erwin Coumans
a2cdadb9b4 add check to avoid crash, if link is out of bounds. 2020-06-04 00:24:51 -07:00
Erwin Coumans
e82a4ecc6d Apply patch to apply force at softbody nodes, thanks to Robert Lee, see
https://github.com/bulletphysics/bullet3/issues/2699#issuecomment-610734583
2020-06-04 00:09:11 -07:00
Erwin Coumans
c09007e005 Merge branch 'master' of github.com:erwincoumans/bullet3 2020-06-04 00:00:44 -07:00
Erwin Coumans
e6a0206d47 Allow to remove soft body anchors, using pybullet.removeConstraint (untested).
Usage example:
anchors = []
anchors.append(p.createSoftBodyAnchor(clothId  ,0,-1,-1))
anchors.append(p.createSoftBodyAnchor(clothId ,3,boxId,-1, [0.5,-0.5,0]))
for a in anchors:
  p.removeConstraint(a)
2020-06-04 00:00:19 -07:00
erwincoumans
ac3dc0eea5
Merge pull request #2843 from erwincoumans/master
Allow to remove soft body anchors, using pybullet.removeConstraint
2020-06-03 20:18:31 -07:00
erwincoumans
fe2686809a
Merge pull request #2838 from erwincoumans/master
bump up pybullet version
2020-06-02 06:43:08 +00:00
Erwin Coumans
70ef150440 bump up pybullet version to 2.8.1 2020-06-01 23:41:13 -07:00
Erwin Coumans
d1ded7d704 use pybullet.URDF_GOOGLEY_UNDEFINED_COLORS for standard gym envs 2020-06-01 23:38:59 -07:00
Erwin Coumans
55fd613352 bump up pybullet version 2020-06-01 21:34:25 -07:00
erwincoumans
a1522b3891
Merge pull request #2822 from ManifoldFR/patch-1
Modify DeepMimic Gym env step() to query policy at 30Hz
2020-06-01 17:23:25 -07:00
erwincoumans
50af23e487
Merge pull request #2832 from xhan0619/pybullet-api
Set numNonContactInnerIterations from Pybullet
2020-06-01 17:19:45 -07:00
erwincoumans
eea724bc02
Merge pull request #2837 from erwincoumans/master
also allow reportHitNumber for single pybullet.rayTest, better mtl/urdf color selection
2020-06-01 17:18:24 -07:00
Erwin Coumans
84cb577622 Improve link color choice:
1) use URDF when available, unless URDF_USE_MATERIAL_COLORS_FROM_MTL and MTL color is available.
2) if URDF color is not specified, use MTL color if available
3) otherwise use white, unless URDF_GOOGLEY_UNDEFINED_COLORS flag is set (if set, semi-randomly pick one of the 4 Google colors)
2020-06-01 10:28:07 -07:00
erwincoumans
9111459665
Merge pull request #2835 from rdednl/fix-humanoid
fix double humanoid instantiation
2020-06-01 08:11:46 -07:00
Daniele Reda
409b0eaa39 fix double humanoid instantiation 2020-05-31 21:38:38 -07:00
Xuchen Han
a33a9412fa add numNonContactInnerIterations to getPhysicsParameters 2020-05-29 08:28:52 -07:00
Xuchen Han
e6fdaebea9 add api for setting non contact iteration for pybullet 2020-05-28 17:58:21 -07:00
Xuchen Han
8c0192d639 turn on deformable rigid face contact 2020-05-26 16:52:40 -07:00
Xuchen Han
8a189763df support configuring gravity factor from client 2020-05-26 16:51:45 -07:00
Xuchen Han
e89903a8ab support gravity factor for deformables 2020-05-26 16:48:50 -07:00
Wilson
829475c38a
Set DeepMimic Gym env to query policy at 30Hz
Addresses issue #2821
2020-05-24 16:30:47 +02:00
Erwin Coumans
4c1f28d0e4 Merge branch 'master' of github.com:erwincoumans/bullet3 2020-05-22 15:14:05 -07:00
Erwin Coumans
a3c4b2995e also allow reportHitNumber for single pybullet.rayTest (not just rayTestBatch) 2020-05-22 15:13:56 -07:00
erwincoumans
5233b72160
Merge pull request #2800 from xhan0619/splitImpulseMulti
Stability improvements for deformable.
2020-05-21 09:47:33 -07:00
Xuchen Han
243aa4ac1f switch to a lower default threshold of CR solver for fewer iterations 2020-05-20 17:57:16 -07:00
Xuchen Han
04efc9124d tune exampleBrowser demo parameters 2020-05-20 17:56:41 -07:00
Xuchen Han
d1d2dad2e6 do not apply deformable contact impulse to points and faces constrained in rigid/deformable solve 2020-05-20 17:56:20 -07:00
Xuchen Han
65978cb58b revert experimental changes to collision padding 2020-05-20 17:55:03 -07:00
erwincoumans
0f55ba45ca
Merge pull request #2812 from stephengold/master
btAlignedAllocator: filename args should be const char*
2020-05-20 07:20:54 -07:00
erwincoumans
de7080f5cc
Merge pull request #2815 from erwincoumans/master
in case of substeps use the compensated delta time / numSubSteps to c…
2020-05-20 07:20:21 -07:00
Erwin Coumans
7d61b3514c use memcpy instead of manual copy, alignment issue? 2020-05-20 07:19:26 -07:00
Erwin Coumans
32277c7bd5 in case of substeps use the compensated delta time / numSubSteps to convert between force and impulse. 2020-05-19 11:00:53 -07:00
Xuchen Han
f765b065c3 Merge remote-tracking branch 'xuchen/splitImpulseMulti' into splitImpulseMulti 2020-05-18 15:25:08 -07:00