Datasets:
Download code/robohome/src/engine/source/packages/adapters/protocols.py from RoboParty/RoboHome: direct link, hf CLI and curl.
- Browser
- Download file 572 Bytes
-
https://huggingface.co/datasets/RoboParty/RoboHome/resolve/main/code/robohome/src/engine/source/packages/adapters/protocols.py
- Command line
-
hf download hf://datasets/RoboParty/RoboHome/code/robohome/src/engine/source/packages/adapters/protocols.py
-
curl -L -o protocols.py https://huggingface.co/datasets/RoboParty/RoboHome/resolve/main/code/robohome/src/engine/source/packages/adapters/protocols.py
572 Bytes
| from __future__ import annotations | |
| from pathlib import Path | |
| from typing import Protocol | |
| from packages.schemas.models import RobotCapabilityProfile | |
| class NotConfiguredError(RuntimeError): | |
| pass | |
| class SceneAuthoringProvider(Protocol): | |
| def version(self) -> str: ... | |
| def author(self, scene: object, output_dir: Path) -> Path: ... | |
| class RobotEmbodimentProvider(Protocol): | |
| def profile(self) -> RobotCapabilityProfile: ... | |
| def compose_robot_layer(self, output_dir: Path) -> Path: ... | |
| def validate(self, root_usd: Path) -> dict[str, object]: ... | |