Commit Graph

2987 Commits

Author SHA1 Message Date
Erwin Coumans
27fbbfee7f pybullet removeAllParameters (sliders, buttons)
pybullet addUserDebugParameter adds button instead of slider, if min > max.
2020-03-16 21:29:30 -07:00
erwincoumans
07b9194e15
Merge pull request #2667 from xhan0619/teleport
Teleport deformables
2020-03-15 21:12:26 -07:00
Xuchen Han
27d2cdaef0 Merge remote-tracking branch 'xuchen/master' into teleport 2020-03-15 19:29:06 -07:00
erwincoumans
e8c873a5cd
Merge pull request #2672 from erwincoumans/master
embed V-HACD directly into PyBullet
2020-03-15 19:18:11 -07:00
Erwin Coumans
17c6839a77 add example of using vhacd in pybullet 2020-03-15 18:15:14 -07:00
Erwin Coumans
f0528db5e9 embed V-HACD directly into Pybullet to make it easier to use:
pip3 install pybulle
import pybullet as p
p.connect(p.DIRECT)
p.vhacd("teddy.obj", "teddy_large_newout.obj", "newlog.txt", depth=2,resolution=1000000)
2020-03-16 00:38:52 -07:00
erwincoumans
8721482e7b
Merge pull request #2670 from erwincoumans/master
convert upper/lower limits in urdfEditor.py
2020-03-15 12:53:54 -07:00
Erwin Coumans
2d5e8ea1f3 convert upper/lower limits in urdfEditor.py 2020-03-13 20:49:39 -07:00
Xuchen Han
0a66818841 Use latest mouse position for picking force 2020-03-13 14:52:13 -07:00
Xuchen Han
4730dab4bb Address PR comments 2020-03-13 14:52:13 -07:00
Chuyuan Fu
f43c40f694 fix space 2020-03-13 14:52:13 -07:00
Chuyuan Fu
b4bfe4fa99 fix rigidbody activation 2020-03-13 14:52:13 -07:00
Erwin Coumans
4d0d8a189c increase the number of steps from 1000 to 2000, to mimic multiple cycles 2020-03-13 14:52:13 -07:00
Erwin Coumans
ca5061fac3 set correct reward for deep_mimic gymenv (max episode = 1000 steps, 1 reward at each step)
terminate testrl.py at 1000, show reward
2020-03-13 14:52:12 -07:00
Erwin Coumans
9ecd0884d9 Connect deep_mimic_env.py to internal pybullet_deep_mimic_env.py
This adds two untested Gym environments to pybullet_envs. todo: train using PPO2 etc
HumanoidDeepMimicBackflipBulletEnv-v1
HumanoidDeepMimicWalkBulletEnv-v1
2020-03-13 14:52:12 -07:00
Erwin Coumans
812c675d4c prepare towards HumanoidDeepMimicBackflipBulletEnv-v1 and HumanoidDeepMimicWalkBulletEnv-v1
remove unused SubprocVecEnv from stable_baselines/enjoy.py
2020-03-13 14:52:12 -07:00
Erwin Coumans
55de20b945 add flag to assure deterministicOverlappingPairs 2020-03-13 14:52:12 -07:00
Erwin Coumans
91df837a79 use PyBullet's own visualizer for enjoy script, + add a time.sleep since it is way too fast (1000FPS for cart pole) 2020-03-13 14:52:12 -07:00
Xuchen Han
4b35af3830 change deformable teleport to absolute pose 2020-03-12 16:40:25 -07:00
Xuchen Han
6e97302610 activate deformable after teleporting 2020-03-12 16:39:28 -07:00
Xuchen Han
cbf282fb2f Add support for teleporting deformables 2020-03-12 16:39:28 -07:00
Xuchen Han
7dfef92267 Add support for picking deformable with mouse 2020-03-09 11:19:08 -07:00
Xuchen Han
41ca8b9e59 More parameter tuning for cloth-like behavior 2020-03-06 16:29:32 -08:00
Xuchen Han
ec0e9892b5 add slider demo 2020-03-06 16:04:34 -08:00
Chuyuan Fu
d02989cc96 fix space 2020-03-05 10:50:54 -08:00
Chuyuan Fu
b37448278a fix rigidbody activation 2020-03-05 10:48:56 -08:00
Xuchen Han
4efc983ca5 bug fixes and parameter tuning 2020-03-04 17:22:46 -08:00
erwincoumans
8a3e2e9fa6
Merge pull request #2653 from xhan0619/master
Bug fix in barycentric weight calculation
2020-03-03 11:53:22 -08:00
Xuchen Han
1cb9a0630f bug fix in barycentric weight calculation 2020-03-02 22:48:25 -08:00
erwincoumans
acb7f7ee8a
Merge pull request #2652 from xhan0619/master
Support separate render and simulation obj & fix sleeping issue for deformable.
2020-03-02 17:06:37 -08:00
erwincoumans
2b1e27834b
Merge pull request #2649 from erwincoumans/master
use PyBullet's own visualizer for enjoy script, + add a time.sleep si…
2020-03-02 16:43:21 -08:00
Xuchen Han
62537436f2 more Motor->NonContactInner 2020-03-02 16:03:27 -08:00
Xuchen Han
4f36e09747 Motor->NonContactInner 2020-03-02 16:00:40 -08:00
Xuchen Han
c86da93d58 fix type error 2020-03-02 13:29:59 -08:00
Erwin Coumans
1f3c0057e5 increase the number of steps from 1000 to 2000, to mimic multiple cycles 2020-03-02 12:52:14 -08:00
Xuchen Han
a6bc125945 formatting 2020-03-02 12:12:04 -08:00
Xuchen Han
dbf2050269 extrapolate render mesh 2020-03-02 12:12:04 -08:00
erwincoumans
44ddb17c0c
Merge pull request #2645 from xhan0619/master
Separate motor constraint iterations and expose API.
2020-03-01 21:48:22 -08:00
Erwin Coumans
6b393dffca set correct reward for deep_mimic gymenv (max episode = 1000 steps, 1 reward at each step)
terminate testrl.py at 1000, show reward
2020-03-01 21:27:30 -08:00
Erwin Coumans
81c1daacbb Connect deep_mimic_env.py to internal pybullet_deep_mimic_env.py
This adds two untested Gym environments to pybullet_envs. todo: train using PPO2 etc
HumanoidDeepMimicBackflipBulletEnv-v1
HumanoidDeepMimicWalkBulletEnv-v1
2020-03-01 21:13:10 -08:00
Erwin Coumans
7c5073d3ab prepare towards HumanoidDeepMimicBackflipBulletEnv-v1 and HumanoidDeepMimicWalkBulletEnv-v1
remove unused SubprocVecEnv from stable_baselines/enjoy.py
2020-03-01 13:11:47 -08:00
Erwin Coumans
7ecb769a9c add flag to assure deterministicOverlappingPairs 2020-03-01 12:22:47 -08:00
Erwin Coumans
da5ac61baa use PyBullet's own visualizer for enjoy script, + add a time.sleep since it is way too fast (1000FPS for cart pole) 2020-02-29 22:02:01 -08:00
Erwin Coumans
8e8955571f workaround for Tensorflow 2.x breaking API:
try:
  import tensorflow.compat.v1 as tf
except Exception:
  import tensorflow as tf
2020-02-29 20:35:05 -08:00
Xuchen Han
7ad19fde6f formatting 2020-02-26 14:16:51 -08:00
Xuchen Han
84117b8440 separate motor constraint iterations and expose API 2020-02-26 14:11:41 -08:00
Erwin Coumans
36738b7676 release memory of m_deformableBodySolver in ClothFriction demo. 2020-02-22 10:40:31 -08:00
erwincoumans
279a5c19d5
Merge pull request #2640 from erwincoumans/master
PyBullet: add option to merge fixed links in URDF file, capsule field init
2020-02-21 17:49:51 -08:00
erwincoumans
3f4299d588
Merge pull request #2630 from vabr-g/vabr-g-dlerror-patch
Include dlerror() in handling of failed dlopen()
2020-02-21 17:26:13 -08:00
erwincoumans
e78eb2706d
Merge pull request #2627 from araffin/feat/sb-enjoy
Add enjoy script for Stable Baselines
2020-02-21 17:25:39 -08:00