release: SkillFactory v0.0.1

Add declarative single-leg import, fixed-anchor benchmark, masked shared-policy PPO prototype, regression tests, and consolidated documentation.
This commit is contained in:
2026-10-10 09:58:30 +08:00
parent 180f8f7f97
commit 7f39abb613
52 changed files with 4370 additions and 147 deletions
+15 -13
View File
@@ -9,8 +9,8 @@ Script to print all the available environments in Isaac Lab.
The script iterates over all registered environments and stores the details in a table.
It prints the name of the environment, the entry point and the config file.
All the environments are registered in the `SkillFactory` extension. They start
with `Isaac` in their name.
List only environments whose config entry points belong to SkillFactory.
Both the original Cartpole template and the single-leg anchor are retained.
"""
"""Launch Isaac Sim Simulator first."""
@@ -44,9 +44,8 @@ simulation_app = app_launcher.app
"""Rest everything follows."""
import gymnasium as gym
from prettytable import PrettyTable
import SkillFactory.tasks # noqa: F401
from prettytable import PrettyTable
# PLACEHOLDER: Extension template (do not remove this comment)
with contextlib.suppress(ImportError):
@@ -57,7 +56,7 @@ def _format_presets(preset_map: dict | None) -> str:
"""Format a preset map returned by :func:`enumerate_task_presets` into a human-readable string.
Args:
preset_map: Mapping of :class:`~SkillFactory.utils.preset_target.PresetTarget`
preset_map: Mapping of :class:`~isaaclab_tasks.utils.preset_target.PresetTarget`
to sorted preset name lists, or ``None`` when the env cfg could not be loaded.
Returns:
@@ -66,7 +65,7 @@ def _format_presets(preset_map: dict | None) -> str:
"""
if preset_map is None:
return "(unavailable)"
from SkillFactory.utils.preset_target import PresetTarget
from isaaclab_tasks.utils.preset_target import PresetTarget
lines = []
labels = {
@@ -87,11 +86,12 @@ def main():
task_specs = [
spec
for spec in gym.registry.values()
if "Template-" in spec.id and (args_cli.keyword is None or args_cli.keyword in spec.id)
if str(spec.kwargs.get("env_cfg_entry_point", "")).startswith("SkillFactory.")
and (args_cli.keyword is None or args_cli.keyword in spec.id)
]
if args_cli.show_presets:
from SkillFactory.utils.preset_cli import enumerate_task_presets
from isaaclab_tasks.utils.preset_cli import enumerate_task_presets
table = PrettyTable(["S. No.", "Task Name", "Entry Point", "Config", "Presets"])
table.title = "Available Environments in Isaac Lab"
@@ -125,11 +125,13 @@ def main():
if __name__ == "__main__":
exit_code = 0
try:
# run the main function
main()
except Exception as e:
raise e
except BaseException:
import traceback
traceback.print_exc()
exit_code = 1
finally:
# close the app
simulation_app.close()
simulation_app.close(exit_code=exit_code)