ARISE-Initiative / robosuite

robosuite: A Modular Simulation Framework and Benchmark for Robot Learning
https://robosuite.ai
Other
1.38k stars 429 forks source link

how to create 12 "brick"s for the Panda arm to build into a wall? #165

Closed quinnliu closed 3 years ago

quinnliu commented 3 years ago

I've read through all the documentation on branch v1.1 for env = suite.make(...) function && it's not clear to me how I would add 12 "bricks" to the environment

In the example of

env = suite.make( env_name="Lift", # "Stack", "Door" robots="Panda", # "Sawyer" and "Jaco" has_renderer=True, has_offscreen_renderer=False, use_camera_obs=False, )

A singular cube is seemingly auto generated && I can't find where it is explicitly declared

If I wanted to add 12 more bricks for the arm to stack into a wall how would I do this exactly?

quinnliu commented 3 years ago

I found the hammer.py file in robosuite.

Can I code a new file brick.py && square_window.py in my own project folder outside of robosuite/ && add it to my robot environment so that when I call env.render() I'll see Pandas arm, 12 bricks, && 1 square window?

cremebrule commented 3 years ago

This shouldn't be a problem. An even quicker way would be to leverage our built-in BoxObject as individual "bricks".

Closing this issue, feel free to re-open if you run into any further issues.