erwincoumans
f13629bf48
Update __init__.py
2020-04-22 21:02:49 -07:00
Erwin Coumans
89a7907f45
add vesion of laikago with limits.
2020-04-14 13:39:43 -07:00
Erwin Coumans
e20b858a28
add pybullet_utils.transformations from ROS geometry:
...
https://github.com/ros/geometry/blob/melodic-devel/tf/src/tf/transformations.py
2020-03-24 10:34:02 -07:00
erwincoumans
eab851635e
Merge pull request #2679 from erwincoumans/master
...
Embed TCP remote graphics server in PyBullet (enable WFH), fixes for compilation on Visual C++ for Python 9.0
2020-03-22 14:04:35 -07:00
Erwin Coumans
0b6457d318
fix cmake/premake builds
2020-03-22 11:58:39 -07:00
Erwin Coumans
377069bfa5
add laikago/xarm in pybullet_robots
2020-03-22 11:37:08 -07:00
Antonin RAFFIN
a6314958a6
Add CheckpointCallback and load best automatically
2020-03-22 13:44:05 +01:00
Erwin Coumans
344bd629ee
embed TCP graphics server in PyBullet for easier working-from-home
...
This allows to render at a different machine, sending all assets across the TCP network, using port 6667 by default.
You can use ssh port forwarding to get this working:
ssh -R 6667:localhost:6667 username@remotehost.com -v
python3 -m pybullet_utils.graphicsServer
python3 -m pybullet_utils.graphicsClient
Note that there are still some tcp networking issues that can cause a hang, just restart graphics server and graphics client if it hangs.
2020-03-20 15:43:52 -07:00
Erwin Coumans
2d5e8ea1f3
convert upper/lower limits in urdfEditor.py
2020-03-13 20:49:39 -07: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
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
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
bfba4ac2b6
Merge pull request #2637 from drigz/tf-compat
...
Replace tensorflow with tf.compat.v1
2020-02-20 10:56:21 -08:00
Rodrigo Queiro
d18531cc6a
Replace tensorflow with tf.compat.v1
...
This means they won't break when using TensorFlow 2.0.
2020-02-19 17:35:48 +01:00
Antonin RAFFIN
21efd84c18
Add enjoy script for Stable Baselines
2020-02-15 21:06:10 +01:00
Erwin Coumans
b3ff3ebcb1
add pendulum of 5 links
2020-02-12 13:05:51 -08:00
Erwin Coumans
e7ad8a9d67
add urdf file for testing
2020-02-11 15:10:22 -08:00
Erwin Coumans
1be6a1d16b
fix loadpanda video generation
...
remove duplicate code (formerly Windows ffpmeg needed different settings?)
2020-01-12 08:07:54 -08:00
Erwin Coumans
84e2ea918c
add xarm, modify loadpanda to work with pybullet_robots module
2020-01-12 07:20:32 -08:00
Erwin Coumans
fb15aea414
add example robots in pybullet_robots module
2020-01-12 07:11:57 -08:00
Erwin Coumans
3ca233193f
:
2020-01-12 07:03:38 -08:00
Erwin Coumans
2f08938110
Merge branch 'master' of https://github.com/erwincoumans/bullet3
2020-01-11 16:52:01 -08:00
Erwin Coumans
3f11b03255
add friction anchors for Panda gripper (prevents/reduces sliding objects out of gripper)
2020-01-11 13:13:28 -08:00
erwincoumans
2dcb372080
Merge pull request #2565 from araffin/feat/sb-example
...
Add Stable-Baselines example with SAC and TD3
2020-01-08 11:51:35 -08:00
Erwin Coumans
3cdbc4cc29
fix CartPoleBulletEnv-v1 and add CartPoleContinuousBulletEnv-v0 (continuous version)
2020-01-02 19:33:57 -08:00
Erwin Coumans
3c8cf390d4
one more fix in previous commit related to bullet_client.py
2020-01-02 14:45:42 -08:00
Antonin RAFFIN
adad4dc402
Update buffer size
2020-01-02 14:47:30 +01:00
Antonin RAFFIN
59c61a46bb
Simplify imports
2020-01-02 11:12:45 +01:00
Antonin RAFFIN
da0483b03a
Add colab notebook
2020-01-02 11:06:39 +01:00
Antonin RAFFIN
9c969614bc
Add Stable-Baselines example with SAC and TD3
2020-01-02 11:00:45 +01:00
Erwin Coumans
c39afa61cb
revert bullet_client.py
2020-01-01 20:27:27 -08:00
Erwin Coumans
a9455ce891
add 'runServer.py' script in pybullet_utils, this will run a GUI server
...
that accepts SHARED_MEMORY connections. Handy if you run a pybullet_envs Gym environment
and want to visualize it. By default, bullet_client will try to connect to a shared memory connection first.
2020-01-01 18:53:32 -08:00
Erwin Coumans
b6dea7ba64
fix a few pybullet Gym environments for rendering in stable_baselines
...
if PYBULLET_EGL environment is set, try to enable EGL for faster rendering
bump up pybullet to 2.6.2
2020-01-01 18:47:46 -08:00
Erwin Coumans
528bd28e34
increase plane from 30 to 200 (to allow quadrupeds to run further, not fall off cliff)
...
fix issue with gym.wrappers in pybullet_envs.agents.visualize_ppo.py
2019-12-31 18:13:49 -08:00
Erwin Coumans
ffc76fbf6d
add xarm 6 example with inverse kinematics (IK) that runs about 150 microseconds (Ryzen 3900x)
2019-12-22 17:17:37 -08:00
Erwin Coumans
7241fe19b9
Merge branch 'master' of https://github.com/erwincoumans/bullet3
2019-12-13 09:21:00 -08:00
Erwin Coumans
30b42a14f0
add single-link arm urdf files for debugging
2019-12-13 09:20:46 -08:00
Erwin Coumans
3668bc5e2a
tweak premake4 default batch file.
...
add manual control for joint angles in XArm6 example.
2019-12-12 07:02:27 -08:00
Erwin Coumans
1a245f4e11
Merge branch 'master' of https://github.com/erwincoumans/bullet3
2019-12-11 16:49:04 -08:00
Erwin Coumans
2f6eb59e16
add z-up version of Laikago, centered along the chassis center of mass
2019-12-11 16:47:52 -08:00
Erwin Coumans
d254b65fee
Merge remote-tracking branch 'bp/master'
2019-12-10 15:48:24 -08:00
Erwin Coumans
e7778502e7
fix pybullet_envs path
2019-12-10 15:48:07 -08:00
erwincoumans
880faef997
Merge pull request #2535 from erwincoumans/master
...
Googley colors for xarm (debugging) and tweak example with table etc.…
2019-12-09 09:26:47 -08:00
Erwin Coumans
1a491dc700
Googley colors for xarm (debugging) and tweak example with table etc. Add missing link6_vhacd.obj
2019-12-09 09:25:15 -08:00
erwincoumans
e0a43fb116
Merge pull request #2534 from erwincoumans/master
...
remove duplicate xarm6.urdf
2019-12-09 08:57:00 -08:00