Error happens in the Isaac Tutorial '8.4. Importing URDF using Python'

Hi,

Problem
When the code, in the Isaac Tutorial ‘8.4. Importing URDF using Python’, is run, the following error happens:

2022-06-03 08:32:33 [177,320ms] [Error] [asyncio] [/isaac-sim/kit/python/lib/python3.7/asyncio/base_events.py:1619] Task exception was never retrieved
future: <Task finished coro=<BaseSampleExtension._on_load_world.._on_load_world_async() done, defined at /isaac-sim/exts/omni.isaac.examples/omni/isaac/examples/base_sample/base_sample_extension.py:161> exception=TypeError(“import_robot(): incompatible function arguments. The following argument types are supported:\n 1. (self: omni.isaac.urdf._urdf.Urdf, arg0: str, arg1: str, arg2: omni.isaac.urdf._urdf.UrdfRobot, arg3: omni.isaac.urdf._urdf.ImportConfig, arg4: str) → str\n\nInvoked with: <omni.isaac.urdf._urdf.Urdf object at 0x2ab506aebc70>, ‘/isaac-sim/exts/omni.isaac.urdf/data/urdf/robots/franka_description/robots’, ‘panda_arm_hand.urdf’, <omni.isaac.urdf._urdf.UrdfRobot object at 0x2ab3ecd20170>, <omni.isaac.urdf._urdf.ImportConfig object at 0x2ab506aeb2f0>”)>
Traceback (most recent call last):
File “/isaac-sim/exts/omni.isaac.examples/omni/isaac/examples/base_sample/base_sample_extension.py”, line 162, in _on_load_world_async
await self._sample.load_world_async()
File “/isaac-sim/exts/omni.isaac.examples/omni/isaac/examples/base_sample/base_sample.py”, line 44, in load_world_async
self.setup_scene()
File “/isaac-sim/exts/omni.isaac.examples/omni/isaac/examples/hello_world/hello_world.py”, line 46, in setup_scene
prim_path = urdf_interface.import_robot(root_path, file_name, imported_robot, import_config)
TypeError: import_robot(): incompatible function arguments. The following argument types are supported:
1. (self: omni.isaac.urdf._urdf.Urdf, arg0: str, arg1: str, arg2: omni.isaac.urdf._urdf.UrdfRobot, arg3: omni.isaac.urdf._urdf.ImportConfig, arg4: str) → str

Invoked with: <omni.isaac.urdf._urdf.Urdf object at 0x2ab506aebc70>, ‘/isaac-sim/exts/omni.isaac.urdf/data/urdf/robots/franka_description/robots’, ‘panda_arm_hand.urdf’, <omni.isaac.urdf._urdf.UrdfRobot object at 0x2ab3ecd20170>, <omni.isaac.urdf._urdf.ImportConfig object at 0x2ab506aeb2f0>

Environement
Isaac Sim AMI container on AWS EC2

Hello! There’s a new Isaac Sim release and new documentation available at 10. Import URDF — Omniverse Robotics documentation

Please let me know if in the updated version the error still persists for you.

1 Like

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