Skip to content

Commit b6d43ba

Browse files
Fixes training UR10 reach with RL_GAMES and SKRL (isaac-sim#678)
# Description - Fixes isaac-sim#541 - **Bug description:** UR10 reach can be trained with RSL_RL but not with RL_GAMES and SKRL. - **Why this problem occurs:** The actual problem is there is no `__init__.py` file in the `agents` folder inside ur_10. Therefore when `mod_path = os.path.dirname(importlib.import_module(mod_name).__file__)` line is executed it gives error as `importlib.import_module(mod_name).__file__` is not able to find the module `omni.isaac.lab_tasks.manager_based.manipulation.reach.config.ur_10.agents`. ## Fixes - `__init__.py` file is added inside the ur_10.agents folder. ## 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 `./isaaclab.sh --format` - [ ] I have made corresponding changes to the documentation - [x] My changes generate no new warnings - [ ] I have added tests that prove my fix is effective or that my feature works - [ ] I have updated the changelog and the corresponding version in the extension's `config/extension.toml` file - [ ] I have added my name to the `CONTRIBUTORS.md` or my name already exists there
1 parent 64cb3ac commit b6d43ba

File tree

1 file changed

+6
-0
lines changed
  • source/extensions/omni.isaac.lab_tasks/omni/isaac/lab_tasks/manager_based/manipulation/reach/config/ur_10/agents

1 file changed

+6
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# Copyright (c) 2022-2024, The Isaac Lab Project Developers.
2+
# All rights reserved.
3+
#
4+
# SPDX-License-Identifier: BSD-3-Clause
5+
6+
from . import rsl_rl_ppo_cfg # noqa: F401, F403

0 commit comments

Comments
 (0)