Commit Graph

8261 Commits

Author SHA1 Message Date
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
7762b2957e fix error in barycentric weight calculation 2020-03-06 16:23:14 -08:00
Xuchen Han
ec0e9892b5 add slider demo 2020-03-06 16:04:34 -08:00
erwincoumans
4ab1ded781
Merge pull request #2657 from fuchuyuan/activate
Activate
2020-03-05 11:55:22 -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
2869a386a7 prevent geometric collision for sleeping deformable objects 2020-03-02 13:32:04 -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
erwincoumans
35fa7f908d
Merge pull request #2648 from erwincoumans/master
workaround for Tensorflow 2.x breaking API:
2020-02-29 21:41:58 -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
erwincoumans
dc11c43666
Merge pull request #2641 from erwincoumans/master
fix memleak due to custom container, release memory of m_deformableBodySolver in ClothFriction demo
2020-02-22 11:18:41 -08:00
Erwin Coumans
dc19da18ee fix memory leak due to custom container not handling copy operator for recursive containers 2020-02-22 10:54:23 -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
erwincoumans
49960d18df
Update UrdfParser.cpp
fix cast
2020-02-21 16:49:05 -08:00
Erwin Coumans
0fd8598ca3 fix pybullet constants in previous commit 2020-02-21 16:16:13 -08:00
Erwin Coumans
f5afe9a1d1 Merge remote-tracking branch 'bp/master' 2020-02-21 15:12:17 -08:00
Erwin Coumans
6e18cd0fd7 bump up pybullet version to 2.6.6 2020-02-21 15:05:37 -08:00
Erwin Coumans
e29ba9fe5c add option to merge fixed links in URDF file (improves performance, can handle URDF files with many fixed links)
add option to ignore visual and collision shapes in URDF file
2020-02-21 15:04:26 -08:00
Erwin Coumans
6910fc9229 initialize capsule from_to field 2020-02-21 02:05:01 -08:00
erwincoumans
981d5f2bf3
Merge pull request #2634 from stephengold/safeNormalize
use safeNormalize() to avoid assert failure in btVector3::normalize()
2020-02-20 10:57:42 -08:00
erwincoumans
bfba4ac2b6
Merge pull request #2637 from drigz/tf-compat
Replace tensorflow with tf.compat.v1
2020-02-20 10:56:21 -08:00