-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Gym] Generic locomotion envs - PART VI (#200)
* [core] More specific Utilities error messages. * [core] Add support of collision with bodies associated with multiple geometries. * [misc] Multi-level data folder architecture. * [misc] Rename gym env_base.py in env_bases.py. * [python] Enable to specify collision bodies, contact points, and ground model in TOML config file. * [python] Add IMU sensor to root body by default systematically if no Gazebo IMU has been found. * [python] BaseJiminyEngine now creates a temporary toml file if not available. * [gym] Enable to refresh observation and action spaces separately. Enable to use custom PID gains. * [gym] Remove 'TorqueControl' from walker name since it is the default. Co-authored-by: Alexis Duburcq <alexis.duburcq@wandercraft.eu>
- Loading branch information
Showing
40 changed files
with
291 additions
and
228 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,16 @@ | ||
import jiminy_py # Preload jiminy | ||
from gym.envs.registration import register | ||
|
||
|
||
register( | ||
id='jiminy-cartpole-v0', | ||
entry_point='gym_jiminy.envs:JiminyCartPoleEnv', | ||
entry_point='gym_jiminy.envs:CartPoleJiminyEnv', | ||
reward_threshold=10000.0 | ||
) | ||
|
||
register( | ||
id='jiminy-acrobot-v0', | ||
entry_point='gym_jiminy.envs:JiminyAcrobotEnv', | ||
entry_point='gym_jiminy.envs:AcrobotJiminyEnv', | ||
max_episode_steps=12000, | ||
reward_threshold=-3000.0 | ||
) | ||
|
||
|
||
import jiminy_py # Preload jiminy to force import of eigenpy and pinocchio |
Oops, something went wrong.