Commit graph

99 commits

Author SHA1 Message Date
Joe Knapper
5019884175 Camera metadata includes subclass name, and test 2026-03-03 13:23:30 +00:00
Julian Stirling
2ae4f832bf Simplify setting model validation 2026-02-25 19:15:59 +00:00
Joe Knapper
63338f8ea0 From feedback 2026-02-25 19:15:59 +00:00
Joe Knapper
43fa793698 Apply suggestions from code review of branch scan-params
Co-authored-by: Julian Stirling <julian@julianstirling.co.uk>
2026-02-25 19:15:59 +00:00
jaknapper
b211cfd4c5 Validate and test stack inputs
Update picamera hardware test
2026-02-25 19:15:56 +00:00
Joe Knapper
37e3450670 Move CaptureParams into camera from autofocus 2026-02-25 19:14:15 +00:00
Julian Stirling
b26dda60a4 More tests and assoicated bugfixes 2026-01-18 23:19:44 +01:00
Julian Stirling
ca46439269 Rename "active_detector" for background detecor. Improve thing selector coercion 2026-01-14 15:10:13 +00:00
Julian Stirling
3e8874188e Get UI working for background detector things 2026-01-14 10:05:04 +00:00
Julian Stirling
44860bf777 Continue turning background detectors back into Things 2026-01-14 10:05:04 +00:00
Julian Stirling
06cab8a6a4 Use type[] not Type[] in typehints, and add clarification comment. 2026-01-12 15:28:10 +00:00
Julian Stirling
141ccc06c1 Some minor type fixes 2026-01-09 15:18:05 +00:00
Julian Stirling
5df5651fc2 Adjust name for a number of propery/setting setters 2026-01-09 15:18:05 +00:00
Julian Stirling
afbc00acef Improve __enter__ typing for things 2026-01-09 15:18:04 +00:00
Julian Stirling
d52548cc13 Improve camera buffer typing 2026-01-09 15:18:04 +00:00
Julian Stirling
e0c63ab354 Unify camera capute signatures 2026-01-09 15:18:04 +00:00
Julian Stirling
4060c06a2b Assorted type fixes 2026-01-09 15:18:04 +00:00
Julian Stirling
99f3d2d311 Start fixing some issues found by MyPy 2026-01-09 15:18:04 +00:00
Julian Stirling
4ad1fff656 Remove final dependencies 2025-12-17 15:52:03 +00:00
Julian Stirling
4b845fcf18 Remove dependencies from camera 2025-12-16 14:22:31 +00:00
Julian Stirling
cfbb7cf7f9 Start fixing tests. This involves further blocking portal changes.
This will need PR 225 of labthings-fastapi to be merged to run.
2025-12-14 19:21:06 +00:00
Julian Stirling
9ef417971f Remove a load more /names/ 2025-12-14 18:23:33 +00:00
Julian Stirling
5d3aa71b4f Update things to have thing_server_interface, and further fixes to properties 2025-12-14 18:23:27 +00:00
Julian Stirling
5eea78cac7 update action, property, and setting syntax for labthings-fastapi 0.0.12 2025-12-14 18:23:26 +00:00
Julian Stirling
7bc4c514a6 Autofix import order 2025-12-02 16:26:15 +00:00
Julian Stirling
873968877b Log warning rather than error if the named background detector doesn't exist to prevent not booting if detectors change 2025-12-02 09:57:24 +00:00
Julian Stirling
23f87869ac Add a new background detector based on an 8x8 grid 2025-12-02 09:57:24 +00:00
Julian Stirling
c0a8d15628 Add calibration_required property to Camera and CSM things. 2025-10-23 17:32:58 +01:00
jaknapper
602040426b Add timezone to capture metadata 2025-10-23 10:41:30 +01:00
Joe Knapper
24be993478 Apply suggestions from code review of branch camera-metadata 2025-10-23 10:40:56 +01:00
Joe Knapper
9db2cb9545 Apply suggestions from code review of branch camera-metadata 2025-10-23 10:40:56 +01:00
Joe Knapper
4f0d4536ab Apply suggestions from code review of branch camera-metadata 2025-10-23 10:40:56 +01:00
jaknapper
057376a799 Capture metadata with more info, including default time tags 2025-10-23 10:40:53 +01:00
Joe Knapper
b1413ca66c Camera metadata with basic data 2025-10-23 10:38:10 +01:00
jaknapper
22e7ce4ef0 Change background detect to use lores stream for consistent stream even when scanning. 2025-09-17 17:02:23 +01:00
Julian Stirling
2ce49088e7 Add return typehints to magic methods 2025-08-27 18:56:09 +01:00
Julian Stirling
4c46330959 Add ANN20X rules to ruff 2025-08-27 18:56:08 +01:00
Julian Stirling
24233412af Start adding ANN ruff rules 2025-08-27 18:54:15 +01:00
Julian Stirling
b46f429c1f Apply suggestions from code review of branch unify-jpeg-capture
Co-authored-by: Richard Bowman <richard.bowman@cantab.net>
2025-08-27 17:30:51 +01:00
Julian Stirling
7cd6b11411 Further unification of camera array functionality 2025-08-27 17:14:49 +01:00
Julian Stirling
5484b51a1e Unify JPEG capture, metadata, and saving; reducing duplication 2025-08-27 17:14:49 +01:00
Julian Stirling
9257c4489e Apply suggestions from code review of branch prevent-broken-frames-ending-scans
Co-authored-by: Beth Probert <beth_probert@outlook.com>
2025-08-21 18:05:46 +01:00
Julian Stirling
6fa4e4dc64 Add a grab_as_array camera method that grabs from the stream but catches broken jpegs and retries 2025-08-21 13:35:21 +01:00
Julian Stirling
8ce06991f9 Small tweaks to simulation camera to get scanning working. 2025-08-05 08:28:10 +01:00
Julian Stirling
cde6d0c9b3 Save settings when detector settings updated 2025-07-31 21:10:52 +01:00
Julian Stirling
33413a591a Complete UI for arbitrary dectector settings. Required better method for invoking actions.
Error handling was fixed in the process of getting the above correct.
2025-07-31 20:56:55 +01:00
Julian Stirling
e7e3a08210 Camera settings exposed in UI defined by server. 2025-07-31 20:56:55 +01:00
Julian Stirling
0794d4777f Camera calibration buttons specified by server. Simulation has option to remove sample 2025-07-31 20:56:55 +01:00
Julian Stirling
b90b02cf7d Better fix for exposure drift with more complete testing. Also fix return value for capture_to_memory 2025-07-29 12:11:45 +01:00
Julian Stirling
238d022342 Apply suggestions from code review of branch bg_detect_in_camera
Co-authored-by: Beth Probert <beth_probert@outlook.com>
2025-07-26 16:45:06 +01:00