Repository navigation
Is it possible to step through the sim app GUI one frame at a time? #4682
Unanswered
StoneT2000
asked this question in
Q&A
Replies: 1 comment
|
Yes. Isaac Lab's env = gym.make(task, cfg=env_cfg)
obs, _ = env.reset()
sim = env.unwrapped.sim
sim.pause() # GUI now shows the frame right after reset
while simulation_app.is_running():
with torch.inference_mode():
actions = policy(obs)
obs, rew, terminated, truncated, info = env.step(actions) # waits here until you click Play
sim.pause() # pause again -> one env.step per Play clickCaveats:
If this solves it, please mark it as the answer so others with the same problem can find it. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
I'm wondering if there is a way to open the GUI of isaac and pause it immediately (so I can view the first frame / resets), and step through frames one step at a time.
Thanks!
All reactions