Erwin Coumans
|
e267f5c3d2
|
move pybullet.connect into the Gym environment.
If you like to enable rendering, call the env.render(mode="human") before calling the first env.reset
|
2017-08-26 14:58:48 -07:00 |
|
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
|
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
|
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
|
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 |
|
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 |
|
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
|
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 |
|