Skip to content

Commit

Permalink
Fixes some formatting issues (#42)
Browse files Browse the repository at this point in the history
# 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
  • Loading branch information
pascal-roth authored Nov 19, 2024
1 parent 07735cd commit 35a3bea
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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.")
Expand Down

0 comments on commit 35a3bea

Please sign in to comment.