robosuite icon indicating copy to clipboard operation
robosuite copied to clipboard

Is it possible to get additional values from the objects in the scene?

Open gadorneles opened this issue 1 year ago • 1 comments

I saw it's possible to obtain the position and orientation of an object using obs['obj_pos'], for example. However, I would like to expand that and get values I could only obtain with access to the mesh. For example, the specific position of a handle in a mug or a cap in a bottle. Is there a way this can be done? Would I need to calculate individually based on every mesh and its position?

gadorneles avatar Oct 11 '24 17:10 gadorneles

If it's specific to the object mesh, you'll need to do the computation directly on the mesh itself. You can add an object sensor e.g. here and create a new sensor

kevin-thankyou-lin avatar Oct 16 '24 21:10 kevin-thankyou-lin