[Question] Dynamically replace objects in an environment during simulation #1736
Replies: 3 comments
-
I'd recommend trying https://isaac-sim.github.io/IsaacLab/main/source/how-to/multi_asset_spawning.html for this use case |
Beta Was this translation helpful? Give feedback.
-
Thank you for posting this. In general, the team recommends to not replace objects during simulation. |
Beta Was this translation helpful? Give feedback.
-
This is a fairly common need and I'm going to try to figure out a way to to this that works reasonably well. Sometimes you just need to randomize the rigid bodies in an environment. To be clear, I'll be detecting if a robot in an environment has completed its task, resetting its environment if it has and doing this as the environments reset, not mid-episode |
Beta Was this translation helpful? Give feedback.
-
Question
There is a way to replace objects spawned in the environment while the simulation is running? (spawn a .usd of a new object and remove the one already defined in the configuration of the environment after the simulation completes a set of iterations or a certain condition is met).
So far I have tested that I can successfully add multiple usd into a manager-based RL example of the Franka Lift task example but I would like to know if it is possible to update the objects while the simulation is running.
Beta Was this translation helpful? Give feedback.
All reactions