Hi everyone,
I was in the process in migrating my code to the newest IsaacSim2023.1.0 release.
However, I found a runtime error when trying to use the GridCloner in the omni.isaac.cloner kit.
To make sure this was not caused by me, I run the clone_ants.py example shipped with the new distribution and it gives me the exact same runtime error.
The relevant stack trace is the following:
Traceback (most recent call last):
File "/home/myusername/.local/share/ov/pkg/isaac_sim-2023.1.0/standalone_examples/api/omni.isaac.cloner/clone_ants.py", line 45, in <module>
cloner.clone(
File "/home/myusername/.local/share/ov/pkg/isaac_sim-2023.1.0/exts/omni.isaac.cloner/omni/isaac/cloner/grid_cloner.py", line 158, in clone
positions, orientations = self.get_clone_transforms(num_clones, position_offsets, orientation_offsets)
File "/home/myusername/.local/share/ov/pkg/isaac_sim-2023.1.0/exts/omni.isaac.cloner/omni/isaac/cloner/grid_cloner.py", line 57, in get_clone_transforms
if len(position_offsets) != len(prim_paths):
NameError: name 'prim_paths' is not defined
It appears there’s an issue with the cloner itself.