| 51 | |
| 52 | |
| 53 | class RgbdCamera(ABC): |
| 54 | backend = "unknown" |
| 55 | |
| 56 | @property |
| 57 | @abstractmethod |
| 58 | def info(self) -> DeviceInfo: |
| 59 | raise NotImplementedError |
| 60 | |
| 61 | @property |
| 62 | @abstractmethod |
| 63 | def intrinsics(self) -> CameraIntrinsics: |
| 64 | raise NotImplementedError |
| 65 | |
| 66 | @abstractmethod |
| 67 | def start(self) -> None: |
| 68 | raise NotImplementedError |
| 69 | |
| 70 | @abstractmethod |
| 71 | def wait_frame(self, timeout_ms: int) -> RgbdFrame | None: |
| 72 | raise NotImplementedError |
| 73 | |
| 74 | @abstractmethod |
| 75 | def stop(self) -> None: |
| 76 | raise NotImplementedError |
| 77 |
nothing calls this directly
no outgoing calls
no test coverage detected