From 283a64b94acbc5623cae8bd5b69ec7c63b37cf1e Mon Sep 17 00:00:00 2001 From: Julian Stirling Date: Wed, 17 Sep 2025 23:58:33 +0100 Subject: [PATCH] Add kwarg to picamera Thing in configuration file. --- ofm_config_full.json | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/ofm_config_full.json b/ofm_config_full.json index 7f4c4077..28adf496 100644 --- a/ofm_config_full.json +++ b/ofm_config_full.json @@ -1,6 +1,11 @@ { "things": { - "/camera/": "openflexure_microscope_server.things.camera.picamera:StreamingPiCamera2", + "/camera/": { + "class": "openflexure_microscope_server.things.camera.picamera:StreamingPiCamera2", + "kwargs": { + "sensor_model": "imx219" + } + }, "/stage/": "openflexure_microscope_server.things.stage.sangaboard:SangaboardThing", "/autofocus/": "openflexure_microscope_server.things.autofocus:AutofocusThing", "/camera_stage_mapping/": "openflexure_microscope_server.things.camera_stage_mapping:CameraStageMapper",