You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Omniverse Streaming Client is a lightweight application allowing Users to connect to Omniverse applications deployed on the network or over the Internet.
This worked out of the box for me in the demo environments :)
In the Sb3 / rlgames training scripts I found that the livestreaming was extremely slow -> glacial depending on the task.
Could be a networking issue, ill check again tomorrow.
I foresee that the video functionality in #63 will be most useful, since online rendering is mostly useful for demos or debugging.
Yes, training with live streaming enabled is the same as running without headless. This adds a bunch of overhead because multiple kit extensions are being stepped at every app update call.
From what I tested using the Isaac-Franka-Reach-v0 environment:
Running headless without viewport enabled: ~65,000 FPS
Running headless with viewport enabled: ~57,000 FPS
I am currently attempting to get livestreaming working from some demo scripts after making the above addition, but am encountering segfaults whenever I actually attempt to connect the streaming client.
For context, I am running out of the IsaacSim Docker container on a Google Cloud VM. When I run runheadless.native.sh I am able to stream as expected. It seems the steps I'm running should be identical to yours, and I can't seem to find anything in the readout which specifies the problem, so I'm not sure why I get this mysterious segfault. I would appreciate your insight! Thank you.
Here is the relevant excerpt of play_arms.py (the rest is unchanged):
...
# launch omniverse app
config = {"headless": args_cli.headless}
simulation_app = SimulationApp(config)
import carb
from omni.isaac.core.utils.extensions import enable_extension
from omni.isaac.core.utils.carb import set_carb_setting
# settings interface
carb_settings = carb.settings.get_settings()
# set values
set_carb_setting(carb_settings, "/app/livestream/enabled", True)
set_carb_setting(carb_settings, "/app/window/drawMouse", True)
set_carb_setting(carb_settings, "/app/livestream/proto", "ws")
set_carb_setting(carb_settings, "/app/livestream/websocket/framerate_limit", 120)
set_carb_setting(carb_settings, "/ngx/enabled", False)
# enable extensions for live stream
enable_extension("omni.kit.livestream.native")
enable_extension("omni.services.streaming.manager")
"""Rest everything follows."""
import torch
import omni.isaac.core.utils.prims as prim_utils
from omni.isaac.core.simulation_context import SimulationContext
from omni.isaac.core.utils.viewports import set_camera_view
import omni.isaac.orbit.utils.kit as kit_utils
from omni.isaac.orbit.robots.config.franka import FRANKA_PANDA_ARM_WITH_PANDA_HAND_CFG
from omni.isaac.orbit.robots.config.universal_robots import UR10_CFG
from omni.isaac.orbit.robots.single_arm import SingleArmManipulator
from omni.isaac.orbit.utils.assets import ISAAC_NUCLEUS_DIR
"""
Main
"""
def main():
...
And here is the command, and the resulting terminal readout and error:
I was able to get this to run using the script above after applying this fix to omni.isaac.sim.python.kit in the /apps folder:
In line # 550, change to:
“omni.isaac.quadruped” = {order = 10}
Thanks for finding this fix! It seems that it is better for Orbit to have its own set of "app" configuration files. Just to help us patch these kinds of issues easily.
Thanks for finding this fix! It seems that it is better for Orbit to have its own set of "app" configuration files. Just to help us patch these kinds of issues easily.
Sure thing! And I totally agree, no reason to make patching more difficult than it needs to be.
For anyone attempting this with ROS--
The client will crash on a connection attempt if you load the ros_bridge extension before omni.kit.livestream.native. If you load it afterwards, it will behave as expected.
Activity
neale commentedon Apr 18, 2023
This worked out of the box for me in the demo environments :)
In the Sb3 / rlgames training scripts I found that the livestreaming was extremely slow -> glacial depending on the task.
Could be a networking issue, ill check again tomorrow.
I foresee that the video functionality in #63 will be most useful, since online rendering is mostly useful for demos or debugging.
Mayankm96 commentedon Apr 18, 2023
Yes, training with live streaming enabled is the same as running without headless. This adds a bunch of overhead because multiple kit extensions are being stepped at every app update call.
From what I tested using the
Isaac-Franka-Reach-v0environment:hhansen-bdai commentedon Apr 24, 2023
Hello,
I am currently attempting to get livestreaming working from some demo scripts after making the above addition, but am encountering segfaults whenever I actually attempt to connect the streaming client.
For context, I am running out of the IsaacSim Docker container on a Google Cloud VM. When I run
runheadless.native.shI am able to stream as expected. It seems the steps I'm running should be identical to yours, and I can't seem to find anything in the readout which specifies the problem, so I'm not sure why I get this mysterious segfault. I would appreciate your insight! Thank you.Here is the relevant excerpt of play_arms.py (the rest is unchanged):
And here is the command, and the resulting terminal readout and error:
hhansen-bdai commentedon Apr 25, 2023
I was able to get this to run using the script above after applying this fix to omni.isaac.sim.python.kit in the /apps folder:
In line # 550, change to:
“omni.isaac.quadruped” = {order = 10}
Source: https://forums.developer.nvidia.com/t/running-a-standalone-example-with-gui-in-docker-container/248147/6?u=hhansen
Mayankm96 commentedon Apr 25, 2023
Thanks for finding this fix! It seems that it is better for Orbit to have its own set of "app" configuration files. Just to help us patch these kinds of issues easily.
hhansen-bdai commentedon Apr 26, 2023
Sure thing! And I totally agree, no reason to make patching more difficult than it needs to be.
hhansen-bdai commentedon Apr 27, 2023
For anyone attempting this with ROS--
The client will crash on a connection attempt if you load the ros_bridge extension before omni.kit.livestream.native. If you load it afterwards, it will behave as expected.
Mayankm96 commentedon Dec 19, 2023
Closing this issue as we have added livestream options on the devel branch. For more details, please check the documentation.
THSID2023 commentedon Mar 16, 2024
Does this work with workstation version of nucleus? or is it just for enterprise version?
Bank isaac-sim#70: the unexamined binding named, and the seeded chain…
Read NEST list-key blocks with YAML in the fallback parser
Check NEST node IDs against the LTM-1 §1 format
Fix the NEST node ID check and correct its record
Refine NEST ID check reasons, tests and records