Datasets:
Download code/robohome/src/engine/source/packages/adapters/arena.py from RoboParty/RoboHome: direct link, hf CLI and curl.
- Browser
- Download file 648 Bytes
-
https://huggingface.co/datasets/RoboParty/RoboHome/resolve/main/code/robohome/src/engine/source/packages/adapters/arena.py
- Command line
-
hf download hf://datasets/RoboParty/RoboHome/code/robohome/src/engine/source/packages/adapters/arena.py
-
curl -L -o arena.py https://huggingface.co/datasets/RoboParty/RoboHome/resolve/main/code/robohome/src/engine/source/packages/adapters/arena.py
648 Bytes
| from __future__ import annotations | |
| import importlib.util | |
| from packages.adapters.protocols import NotConfiguredError | |
| ARENA_RELEASE = "release/0.2.1" | |
| ISAAC_SIM_VERSION = "5.1" | |
| def probe_arena() -> dict[str, str | bool]: | |
| available = importlib.util.find_spec("isaaclab_arena") is not None | |
| return { | |
| "available": available, | |
| "required_release": ARENA_RELEASE, | |
| "isaac_sim_version": ISAAC_SIM_VERSION, | |
| } | |
| def require_arena() -> None: | |
| if not probe_arena()["available"]: | |
| raise NotConfiguredError( | |
| "Isaac Lab-Arena is unavailable; run this command in the pinned Isaac Sim 5.1 worker" | |
| ) | |