Commit Graph

9010 Commits

Author SHA1 Message Date
erwin coumans
f14911c998 fix a tsan test failure 2021-05-06 18:34:43 -07:00
erwin coumans
e952ac6f63 Add pybullet.configureDebugVisualizer(rgbBackground=[red,green,blue]) (each component a float in the range [0,1])
This is an alternative to passing options="--background_color_red=red --background_color_green=green --background_color_blue=blue" in the connect method.
2021-05-06 18:08:22 -07:00
erwin coumans
8e85dedaa9 PyUnicode_AsUTF8 breaks python 2.x compatibility 2021-05-06 10:19:15 -07:00
erwin coumans
e4ff5a45d4 Merge branch 'master' of github.com:erwincoumans/bullet3 into master 2021-04-28 12:13:44 -07:00
erwin coumans
b696ed7d7b enable roll angle in pybullet.computeViewMatrixFromYawPitchRoll / b3ComputeViewMatrixFromYawPitchRoll 2021-04-28 12:13:31 -07:00
Erwin Coumans
d70c3cfdc8 Merge branch 'master' of github.com:erwincoumans/bullet3 2021-04-25 00:41:28 -07:00
Erwin Coumans
18c62ed725 bump up pybullet version 2021-04-25 00:41:13 -07:00
erwin coumans
a142e8d174 Merge branch 'master' of github.com:erwincoumans/bullet3 into master 2021-04-24 23:53:04 -07:00
erwin coumans
3b2e46e7dd PyBullet: try to address activation/deactivation issue with fixed base multibody with links. 2021-04-24 23:52:53 -07:00
erwincoumans
e0b9bc6d7f
Merge pull request #3357 from erwincoumans/master
fixed base should set activation state to 'ISLAND_SLEEPING'
2021-04-22 21:29:43 -07:00
Erwin Coumans
1f6baad974 bump up pybullet version to 3.1.5 2021-04-22 20:42:20 -07:00
Erwin Coumans
85a03bf999 Merge remote-tracking branch 'bp/master' 2021-04-22 20:41:59 -07:00
Erwin Coumans
fc2992b75a Merge branch 'master' of github.com:erwincoumans/bullet3 2021-04-22 20:41:45 -07:00
erwin coumans
6cb72b5128 python38 in cmake batch file 2021-04-22 20:32:49 -07:00
erwin coumans
46ea89a284 fixed base should set activation state to 'ISLAND_SLEEPING' 2021-04-22 20:20:08 -07:00
erwincoumans
45d3ead747
Merge pull request #3356 from erwincoumans/master
LICENSE should have no txt extension
2021-04-22 16:46:07 -07:00
Erwin Coumans
184b7816d0 LICENSE should have no txt extension 2021-04-22 16:45:29 -07:00
erwincoumans
a7832e3a18
Merge pull request #3355 from erwincoumans/master
sync recent changes
2021-04-22 16:37:01 -07:00
erwincoumans
afb572166a
Merge pull request #3353 from crewmatt/master
Fix memory leak in BulletSoftBody.
2021-04-22 16:29:01 -07:00
Erwin Coumans
c915e82d49 Merge branch 'master' of github.com:erwincoumans/bullet3 2021-04-22 16:20:31 -07:00
Matt Bennice
225fa20944 Fix memory leak in BulletSoftBody. 2021-04-22 15:32:38 -07:00
Erwin Coumans
83a5fe2d31 Merge branch 'master' of github.com:erwincoumans/bullet3 2021-04-21 22:14:38 -07:00
erwincoumans
00dcc77885
Merge pull request #3352 from erwincoumans/master
getDynamicsInfo report local inertia diagonal for useMaxima… …
2021-04-20 20:22:38 -07:00
erwin coumans
a5761f2b10 pybullet: getDynamicsInfo report local inertia diagonal for useMaximalCoordinates 2021-04-20 20:20:55 -07:00
Erwin Coumans
9f91e6837a remove type annotations
bump up pybullet version
2021-04-20 15:50:12 -07:00
erwincoumans
5c2fa7009b
Merge pull request #3300 from al-tu/cmake-option-per-extra
one cmake option per one extra package
2021-04-20 14:57:02 -07:00
erwincoumans
201e7159d6
Merge pull request #3351 from erwincoumans/master
PyBullet: expose useMultiBody argument for loadMJCF command, expose sleeping threshold
2021-04-20 14:42:42 -07:00
erwincoumans
f774a102ee
Merge pull request #3350 from r-a-sattarov/master
examples/RobotSimulator/CMake: fixed warning (mis-matching arguments)
2021-04-20 13:45:04 -07:00
erwin coumans
e58e5bdf95 PyBullet:
expose pybullet.changeDynamics(sleepThreshold), default 0.05, for both useMaximalCoordinates=False and True
When the dot(vel,vel) < sleepThreshold for longer than 2 seconds (this timeout is hard coded) objects that have the ACTIVATION_STATE_ENABLE_SLEEPING enabled with be deactivated
Example:
p.changeDynamics(ob, -1, activationState=p.ACTIVATION_STATE_ENABLE_SLEEPING, sleepThreshold=0.05)
2021-04-20 11:29:27 -07:00
erwin coumans
fd154cee8f set default sleeping threshold for useMaximalCoordinate btRigidBody to be similar to btMultiBody (0.05) 2021-04-20 11:14:28 -07:00
erwin coumans
78f5b141f9 fix for 'useMaximalCoordinates' rigid body in PyBullet: activate a rigid body after picking 2021-04-20 10:24:09 -07:00
erwin coumans
84a63cf221 allow to use the useMultiBody argument for loadMJCF command
note that for dynamic and static objects (without joints) it is best to set useMultiBody=False
2021-04-19 20:37:26 -07:00
r-a-sattarov
a923ce184e examples/RobotSimulator/CMake: fixed warning (mis-matching arguments) 2021-04-19 23:32:57 +03:00
erwincoumans
48ba5a37ad
Merge pull request #3348 from erwincoumans/master
disable texture release, it causes crashes, need to figure out better…
2021-04-15 20:30:13 -07:00
erwin coumans
910c20334f disable texture release, it causes crashes, need to figure out better solution 2021-04-15 20:26:01 -07:00
Alexander Turkin
f26e858154 added default ON values for cmake OPTIONS to fix linker errors on ci builds 2021-04-14 13:42:43 +03:00
Alexander Turkin
f04768ecc4 Merge branch 'master' into cmake-option-per-extra 2021-04-14 13:41:19 +03:00
erwincoumans
5ae9a15eca
Merge pull request #3063 from jiangnanhugo/patch-1
Update README.md
2021-04-10 15:58:41 -07:00
erwincoumans
049d13d190
Merge pull request #3324 from kjander0/bug/update_comment
Updating a misleading comment
2021-04-10 15:57:14 -07:00
erwincoumans
0a8e4f3f6c
Update README.md 2021-04-10 15:56:13 -07:00
Erwin Coumans
973d8c128f Merge branch 'master' of github.com:erwincoumans/bullet3 2021-04-07 22:13:18 -07:00
erwincoumans
0478d10099
Merge pull request #3341 from jaraujo98/patch-1
Replace xrange with range
2021-04-07 21:40:11 -07:00
jaraujo98
dcf9c8d6a5
Replace xrange with range
The xrange function was deprecated in Python 3. Removing it for compatibility.
2021-04-06 11:26:39 -07:00
erwincoumans
21d1b8fc71
Merge pull request #3339 from erwincoumans/master
add pybullet_examples, fix pybullet_envs.minitaur.envs_v2, bump up pybullet 3.1.2
2021-04-05 19:53:38 -07:00
Erwin Coumans
5205dafcc2 add __init__.py 2021-04-05 19:51:38 -07:00
Erwin Coumans
29f388a5d8 add selected examples under pybullet_examples 2021-04-05 19:50:46 -07:00
Erwin Coumans
513e3a7db4 add more __init__.py files 2021-04-05 18:07:39 -07:00
Erwin Coumans
674c82db89 bump up pybullet version to 3.1.2
add missing __init__.py files
2021-04-05 17:58:25 -07:00
erwincoumans
7ec009ec50
Merge pull request #3320 from AnyOldName3/patch-1
Use drawTriangle instead of drawing three lines
2021-04-05 16:21:35 -07:00
erwincoumans
2c3318f86d
Merge pull request #3331 from erwincoumans/master
add performCollisionDetection (stepSimulation also calls this, but do…
2021-04-05 12:54:39 -07:00