Skip to content

Commit 2d5ca25

Browse files
fan-ziqikellyguo11
andauthored
Fixes entry_point and kwargs in isaaclab_tasks README (isaac-sim#1485)
# Description The entry_point `RLTaskEnv` doesn't exist It should be `ManagerBasedRLEnv` ## Type of change - This change requires a documentation update ## Checklist - [x] I have run the [`pre-commit` checks](https://pre-commit.com/) with `./isaaclab.sh --format` - [x] 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 - [x] I have added my name to the `CONTRIBUTORS.md` or my name already exists there <!-- As you go through the checklist above, you can mark something as done by putting an x character in it For example, - [x] I have done this task - [ ] I have not done this task --> Co-authored-by: Kelly Guo <[email protected]>
1 parent 9db3738 commit 2d5ca25

File tree

1 file changed

+14
-4
lines changed
  • source/extensions/omni.isaac.lab_tasks/docs

1 file changed

+14
-4
lines changed

source/extensions/omni.isaac.lab_tasks/docs/README.md

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,16 +32,26 @@ The environments are then registered in the `omni/isaac/lab_tasks/locomotion/vel
3232
```python
3333
gym.register(
3434
id="Isaac-Velocity-Rough-Anymal-C-v0",
35-
entry_point="omni.isaac.lab.envs:RLTaskEnv",
35+
entry_point="omni.isaac.lab.envs:ManagerBasedRLEnv",
3636
disable_env_checker=True,
37-
kwargs={"env_cfg_entry_point": f"{__name__}.rough_env_cfg:AnymalCRoughEnvCfg"},
37+
kwargs={
38+
"env_cfg_entry_point": f"{__name__}.rough_env_cfg:AnymalCRoughEnvCfg",
39+
"rl_games_cfg_entry_point": f"{agents.__name__}:rl_games_rough_ppo_cfg.yaml",
40+
"rsl_rl_cfg_entry_point": f"{agents.__name__}.rsl_rl_ppo_cfg:AnymalCRoughPPORunnerCfg",
41+
"skrl_cfg_entry_point": f"{agents.__name__}:skrl_rough_ppo_cfg.yaml",
42+
},
3843
)
3944

4045
gym.register(
4146
id="Isaac-Velocity-Flat-Anymal-C-v0",
42-
entry_point="omni.isaac.lab.envs:RLTaskEnv",
47+
entry_point="omni.isaac.lab.envs:ManagerBasedRLEnv",
4348
disable_env_checker=True,
44-
kwargs={"env_cfg_entry_point": f"{__name__}.flat_env_cfg:AnymalCFlatEnvCfg"},
49+
kwargs={
50+
"env_cfg_entry_point": f"{__name__}.flat_env_cfg:AnymalCFlatEnvCfg",
51+
"rsl_rl_cfg_entry_point": f"{agents.__name__}.rsl_rl_ppo_cfg:AnymalCFlatPPORunnerCfg",
52+
"rl_games_cfg_entry_point": f"{agents.__name__}:rl_games_flat_ppo_cfg.yaml",
53+
"skrl_cfg_entry_point": f"{agents.__name__}:skrl_flat_ppo_cfg.yaml",
54+
},
4555
)
4656
```
4757

0 commit comments

Comments
 (0)