Small tweaks to simulation camera to get scanning working.

This commit is contained in:
Julian Stirling 2025-08-04 16:23:37 +01:00
parent b75af87b84
commit 8ce06991f9
3 changed files with 45 additions and 13 deletions

View file

@ -295,12 +295,11 @@ class BaseCamera(lt.Thing):
)
return portal.call(stream.next_frame_size)
@lt.thing_action
def capture_image(
self,
stream_name: Literal["main", "lores", "raw"],
wait: Optional[float],
) -> None:
) -> Image:
"""Capture a PIL image from stream stream_name with timeout wait."""
raise NotImplementedError(
"CameraThings must define their own capture_image method"