Isaac Sim Version
4.5.0
Operating System
Ubuntu 22.04
Topic Description
Isaac Sim comes with nice buttons. And now the people want to use Isaac Sim and Isaac Lab but also do not want to use Isaac Sim and Isaac Lab want to start a RL training process in Isaac Sim. My idea is to call sys.exit(1) when user click that train button.
My question is: Is there a better way to exit Isaac Sim than sys.exit(1)?
Hi @hslktestmail! Could you please clarify your question a little bit? Do you mean when you start training on Isaac Lab, you want to quit Isaac Sim?
Thank you for your response. Yes, I want to quit Isaac Sim when start training in Isaac Lab. I am using python subprocess library in python to launch the training script when user click a button. After calling subprocess, I need to close Isaac Sim.
A typical way of exiting Isaac Sim is to use simulation_app.close()
. Please check out this document [isaacsim.simulation_app] Isaac Sim Kit Helpers — Isaac Sim