Testing with Isaacsim App Python Api

Note: For any Isaac Lab topics, please submit your topic to its GitHub repo (GitHub - isaac-sim/IsaacLab: Unified framework for robot learning built on NVIDIA Isaac Sim) following the instructions provided on Isaac Lab’s Contributing Guidelines (Contribution Guidelines — Isaac Lab Documentation).

Please provide all relevant details below before submitting your post. This will help the community provide more accurate and timely assistance. After submitting, you can check the appropriate boxes. Remember, you can always edit your post later to include additional information if needed.

Isaac Sim Version

4.2.0
4.1.0
4.0.0
4.5.0
2023.1.1
2023.1.0-hotfix.1
Other (please specify):

Operating System

Ubuntu 22.04
Ubuntu 20.04
Windows 11
Windows 10
Other (please specify):

GPU Information

  • Model: 4070
  • Driver Version:

Topic Description

Detailed Description

(Describe the issue in detail, including what you were trying to do, what you expected to happen, and what actually happened)

I’m using the python api to launch the IsaacSim create some simulation scenes, render and save some images. I’m trying to write tests for this using pytest, but keep running into issues where once it starts the IsaacSim app that process takes over, so when the IsaacSim app closes the tests stop even if there are more tests or actions after that. I managed to get around this by editing the simulation_app.py in the source code by essentially removing carb.framework.unload_all_plugins in the simulation close, but this seems undesirable. Also when running these tests it still prints all of the startup lines which is unwanted (can I shut this off?). Basically wondering if theres a good way to go about testing running the simulation app and various simulation scenes?