How to stop running infinite loop program launched from Script Editor?

I run a async def my_task() – which in Infinite loop – from script editor , how can stop it ?

You will have to kill isaac sim and relaunch it. We always recommend to have a check for is_simulating if the intended behavior is for the task to run while in simulation then you can press stop to exit the infinite loop.

is_simulating can be found in SImulationContext and World in omni.isaac.core extension.

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.