Download scripts/play_dropbear.py from cudabenchmarktest/dropbear-locomotion: direct link, hf CLI and curl.
- Browser
- Download file 581 Bytes
-
https://huggingface.co/cudabenchmarktest/dropbear-locomotion/resolve/main/scripts/play_dropbear.py
- Command line
-
hf download hf://cudabenchmarktest/dropbear-locomotion/scripts/play_dropbear.py
-
curl -L -o play_dropbear.py https://huggingface.co/cudabenchmarktest/dropbear-locomotion/resolve/main/scripts/play_dropbear.py
581 Bytes
| #!/usr/bin/env python3 | |
| """Register Dropbear tasks, then run Isaac Lab's stock RSL-RL player.""" | |
| from __future__ import annotations | |
| import runpy | |
| import sys | |
| from pathlib import Path | |
| import dropbear_walk # noqa: F401 | |
| WORKSPACE_ROOT = Path(__file__).resolve().parents[1] | |
| PLAY_SCRIPT = WORKSPACE_ROOT / "IsaacLab" / "scripts" / "reinforcement_learning" / "rsl_rl" / "play.py" | |
| if not PLAY_SCRIPT.is_file(): | |
| raise FileNotFoundError(f"Isaac Lab player not found: {PLAY_SCRIPT}") | |
| sys.path.insert(0, str(PLAY_SCRIPT.parent)) | |
| runpy.run_path(str(PLAY_SCRIPT), run_name="__main__") | |