From a2ccfac531b13f9180770a045f953dc141fc59aa Mon Sep 17 00:00:00 2001 From: Wensi Ai Date: Thu, 21 Dec 2023 13:46:01 -0800 Subject: [PATCH] bug fix on robot base link --- omnigibson/prims/entity_prim.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/omnigibson/prims/entity_prim.py b/omnigibson/prims/entity_prim.py index 06bf07a78..1a51a4f06 100644 --- a/omnigibson/prims/entity_prim.py +++ b/omnigibson/prims/entity_prim.py @@ -121,7 +121,7 @@ def _post_load(self): # Prepare the articulation view. if self.n_joints > 0: - self._articulation_view_direct = ArticulationView(self._prim_path + "/base_link") + self._articulation_view_direct = ArticulationView(f"{self._prim_path}/{self.root_link_name}") # Set visual only flag # This automatically handles setting collisions / gravity appropriately per-link