abizovnuralem / go2_omniverse

Unitree Go2, Unitree G1 support for Nvidia Isaac Lab (Isaac Gym / Isaac Sim)
BSD 2-Clause "Simplified" License
378 stars 36 forks source link

Unable to Load ROS2 bridge extension #46

Closed Jellal-17 closed 1 month ago

Jellal-17 commented 1 month ago

Hello, I am trying to use this repository through the Isaaclab version, I have previously installed Isaaclab and am using it for another project already. So, I followed all the instructions in the readme but I'm encountering this error no matter what I do.

2024-10-03 10:22:25 [16,294ms] [Error] [omni.ext.plugin] Failed to resolve extension dependencies. Failure hints: Can't find extension with name: omni.isaac.ros2_bridge Available versions: (none found) Synced registries:

Traceback (most recent call last): File "/media/skadimisetty/Storage/Sathvik/anaconda3/envs/isaaclab/go2_omniverse-0.1.0/main.py", line 29, in run_sim() File "/media/skadimisetty/Storage/Sathvik/anaconda3/envs/isaaclab/go2_omniverse-0.1.0/omniverse_sim.py", line 185, in run_sim create_front_cam_omnigraph(i) File "/media/skadimisetty/Storage/Sathvik/anaconda3/envs/isaaclab/go2_omniverse-0.1.0/omnigraph.py", line 35, in create_front_cam_omnigraph og.Controller.edit( File "/media/skadimisetty/Storage/Sathvik/anaconda3/envs/isaaclab/lib/python3.10/site-packages/isaacsim/extscache/omni.graph/omni/graph/core/_impl/controller.py", line 1171, in edit return obj.edit(obj, args=args, kwargs=kwargs) File "/media/skadimisetty/Storage/Sathvik/anaconda3/envs/isaaclab/lib/python3.10/site-packages/isaacsim/extscache/omni.graph/omni/graph/core/_impl/controller.py", line 1372, in edit return do_the_edits() File "/media/skadimisetty/Storage/Sathvik/anaconda3/envs/isaaclab/lib/python3.10/site-packages/isaacsim/extscache/omni.graph/omni/graph/core/_impl/controller.py", line 1288, in do_the_edits nodes_constructed = obj._process_create_nodes( # noqa: PLW0212 File "/media/skadimisetty/Storage/Sathvik/anaconda3/envs/isaaclab/lib/python3.10/site-packages/isaacsim/extscache/omni.graph/omni/graph/core/_impl/controller.py", line 512, in _process_create_nodes nodes_constructed = [ File "/media/skadimisetty/Storage/Sathvik/anaconda3/envs/isaaclab/lib/python3.10/site-packages/isaacsim/extscache/omni.graph/omni/graph/core/_impl/controller.py", line 513, in obj.create_node( File "/media/skadimisetty/Storage/Sathvik/anaconda3/envs/isaaclab/lib/python3.10/site-packages/isaacsim/extscache/omni.graph/omni/graph/core/_impl/graph_controller.py", line 225, in create_node return obj.__create_node(obj, args=args, kwargs=kwargs) File "/media/skadimisetty/Storage/Sathvik/anaconda3/envs/isaaclab/lib/python3.10/site-packages/isaacsim/extscache/omni.graph/omni/graph/core/_impl/graph_controller.py", line 307, in __create_node raise og.OmniGraphError(f"Could not create node using unrecognized type '{node_type_id}'{more}") omni.graph.core._impl.errors.OmniGraphError: OmniGraphError: Could not create node using unrecognized type 'omni.isaac.ros2_bridge.ROS2CameraHelper'. Perhaps the extension 'omni.isaac.ros2_bridge' is not loaded?

If I comment the following, though the app is loading, the extension seems to persist.

"for i in range(env_cfg.scene.num_envs): create_front_cam_omnigraph(i)"

Can anyone help me with this or did I do anything wrong while Installing it ?

abizovnuralem commented 1 month ago

Hello, it looks like an installation problem with venv, can you please double-check it with readme instructions?

Jellal-17 commented 1 month ago

Yes, there was some issue with the installation of the Isaac Sim 4.2 app a couple of days ago, the "exts" folder was completely empty so I copied the files from 4.1 but didn't work. I have deleted all of my installations of isaaclab, Isaac sim and installed it again, now there is no similar issue, they might have fixed it now, thank you.