From 35a3bea47d423e1d15f38115cb6d1125f60b0f81 Mon Sep 17 00:00:00 2001 From: Pascal Roth <57946385+pascal-roth@users.noreply.github.com> Date: Tue, 19 Nov 2024 12:53:55 +0100 Subject: [PATCH] Fixes some formatting issues (#42) # Description Fixes formatting of some files. ## Type of change - Bug fix (non-breaking change which fixes an issue) ## Checklist - [x] I have run the [`pre-commit` checks](https://pre-commit.com/) with `./formatter.sh` - [ ] I have made corresponding changes to the documentation - [ ] My changes generate no new warnings --- .../omni/viplanner/collectors/terrain_analysis_cfg.py | 2 +- .../omni.viplanner/omni/viplanner/viplanner/viplanner_algo.py | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) 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.")