mirror of
https://github.com/huggingface/lerobot.git
synced 2026-05-25 13:40:00 +00:00
wrap dm_control aloha into gymnasium (TODO: properly seeding the env)
This commit is contained in:
@@ -0,0 +1,15 @@
|
|||||||
|
from gymnasium.envs.registration import register
|
||||||
|
|
||||||
|
register(
|
||||||
|
id="gym_aloha/AlohaInsertion-v0",
|
||||||
|
entry_point="lerobot.common.envs.aloha.env:AlohaEnv",
|
||||||
|
max_episode_steps=300,
|
||||||
|
kwargs={"obs_type": "state", "task": "insertion"},
|
||||||
|
)
|
||||||
|
|
||||||
|
register(
|
||||||
|
id="gym_aloha/AlohaTransferCube-v0",
|
||||||
|
entry_point="lerobot.common.envs.aloha.env:AlohaEnv",
|
||||||
|
max_episode_steps=300,
|
||||||
|
kwargs={"obs_type": "state", "task": "transfer_cube"},
|
||||||
|
)
|
||||||
Reference in New Issue
Block a user