diff --git a/omniverse/extension/omni.viplanner/omni/viplanner/collectors/terrain_analysis_cfg.py b/omniverse/extension/omni.viplanner/omni/viplanner/collectors/terrain_analysis_cfg.py index dd11c82..5d3a752 100644 --- a/omniverse/extension/omni.viplanner/omni/viplanner/collectors/terrain_analysis_cfg.py +++ b/omniverse/extension/omni.viplanner/omni/viplanner/collectors/terrain_analysis_cfg.py @@ -6,8 +6,8 @@ from __future__ import annotations -from omni.viplanner.config import MatterportSemanticCostMapping from omni.isaac.lab.utils import configclass +from omni.viplanner.config import MatterportSemanticCostMapping @configclass diff --git a/omniverse/extension/omni.viplanner/omni/viplanner/viplanner/viplanner_algo.py b/omniverse/extension/omni.viplanner/omni/viplanner/viplanner/viplanner_algo.py index 6247083..19f4b8a 100644 --- a/omniverse/extension/omni.viplanner/omni/viplanner/viplanner/viplanner_algo.py +++ b/omniverse/extension/omni.viplanner/omni/viplanner/viplanner/viplanner_algo.py @@ -53,6 +53,7 @@ def __init__(self, model_dir: str, fear_threshold: float = 0.5, device: str = "c # in headless mode, we cannot visualize the graph and omni.debug.draw is not available try: import omni.isaac.debug_draw._debug_draw as omni_debug_draw + self.draw = omni_debug_draw.acquire_debug_draw_interface() except ImportError: print("[WARNING] Graph Visualization is not available in headless mode.")