ImportError: cannot import name 'DfContext' from 'omni.isaac.cortex.dfb'

Isaac Sim Version

2023.1.1

Operating System

Ubuntu 22.04

GPU Information

  • Model: NVIDIA GeForce RTX 3090
  • Driver Version: 570.124.04

Topic Description

ImportError: cannot import name ‘DfContext’ from ‘omni.isaac.cortex.dfb’.

Detailed Description

I was trying to learn about decider network and gone through this documentation, 11.2. Decider networks — Omniverse IsaacSim latest documentation and while i was trying to run the example using ./python.sh path_to_file.py, I ran into this error while in the example it was trying to import DfContext from omni.isaac.cortex.dfb file but there is no class of DfContext in the the file dfb.py inside isaac sim 2023.1.1 cortex package.

Error Messages

ImportError: cannot import name ‘DfContext’ from ‘omni.isaac.cortex.dfb’

Screenshots or Videos

Any replies will be helpful !

Not sure if this is related to the following note in Release Notes — Omniverse IsaacSim latest documentation

DfContext converted to DfRobotApiContext (base class) and DfBasicContext (instantiation).

However, please always use the latest version and refer to its documentation (Decider networks — Isaac Sim Documentation).

Thank you @VickNV for replying, but the latest documentation has the same issue or code mentioned, as you have mentioned here with Decider networks — Isaac Sim Documentation itis having same DfContext mentioned there and there is no class in code of isaac sim cortex. Even i have checked it with 2022.2.0 2023.1.1 4.2 and 4.5 with all this version there is no mentioned of DfContext. I think this is a mistake which is mentioned in the example Decider networks — Isaac Sim Documentation here !