I have created a scene and saved it in usd file format. Now I want to load the scene into Isaac sim via standalone python .
I know its possible to load the usd file saved in localhost, but how to do this for a file saved in local folder.
To demonstrate the issue exactly I have created the following code:
from omni.isaac.kit import SimulationApp
simulation_app = SimulationApp({"headless": False})
from omni.isaac.core import World
from omni.isaac.core.utils.stage import open_stage
from omni.isaac.core.utils.nucleus import get_assets_root_path
assets_root_path = get_assets_root_path()
scene_path = assets_root_path + "/Isaac/Robots/Franka/franka_alt_fingers.usd"
# scene_path = "/home/ksu1rng/franka_alt_fingers.usd "
open_stage(usd_path=scene_path)
world = World()
world.reset()
while True:
world.step()
simulation_app.close()
This code is working if, I am accessing the usd file saved in localhost, but throwing error if saved in local folder.