Erwin Coumans
|
51b7e1040f
|
more fixes in the pybullet gym environments: use main instead of demo_run,
add missing main to some eaxmples.
pip install pybullet
train:
python -m pybullet_envs.examples.train_pybullet_cartpole
enjoy:
python -m pybullet_envs.examples.enjoy_pybullet_cartpole
enjoy pretrained environments:
python -m pybullet_envs.examples.enjoy_TF_AntBulletEnv_v0_2017may
python -m pybullet_envs.examples.enjoy_TF_HalfCheetahBulletEnv_v0_2017may
python -m pybullet_envs.examples.enjoy_TF_AntBulletEnv_v0_2017may
python -m pybullet_envs.examples.enjoy_TF_HopperBulletEnv_v0_2017may
python -m pybullet_envs.examples.enjoy_TF_HumanoidBulletEnv_v0_2017may
python -m pybullet_envs.examples.enjoy_TF_InvertedDoublePendulumBulletEnv_v0_2017may
python -m pybullet_envs.examples.enjoy_TF_InvertedPendulumBulletEnv_v0_2017may
python -m pybullet_envs.examples.enjoy_TF_InvertedPendulumSwingupBulletEnv_v0_2017may
python -m pybullet_envs.examples.enjoy_TF_Walker2DBulletEnv_v0_2017may
Run some gym environment test:
python -m pybullet_envs.examples.racecarGymEnvTest
Create/Import a specific Gym environment:
python
import pybullet_envs
env = gym.make("AntBulletEnv-v0")
env = gym.make("HalfCheetahBulletEnv-v0")
env = gym.make("HopperBulletEnv-v0")
env = gym.make("HumanoidBulletEnv-v0")
env = gym.make("Walker2DBulletEnv-v0")
env = gym.make("InvertedDoublePendulumBulletEnv-v0")
env = gym.make("InvertedPendulumBulletEnv-v0")
env = gym.make("MinitaurBulletEnv-v0")
env = gym.make("RacecarBulletEnv-v0")
env = gym.make("KukaBulletEnv-v0")
env = gym.make("CartPoleBulletEnv-v0")
|
2017-08-26 13:13:53 -07:00 |
|
Erwin Coumans
|
b1426322ed
|
add gif to pybullet data
add python files to .gitignore
pybullet bump up version to 1.2.5
|
2017-08-25 18:08:53 -07:00 |
|
erwincoumans
|
dd9ecce79e
|
Merge pull request #1274 from erwincoumans/master
all methods (except connect, obviously) have the physicsClientId argu…
|
2017-08-25 16:37:16 -07:00 |
|
Erwin Coumans
|
bcc60224f0
|
all methods (except connect, obviously) have the physicsClientId argument, even if they don't use it. This makes it easier to create a wrapper API to store the physics client. This allows easier multi-threaded versions with multiple Bullet DIRECT instances (or SHARED_MEMORY, TCP, UDP etc).
See for example https://github.com/bulletphysics/bullet3/blob/master/examples/pybullet/gym/pybullet_envs/bullet/bullet_client.py and https://github.com/bulletphysics/bullet3/blob/master/examples/pybullet/gym/pybullet_envs/bullet/minitaur.py
|
2017-08-25 14:04:45 -07:00 |
|
erwincoumans
|
be7ddfcc5c
|
Merge pull request #1221 from Wugand/patch-1
Fix for memory leak at btCreateCompoundFromGimpactShape
|
2017-08-25 08:30:07 -07:00 |
|
erwincoumans
|
983da08da8
|
Merge pull request #1271 from erwincoumans/master
pybullet: remove 'data' from MANIFEST.in
|
2017-08-24 22:38:24 -07:00 |
|
Erwin Coumans
|
0d0caa7cbc
|
Merge branch 'master' of https://github.com/erwincoumans/bullet3
|
2017-08-24 22:02:34 -07:00 |
|
Erwin Coumans
|
1fc148d5d0
|
fixes in racecarGymEnv: implement 'render' rgb image, fix in naming,
fix in observation bounds.
|
2017-08-24 22:01:45 -07:00 |
|
Erwin Coumans
|
c7c3e76e56
|
Merge remote-tracking branch 'bp/master'
|
2017-08-24 21:42:32 -07:00 |
|
erwincoumans
|
ee3bb1efc5
|
Merge pull request #1272 from jonathantompson/exit_0_fix
OpenGL window error handling updates
|
2017-08-24 15:44:38 -07:00 |
|
Jonathan Tompson
|
29acd99d25
|
changed exit(0) to exit(EXIT_FAILURE) for OpenGLWindow functions, and changed printf to fprintf(stderr for error string printing.
|
2017-08-24 15:18:43 -07:00 |
|
Erwin Coumans
|
a975d094c3
|
Merge branch 'master' of https://github.com/erwincoumans/bullet3
|
2017-08-24 13:33:58 -07:00 |
|
Erwin Coumans
|
cb6914fa4c
|
use better defauls values for minitaur
|
2017-08-24 13:33:45 -07:00 |
|
Erwin Coumans
|
16d9e2fb38
|
Merge branch 'master' of https://github.com/erwincoumans/bullet3
|
2017-08-24 10:16:25 -07:00 |
|
erwincoumans
|
a119a77bc7
|
Merge pull request #1270 from erwincoumans/master
pybullet fix leak for concave collision shapes. Allow continuous control for MIT racecar gym environment
|
2017-08-24 10:09:04 -07:00 |
|
Erwin Coumans
|
5c5993edcb
|
fix potential memory leaks for concave triangle meshes (<concave=true> or createCollisionShape with flags=1)
|
2017-08-24 09:16:11 -07:00 |
|
Erwin Coumans
|
577ddd4f55
|
remote 'data' from MANIFEST.in
|
2017-08-23 23:58:53 -07:00 |
|
Erwin Coumans
|
f0c32b84c0
|
allow continuous control for MIT racecar gym environment, use differential drive version
|
2017-08-23 23:12:26 -07:00 |
|
Erwin Coumans
|
8a4f51baa4
|
Merge branch 'master' of https://github.com/erwincoumans/bullet3
|
2017-08-23 21:45:05 -07:00 |
|
erwincoumans
|
83510f0652
|
Merge pull request #1268 from erwincoumans/master
update minitaur gym env, fix pybullet racecarGymEnv to use thread-safe pybullet
|
2017-08-23 18:41:56 -07:00 |
|
Erwin Coumans
|
ff4270a517
|
fix pybullet racecarGymEnv to use thread-safe pybullet
|
2017-08-23 18:22:20 -07:00 |
|
Erwin Coumans
|
75231d63e8
|
use name MinitaurBulletEnv
|
2017-08-23 17:45:41 -07:00 |
|
Erwin Coumans
|
0851b45f39
|
update minitaur gym env
|
2017-08-23 17:41:34 -07:00 |
|
Erwin Coumans
|
8866840712
|
Clarify in naming that the environment uses MJCF xml files with Bullet, it doesn't use MuJoCo.
|
2017-08-23 15:03:57 -07:00 |
|
erwincoumans
|
a9fb0033a4
|
Merge pull request #1265 from erwincoumans/master
refactor pybullet/gym to allow instantiating environments directly fr…
|
2017-08-23 10:07:36 -07:00 |
|
Erwin Coumans
|
f19f28b5ed
|
more fixes in pybullet/resources, moved enjoy/train/test in 'examples' folder.
|
2017-08-22 10:07:47 -07:00 |
|
Erwin Coumans
|
21ca6a90f0
|
more fixes for pybullet
|
2017-08-22 09:32:16 -07:00 |
|
Erwin Coumans
|
dd4cc5f4ef
|
add minitaur quadruped
|
2017-08-22 09:00:46 -07:00 |
|
Erwin Coumans
|
e064d4b837
|
more fixes in pybullet_envs: fix path, add missing data resources
|
2017-08-22 08:59:39 -07:00 |
|
Erwin Coumans
|
21f9d1b816
|
refactor pybullet/gym to allow instantiating environments directly from a pybullet install:
work-in-progress (need to add missing data files, fix paths etc)
example:
pip install pybullet
pip install gym
python
import gym
import pybullet
import pybullet_envs
env = gym.make("HumanoidBulletEnv-v0")
|
2017-08-22 00:42:02 -07:00 |
|
erwincoumans
|
bd28b212e1
|
Merge pull request #1263 from erwincoumans/master
improve the new pybullet gym environments, upgrade to OpenVR 1.0.9, add preliminary support for Mac OSX OpenVR
|
2017-08-20 20:28:08 -07:00 |
|
Erwin Coumans
|
c06ea72a4c
|
improve the new pybullet gym environments, follow camera, disable 2D GUI, disable rendering during loading (makes it faster)
disable vsync on Mac
fix setup.py file
|
2017-08-20 18:11:53 -07:00 |
|
Erwin Coumans
|
c4112ec5cc
|
Merge remote-tracking branch 'bp/master'
|
2017-08-19 16:16:56 -07:00 |
|
Erwin Coumans
|
b80a387a1e
|
upgrade to latest OpenVR 1.0.9 (https://github.com/ValveSoftware/openvr)
enable experimental Mac OSX OpenVR, tested using Apple External Graphics Development Kit.
|
2017-08-19 09:48:32 -07:00 |
|
erwincoumans
|
a4f28e1589
|
Merge pull request #1219 from lunkhound/pr-nncg
NNCG solver: apply rolling friction consistently
|
2017-08-18 13:31:54 -07:00 |
|
erwincoumans
|
b940a83797
|
Merge pull request #1257 from erwincoumans/master
bump up pybullet setup.py version, make B3_NO_PYTHON_FRAMEWORK defaul…
|
2017-08-18 13:30:03 -07:00 |
|
erwincoumans
|
c0984b80e5
|
Merge pull request #1231 from benelot/bullet-gym
Add nearly all gym environments using pybullet together with the…
|
2017-08-18 13:29:43 -07:00 |
|
Erwin Coumans
|
226aaedc46
|
bump up pybullet setup.py version, make B3_NO_PYTHON_FRAMEWORK default on Mac
minor fixes (arg name in header/cpp the same)
|
2017-08-18 08:53:46 -07:00 |
|
Benelot
|
3191291748
|
Split pendula robot from the pendula envs due to changes in the underlying mujoco xml base env.
|
2017-08-17 00:25:16 +02:00 |
|
Benelot
|
9f20e40541
|
Rename old humanoid gym to simple humanoid gym.
|
2017-08-17 00:06:01 +02:00 |
|
Benelot
|
aed57d130e
|
Update mjcf files!
----------------------------------
Git did not realize I changed those.
|
2017-08-17 00:04:21 +02:00 |
|
erwincoumans
|
bc1a039d26
|
Merge pull request #1256 from erwincoumans/master
revert API to be backward compatible, add b3CreateInProcessPhysicsSer…
|
2017-08-16 14:02:53 -07:00 |
|
Benelot
|
f74a9299a8
|
Unversion manipulators for now. They come back as they are ready.
|
2017-08-16 22:43:40 +02:00 |
|
Erwin Coumans
|
a66576f034
|
revert API to be backward compatible, add b3CreateInProcessPhysicsServerAndConnectSharedMemory
same for BulletURDFImporter constructor
|
2017-08-16 12:33:25 -07:00 |
|
erwincoumans
|
b7579cbdda
|
Merge pull request #1254 from erwincoumans/master
Expose optional "globalScaling" factor to pybullet.loadURDF/SDF, and add pybullet.connect(p.GUI_SERVER option, that allows shared memory connections.
|
2017-08-16 09:30:23 -07:00 |
|
Benelot
|
68106d66dd
|
Split locomotion environments.
|
2017-08-16 08:08:24 +02:00 |
|
erwincoumans
|
2e0a987750
|
pybullet only allow one GUI/GUI_SERVER instance.
Fix LINK_FRAME/WORLD_FRAME coordinate issue in pybullet applyExternalForce
|
2017-08-15 14:15:30 -07:00 |
|
Erwin Coumans
|
99beb44625
|
fix build issues in previous commit
|
2017-08-15 10:46:09 -07:00 |
|
erwincoumans
|
9d0f875c5b
|
fix compile issues due to API change (additional argument)
|
2017-08-15 09:34:44 -07:00 |
|
Benelot
|
cab3de35e4
|
Remove duplicate assets and use other assets. Rename classes appropriately for robot-scene-env split refactoring.
|
2017-08-15 15:31:24 +02:00 |
|