mirror of
https://github.com/bulletphysics/bullet3.git
synced 2026-09-19 00:34:28 +00:00
18 lines
390 B
Python
18 lines
390 B
Python
from gym.envs.registration import registry, register, make, spec
|
|
|
|
# ------------bullet-------------
|
|
|
|
register(
|
|
id='CartPoleBulletEnv-v0',
|
|
entry_point='envs.bullet:CartPoleBulletEnv',
|
|
timestep_limit=1000,
|
|
reward_threshold=950.0,
|
|
)
|
|
|
|
register(
|
|
id='MinitaurBulletEnv-v0',
|
|
entry_point='envs.bullet:MinitaurBulletEnv',
|
|
timestep_limit=1000,
|
|
reward_threshold=5.0,
|
|
)
|