Headless follow_target_with_rmpflow.py?

I’m following the “Running Your First Standalone Application” tutorial and trying to run:

./python.sh standalone_examples/api/omni.isaac.franka/follow_target_with_rmpflow.py

but in headless mode. so i changed headless to true:

simulation_app = SimulationApp({“headless”: True})

But I seem not able to connect using the streaming client - I get an unknown error (0x100).

Should this work?

@bardavid52 , the headless=True flag will run the Python code in a headless mode (this means that the same code will now execute without the GUI visualized)

The streaming client would be used when you are running an Isaac Sim instance remotely (it will connect to the remote instance and showcase the GUI on the client)

Setting headless=False has no relation to the streaming client, hope that makes sense.

Sorry - I’m not sure I follow.

If I invoke isaac-sim using isaac-sim.headless.native.sh, I can then connect to it remotely using the streaming client.

If I invoke isaac-sim using python.sh, I can see the terminal logs and the simulation is running, but I can’t seem to connect using streaming client. Should this work? Can I connect with the streaming client to an isaac sim instance invoked using python.sh running some simulation (e.g. my_application.py in Hello World — Omniverse IsaacSim latest documentation)?

Thanks

Found the solution. Apparently hide_ui should be set to False when creating the SimulationApp instance.

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