Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add custom env to robosuite.make #468

Closed
bhe1004 opened this issue Apr 5, 2024 · 1 comment
Closed

Add custom env to robosuite.make #468

bhe1004 opened this issue Apr 5, 2024 · 1 comment

Comments

@bhe1004
Copy link

bhe1004 commented Apr 5, 2024

How can I create a custom env through robosuite.make? I have created a single_arm_peg_in_hole env like the format of the env python files in robosuite's environments/minipulatation, but I don't know how to apply it to robosuite.make().

@zhuyifengzju
Copy link
Contributor

zhuyifengzju commented Apr 20, 2024

Hi, if you want robosuite.make() to find it, you would need to import your custom env before (ALL_ENVIRONMENTS)[https://github.com/ARISE-Initiative/robosuite/blob/eafb81f54ffc104f905ee48a16bb15f059176ad3/robosuite/environments/init.py#L3] is set. Look into this variable to see if your custom environment has been included.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants