Describe the bug
Depending on the order of SimulationApp start-up import of Isaac Lab classes (for example ArticulationCfg), it is possible to end up with objects with inconsistently defined parent classes. For example you can end up with isinstance(FRANKA_PANDA_CFG, ArticulationCfg) ==False
Steps to reproduce
I have made a minimal repro here that contains a failing case, as well as a band-aid that fixes the issue and provides a diagnosis of what is going on, but it not the fix we'd like to pursue.
To run the repro (failing) case:
python scripts/reinforcement_learning/rsl_rl/train.py \
--task Isaac-Reach-Repro-v0 \
--external_callback isaaclab_tasks.reach_repro_callback.reach_repro_callback \
--num_envs 1 --max_iterations 1 --headless
isaaclab_assets_import_error.log
To run the band-aided fix:
python scripts/reinforcement_learning/rsl_rl/train.py \
--task Isaac-Reach-Repro-v0 \
--external_callback isaaclab_tasks.reach_repro_callback.reach_repro_callback \
--num_envs 1 --max_iterations 1 --headless
System Info
Describe the characteristic of your environment:
Describe the characteristic of your environment:
- Commit: tag:
v3.0.0-beta2.patch1
- Isaac Sim Version: 6.0.1
- OS: Ubuntu 24.04
- GPU: RTX 5090
- CUDA: -
- GPU Driver: -
Additional context
Add any other context about the problem here.
Checklist
Acceptance Criteria
Describe the bug
Depending on the order of
SimulationAppstart-up import of Isaac Lab classes (for exampleArticulationCfg), it is possible to end up with objects with inconsistently defined parent classes. For example you can end up withisinstance(FRANKA_PANDA_CFG, ArticulationCfg) ==FalseSteps to reproduce
I have made a minimal repro here that contains a failing case, as well as a band-aid that fixes the issue and provides a diagnosis of what is going on, but it not the fix we'd like to pursue.
To run the repro (failing) case:
isaaclab_assets_import_error.log
To run the band-aided fix:
System Info
Describe the characteristic of your environment:
Describe the characteristic of your environment:
v3.0.0-beta2.patch1Additional context
Add any other context about the problem here.
Checklist
Acceptance Criteria
sys.modulesto fix imported modules.