No module named 'omni.isaac.debug_draw'

Hi developers,

I want to draw some lines as debugging tool in the form of a figure 8. However, I get the following error while trying to import the drawing tool:

ModuleNotFoundError: No module named ‘omni.isaac.debug_draw’

My python interpreter is able to find the module and I’m sure I have it.
image

I’m also using Isaac lab if that makes a difference, and I’m working in my own extension.

Isaac Sim Version

[ x] 4.2.0
4.1.0
4.0.0
2023.1.1
2023.1.0-hotfix.1
Other (please specify):

Isaac Lab Version (if applicable)

1.2
1.1
1.0
Other (please specify):

Operating System

Ubuntu 22.04
Ubuntu 20.04
Windows 11
Windows 10
Other (please specify):

GPU Information

  • Model: RTX 3090
  • Driver Version: 535.183.01

Steps to Reproduce

  1. In script: from omni.isaac.debug_draw import _debug_draw
  2. Run script from terminal

Error Messages

from omni.isaac.debug_draw import _debug_draw
ModuleNotFoundError: No module named ‘omni.isaac.debug_draw’

Thanks!

Update: this was solved by:

from omni.isaac.core.utils.extensions import enable_extension
enable_extension("omni.isaac.debug_draw")
import omni.isaac.debug_draw._debug_draw as omni_debug_draw

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.