Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Python command error after importing urdf file as usd file #3

Open
fighting-j opened this issue Jul 8, 2024 · 0 comments
Open

Python command error after importing urdf file as usd file #3

fighting-j opened this issue Jul 8, 2024 · 0 comments

Comments

@fighting-j
Copy link

When I follow Adding a New Manipulator — Omniverse IsaacSim latest documentation adding a New Manipulator.The cobotta_pro_900.usd file is generated, and the joint control is fine. However, when performing Gains Tuning, Choose the prim_path that corresponds to the articulation under Select Articulation, value is /cobotta_pro_900/root_joint. When using Python script control later, the following error occurs:

Traceback (most recent call last):
File “/home/ubuntu/.local/share/ov/pkg/isaac-sim-4.0.0/test.py”, line 35, in
my_world.reset()
File “/home/ubuntu/.local/share/ov/pkg/isaac-sim-4.0.0/exts/omni.isaac.core/omni/isaac/core/world/world.py”, line 391, in reset
self._scene._finalize(self.physics_sim_view)
File “/home/ubuntu/.local/share/ov/pkg/isaac-sim-4.0.0/exts/omni.isaac.core/omni/isaac/core/scenes/scene.py”, line 365, in _finalize
articulated_system.initialize(physics_sim_view)
File “/home/ubuntu/.local/share/ov/pkg/isaac-sim-4.0.0/exts/omni.isaac.manipulators/omni/isaac/manipulators/manipulators/single_manipulator.py”, line 110, in initialize
self._end_effector = RigidPrim(prim_path=self._end_effector_prim_path, name=self.name + “_end_effector”)
File “/home/ubuntu/.local/share/ov/pkg/isaac-sim-4.0.0/exts/omni.isaac.core/omni/isaac/core/prims/rigid_prim.py”, line 115, in init
self._rigid_prim_view = RigidPrimView(
File “/home/ubuntu/.local/share/ov/pkg/isaac-sim-4.0.0/exts/omni.isaac.core/omni/isaac/core/prims/rigid_prim_view.py”, line 144, in init
XFormPrimView.init(
File “/home/ubuntu/.local/share/ov/pkg/isaac-sim-4.0.0/exts/omni.isaac.core/omni/isaac/core/prims/xform_prim_view.py”, line 132, in init
raise Exception(
Exception: Prim path expression /World/cobotta/root_joint/onrobot_rg6_base_link is invalid, a prim matching the expression needs to created before wrapping it as view

How can I solve it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant