Repository navigation
Fixes RSL RL imports - #4871
Fixes RSL RL imports#4871
Conversation
Greptile SummaryThis PR is a small bug fix that adds two missing exports —
Confidence Score: 5/5
Important Files Changed
Flowchart%%{init: {'theme': 'neutral'}}%%
flowchart TD
A["isaaclab_rl.rsl_rl\n(__init__.py / __init__.pyi)"] --> B["rl_cfg.py"]
A --> C["rnd_cfg.py"]
A --> D["symmetry_cfg.py"]
A --> E["distillation_cfg.py"]
A --> F["exporter.py"]
A --> G["vecenv_wrapper.py"]
A --> H["utils.py"]
B --> B1["RslRlMLPModelCfg ✅ (added)"]
B --> B2["RslRlRNNModelCfg ✅ (added)"]
B --> B3["RslRlCNNModelCfg ⚠️ (not exported)"]
B --> B4["RslRlPpoAlgorithmCfg"]
B --> B5["RslRlBaseRunnerCfg"]
B --> B6["RslRlOnPolicyRunnerCfg"]
B --> B7["RslRlPpoActorCriticCfg"]
B --> B8["RslRlPpoActorCriticRecurrentCfg"]
Last reviewed commit: 4f4d67f |
| RslRlPpoActorCriticCfg, | ||
| RslRlPpoActorCriticRecurrentCfg, | ||
| RslRlPpoAlgorithmCfg, | ||
| RslRlMLPModelCfg, | ||
| RslRlRNNModelCfg, | ||
| ) |
There was a problem hiding this comment.
RslRlCNNModelCfg also missing from exports
rl_cfg.py defines three model config classes — RslRlMLPModelCfg, RslRlRNNModelCfg, and RslRlCNNModelCfg (line 114 in rl_cfg.py). This PR correctly adds the first two, but RslRlCNNModelCfg is still absent from both __all__ and the from .rl_cfg import (...) block. If this class is intended to be public, it should be exported here in the same way. If it is intentionally unexposed (e.g., experimental), a comment in rl_cfg.py explaining this would help future contributors avoid making the same fix again.
Description
Fixes some missing imports for RSL RL
Type of change
Checklist
pre-commitchecks with./isaaclab.sh --formatconfig/extension.tomlfileCONTRIBUTORS.mdor my name already exists there