Commit Graph

9133 Commits

Author SHA1 Message Date
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
erwin coumans
8b8c1af6a4 Cleaned-up/fixed version of this Pull Request #3239, thanks to Wenlong Lu 2021-04-05 11:40:45 -07:00
erwin coumans
4d34ba7310 add updated Laikago envs_v2, with PMTG and MPC examples.
python -m pybullet_envs.minitaur.envs_v2.locomotion_gym_env_test
python -m pybullet_envs.minitaur.envs_v2.examples.laikago_mpc_wrapper_example
python -m pybullet_envs.minitaur.envs_v2.examples.laikago_static_gait_example
python -m pybullet_envs.minitaur.agents.baseline_controller.locomotion_controller_example
PMTG example, not well tuned:
python -m pybullet_envs.minitaur.envs_v2.examples.laikago_pmtg_example
2021-04-05 11:35:19 -07:00
Erwin Coumans
58d47935a3 Merge remote-tracking branch 'bp/master' 2021-03-26 11:53:37 -07:00
erwin coumans
d1c4c41b9a add performCollisionDetection (stepSimulation also calls this, but does more, including solving constraints and integration) 2021-03-26 10:31:13 -07:00
erwincoumans
93be7e6440
Merge pull request #3311 from erwincoumans/master
allow to compile pybullet using btDiscreteDynamicsWorld (no btMultiBody, no btSoftBody, no btDeformableBody)
2021-03-26 10:29:04 -07:00
erwin coumans
0196edd4d2 update single aabb, during resetJointState/resetBasePositionAndOrientation, to allow raycast/collision queries. 2021-03-26 09:11:59 -07:00
Kieren
c810edf483 Updating a misleading comment 2021-03-25 21:00:27 +10:00
erwin coumans
546212b158 add mug obj 2021-03-22 16:53:17 -07:00
Chris Djali
6e2577ca59
Use drawTriangle instead of drawing three lines 2021-03-21 15:07:01 +00:00
erwin coumans
6f7d458679 add missing line in previous commit 2021-03-16 18:17:23 -07:00
erwincoumans
395e17c7bf
Merge pull request #3238 from yycho0108/add-link-names-to-createmultibody
Add linkNames argument to CreateMultibody
2021-03-15 22:48:33 -07:00
erwin coumans
5cf8ee3360 Allow to compile pybullet using btDiscreteDynamicsWorld (no multibodies and no deformables), this allows to create Jacobian and Mass matrix (and A=J*M-1*J_transpose) with MLCP solvers
Add examples/pybullet/gym/pybullet_utils/readwriteurdf.py, this allows to read a URDF and write the URDF with more reasonable inertia tensors (based on mass and collision volumes)
2021-03-15 22:44:55 -07:00
erwin coumans
0b8f95598d Merge remote-tracking branch 'bp/master' into master 2021-03-11 17:12:01 -08:00
erwincoumans
87e668f6b2
Merge pull request #3293 from glebm/heightfield-type
heightfield: Fix PHY_FLOAT data handling in double-precision mode
2021-03-11 17:10:38 -08:00
erwincoumans
2bd7fa7064
Merge pull request #3287 from glebm/heightfield-accel
heightfield: improve `processAllTriangles` performance
2021-03-11 17:10:20 -08:00
Erwin Coumans
5864901a2e bump up pybullet to 3.1.0, wheels are using numpy 1.19.5 (to be colab compatible) 2021-03-08 09:32:43 -08:00
erwincoumans
0c7ea68709
Merge pull request #3246 from Danfoa/master
Fix Stable-PD Control bug on First Order Taylor approximation of next `q` state
2021-03-07 08:19:37 -08:00
erwincoumans
0bf5f2cd84
Merge pull request #3301 from crewmatt/master
Update User Data imported from URDF to default to empty string when null
2021-03-07 08:14:30 -08:00
mbennice
296cd85f60 Fix tab/spaces 2021-03-05 09:54:53 -08:00
mbennice
237843b93a Default user data text to empty string when null. 2021-03-05 09:52:10 -08:00
erwincoumans
2465756313
Merge pull request #3297 from erwincoumans/master
bump up PyBullet to 3.09
2021-03-04 12:10:28 -08:00
Erwin Coumans
57c9e66ea9 bump up PyBullet to 3.09 2021-03-04 11:31:17 -08:00
erwincoumans
db5be234dd
Merge pull request #3296 from erwincoumans/master
add bullet_client.py options, fix memory leak in EGL/GUI mode with textures.
2021-03-04 11:22:53 -08:00
erwin coumans
5832166f53 Merge branch 'master' of github.com:erwincoumans/bullet3 into master 2021-03-04 10:31:16 -08:00
erwin coumans
201f3dd7d8 cmake: move stable pd files from BulletRoboticsGUI to BulletRobotics. 2021-03-04 09:55:35 -08:00
Erwin Coumans
b619763569 Merge remote-tracking branch 'bp/master' 2021-03-04 09:38:13 -08:00
erwin coumans
3963f077fc Fix memory leak in EGL / GUI mode, resetSimulation with textures in GUI mode.
Fixes Issue #3285
2021-03-04 09:13:22 -08:00