Genesis icon indicating copy to clipboard operation
Genesis copied to clipboard

How to load different objects in different environment (used in case of parallel simulation)

Open v-wewei opened this issue 10 months ago • 6 comments
trafficstars

I wonder how to load different objects such as different target objects for manipulation in different environment, which is common in other simulator, such as mujoco and isaacgym. Thanks advance.

v-wewei avatar Dec 26 '24 12:12 v-wewei

Here is how add it: Object_1 = scene.add_entity(gs.morphs.Sphere(pos =(1,1,1)))

Object_2 = scene.add_entity(gs.morphs.Box(pos =(2,2,1)))

Object_3 = scene.add_entity(gs.morphs.Cylinder(pos =(3,3,1)))

parzival2108 avatar Dec 28 '24 18:12 parzival2108

Hmm in parallel sim, every env is identical

Indont think mujoco or Isaac support this either

zhouxian avatar Dec 28 '24 19:12 zhouxian

Hmm in parallel sim, every env is identical

Indont think mujoco or Isaac support this either

I do remember isaacgym supports loading different objects in different environments. And there is also a solution in IsaacSim: https://github.com/isaac-sim/IsaacLab/issues/186

ziyanx02 avatar Dec 29 '24 05:12 ziyanx02

This is imporant for training robust manipulation policies. I am curious if the authors plan to fix this issue. You can definitely do this in IsaacGym today. Check out https://github.com/isaac-sim/IsaacGymEnvs/tree/main/isaacgymenvs/tasks/allegro_kuka

hgaurav2k avatar Mar 14 '25 20:03 hgaurav2k

Yes, this is very important in manipulation. For an example of how it can be important check out our paper Dextrah-RGB https://dextrah-rgb.github.io/ where we train any-object grasping policy -- such efforts would be great to do in genesis but totally impossible without multi object loading

ArthurAllshire avatar Mar 14 '25 23:03 ArthurAllshire

Yes this could be a useful feature. We have recently started working on adding it :) Requires a bit of work by tuning the data structure a bit

zhouxian avatar Mar 14 '25 23:03 zhouxian

Hey, just checking in again—any update or solution on this?

ziqiao30 avatar Jul 23 '25 15:07 ziqiao30