File size: 572 Bytes
8ca7ba0
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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]: ...