Skip to content

How to configure the environment for the new version of Isaaclab #1

@ExponentialInfinity-max

Description

Hello,

First of all, thank you for your excellent work on this project.
It seems that due to the recent updates in IsaacLab's architecture, the previous version of your code is no longer compatible. I am currently trying to use the BlueROV2-Direct task in my IsaacLab setup, but I have encountered an issue where the task does not appear in gym.registry after importing isaaclab_tasks.

Environment:
Isaac Sim: 4.5.0
IsaacLab: [2.2.0]
OS: Ubuntu 22.04.5 LTS
Python: [Python version]
GPU: NVIDIA RTX 5880 Ada

Steps to reproduce:

bash
./isaaclab.sh -p - <<'PY'
from isaaclab.app import AppLauncher
app = AppLauncher(headless=True).app
import isaaclab_tasks
import gymnasium as gym
print([k for k in sorted(gym.registry.keys()) if "BlueROV2-Direct" in k or "BlueROV" in k])
app.close()
PY
The output is always:

python
[]

Expected behavior:
The gym.registry should contain "Isaac-BlueROV2-Direct" (and/or "Isaac-BlueROV2-Direct-v1") after importing isaaclab_tasks.

Additional information:

Verified that isaaclab_tasks/direct/learning_based_docking/bluerov2_env.py contains the BlueROV2EnvCfg class.

The registration in isaaclab_tasks/direct/learning_based_docking/init.py may not be triggered during import, possibly due to import dependency issues or the import chain not being executed.

Possible cause:
Since IsaacLab’s directory structure has changed in recent versions, it is possible that the previous import chain for task registration (via init.py) is no longer executed automatically. This may require explicitly importing certain submodules in isaaclab_tasks/init.py to trigger registration.

Could you please confirm if this is the intended behavior in the latest version, or if a missing import/registration step needs to be added?

Thank you for your time and help!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions