Commit Graph

9369 Commits

Author SHA1 Message Date
Chuyuan Kelly Fu
548d6af901 fix compile 2022-02-18 17:49:26 -08:00
Chuyuan Kelly Fu
807cf3d387 format commit 2022-02-18 17:49:26 -08:00
Chuyuan Kelly Fu
bdba9fa2e0 format changes 2022-02-18 17:49:26 -08:00
Chuyuan Kelly Fu
4e5b3f34c9 add API to get and set mesh velocity 2022-02-18 17:49:26 -08:00
Chuyuan Kelly Fu
450c95d0b9 format files 2022-02-18 17:49:21 -08:00
Chuyuan Kelly Fu
236d39d2ec reset deformable velocity 2022-02-18 17:47:54 -08:00
Chuyuan Kelly Fu
07de08a38e request mesh velocity 2022-02-18 17:47:54 -08:00
Chuyuan Kelly Fu
fb3b306af1 load deformable deterministic setting 2022-02-18 17:47:54 -08:00
erwincoumans
9eac022ffa Merge pull request #4169 from bulletphysics/revert-3979-deformableForces
Revert "Add deformable contact forces info"
2022-02-18 17:36:42 -08:00
erwincoumans
22ef34bb69 Revert "Add deformable contact forces info" 2022-02-18 16:14:53 -08:00
Jingyu Chen
ca334946a7 fixed the uninitialized values in FreeFall example 2022-02-18 11:18:04 -08:00
jaecheol.sim
7d7fb1e291 urdfEditor - handle joint limits 2022-02-15 15:30:10 +09:00
Jingyu Chen
c159305910 fixed the incorrect solverBody pairing issue of the reduced deformable solver. still have the problem that the reduced deformable sometimes doesn't show up 2022-02-13 21:30:11 -08:00
erwincoumans
2cad239c00 Merge pull request #4160 from erwincoumans/master
update pybullet quickstart guide pdf
2022-02-12 16:25:17 -08:00
Erwin Coumans
256fe2ec70 update pybullet quickstart guide pdf 2022-02-12 16:24:46 -08:00
erwincoumans
f0f2a952e1 Merge pull request #4151 from erwincoumans/master
add btMultiBody spherical joint limit
2022-01-31 09:37:00 -08:00
jingyuc
f8abdd1fe1 clean up: remove unused example, rename the benchmark example 2022-01-30 22:33:24 -08:00
jingyuc
11b79c3838 clean up: rename folder 2022-01-30 21:30:43 -08:00
jingyuc
cf7b142063 clean up: add missing CMakeLists 2022-01-30 21:13:24 -08:00
jingyuc
6a78b4bb07 clean up: rename the *ReducedSoftBody* as *ReducedDeformableBody* for clarity 2022-01-30 21:12:05 -08:00
jingyuc
bfef75f871 clean up: reverted some unnecessary changes 2022-01-30 17:41:44 -08:00
jingyuc
fbeafa0249 Merge branch 'bulletphysics:master' into master 2022-01-30 14:32:06 -08:00
Erwin Coumans
6906198132 Implement joint limit for btMultiBody spherical joint. In URDF, add
<limit effort="1000.0" lower="0.2" upper=".8" twist=".3"/>
effort is max force/impulse
lower = swing range in X
upper = swing range in Y
twist = twist range around Z
(ranges all in radians)
lower, upper, twist and effort need to be > 0, otherwise no limit is created

See examples/pybullet/examples/spherical_joint_limit.py and
    examples/pybullet/gym/pybullet_data/spherical_joint_limit.urdf
2022-01-30 13:04:24 -08:00
Erwin Coumans
5cd8160086 add spherical_joint_limit.py example 2022-01-30 13:00:52 -08:00
Erwin Coumans
b602045665 Implement joint limit for btMultiBody spherical joint. In URDF, add
<limit effort="1000.0" lower="0.2" upper=".8" twist=".3"/>
effort is max force/impulse
lower = swing range in X
upper = swing range in Y
twist = twist range around Z
(ranges all in radians)
lower, upper, twist and effort need to be > 0, otherwise no limit is created

See examples/pybullet/examples/spherical_joint_limit.py and
    examples/pybullet/gym/pybullet_data/spherical_joint_limit.urdf
2022-01-30 13:00:11 -08:00
Erwin Coumans
6cc267f84b fix cmake build
see also https://github.com/MicrosoftDocs/cpp-docs/issues/2378
2022-01-29 16:52:03 -08:00
Peter
2a5a1d4935 Add explicit int cast to avoid conversion warning
On some platforms size_t is declared as unsigned long, and this triggers spurious
Wconversion warnings in expressions using sizeof operator.
To supress this warning, add explicit cast of sizeof output to int. This is safe, since 
sizeof(btChunk) is very small compared to max value of int.
2022-01-25 21:46:28 +03:00
Jelle
06a212e667 Remove unused variable 2022-01-13 18:15:29 +01:00
erwincoumans
478da7469a Merge pull request #4116 from jamesbraza/fixing-imaging-examples
Fixing pybullet example on getting a point cloud
2022-01-11 22:15:24 -08:00
erwincoumans
dc72081eb1 Merge pull request #4119 from erwincoumans/master
move the mutex lock to include the 'getNewManifold', dealing with Iss…
2022-01-03 16:13:27 -08:00
Erwin Coumans
5d1c8a2ece move the mutex lock to include the 'getNewManifold', dealing with Issue #4117 2022-01-02 21:05:07 -08:00
James Braza
51a5aa8026 Added forgotten capitalization of code tag 2022-01-02 15:30:23 -05:00
James Braza
0e114e9f9b Added comment about why H x W differ from expected 2022-01-02 15:20:30 -05:00
James Braza
72dc1bb4dd Added numpy reshapings to raw image 2022-01-02 15:11:17 -05:00
James Braza
878e3d57f6 Added comment giving confidence in the changing w x h orderings 2022-01-02 15:08:16 -05:00
erwincoumans
f84b523c05 Merge pull request #4100 from erwincoumans/master
fix texture coordinates for aliengo trunk
2021-12-10 17:27:43 -08:00
Erwin Coumans
0ab3b9d9f7 fix texture coordinates for aliengo trunk 2021-12-10 17:25:39 -08:00
erwincoumans
0fac8209c9 Merge pull request #4099 from erwincoumans/master
replace mpl licensed meshes by hand-made textured ones
2021-12-10 16:16:08 -08:00
Erwin Coumans
610fb2c117 prettify aliengo trunk a bit 2021-12-10 16:12:41 -08:00
Erwin Coumans
0aecbb9cdc delete MPL licensed meshes, replace by manual textured meshes. 2021-12-10 15:51:25 -08:00
Jingyu Chen
c9a2d733ad modified benchmark example 2021-12-09 20:39:40 -05:00
Jingyu Chen
f19133e410 allow multiple reduced deformable object in one sim 2021-12-09 16:55:10 -05:00
Jingyu Chen
1feb81463a change reduced deformable example set up in pybullet 2021-12-09 14:21:03 -05:00
erwincoumans
578523eab4 Merge branch 'master' into master 2021-12-06 12:38:25 -08:00
jingyuc
4634077733 debug setup again 2021-12-02 11:51:00 -05:00
jyc-n
a018d63fb3 debug pybullet setup 2021-12-01 22:39:23 -05:00
erwincoumans
6a59241074 Merge pull request #4060 from erwincoumans/master
bump up PyBullet to version 3.21
2021-12-01 10:29:58 -08:00
Erwin Coumans
9c380f18f6 bump up PyBullet to version 3.21 2021-12-01 10:28:20 -08:00
jingyuc
96605f7a8c Fixed a bug in btReducedSoftBody::transform(): the mesh was rotated/translated incorrectly using btSoftBody::transform(). Now works for mesh whose CoM is not at (0,0,0) 2021-11-29 15:58:33 -05:00
erwincoumans
fa50f195e6 Merge pull request #4048 from priority-kew/aliengo_reduced_meshes
Import Aliengo URDF
3.21
2021-11-24 13:59:22 -08:00