Commit graph

110 commits

Author SHA1 Message Date
Julian Stirling
c7d84e2674 Fix HQ camera capture and streaming modes. 2026-06-05 16:58:35 +01:00
Julian Stirling
2faf324a59 Use quick capture for CSM 2026-06-05 16:58:35 +01:00
Julian Stirling
08e58a3c1d Fix docstrings 2026-06-05 16:58:35 +01:00
Julian Stirling
e3361ebec8 Update cameras inline with base camera rebase 2026-06-05 16:58:35 +01:00
Julian Stirling
aff860a086 Refactor camera streaming into modes 2026-05-27 08:43:10 +01:00
jaknapper
e93d9777a2 Type checking help for libcamera requests 2026-05-13 17:14:37 +01:00
jaknapper
0e1d9cca18 Improvements to properties and docstrings 2026-05-13 17:14:37 +01:00
Joe Knapper
1f5adbb1a5 Ruff 2026-05-13 17:14:37 +01:00
Joe Knapper
cab960fe2c Apply suggestions from code review of branch fom-af
Co-authored-by: Julian Stirling <julian@julianstirling.co.uk>
2026-05-13 17:14:36 +01:00
jaknapper
881970ce34 Record fom as other sharpness metric 2026-05-13 17:14:36 +01:00
Joe Knapper
84f3032022 Update docstrings to explain lower brightness 2026-03-04 20:52:49 +00:00
jaknapper
3020ab59f4 Fix typing for gamma_curve 2026-03-03 14:21:28 +00:00
jaknapper
0173cf912f Add gamma_curve to metadata 2026-03-03 13:59:43 +00:00
Joe Knapper
5019884175 Camera metadata includes subclass name, and test 2026-03-03 13:23:30 +00:00
Julian Stirling
ca46439269 Rename "active_detector" for background detecor. Improve thing selector coercion 2026-01-14 15:10:13 +00:00
Julian Stirling
6b97d2da44 Fix unit tests for background detectors as Things 2026-01-14 10:05:04 +00:00
Julian Stirling
99eee2e912 Fix camera type issues 2026-01-09 15:18:05 +00:00
Julian Stirling
afeca2bbed Fix picamera tuning setting type 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
51512f36f7 Unify UI for action_button_for and property_control_for 2026-01-09 15:18:04 +00:00
Julian Stirling
afbc00acef Improve __enter__ typing for things 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
ddc81f9c17 Apply suggestions from code review of branch update-for-labthings0.0.12
Co-authored-by: Richard Bowman <richard.bowman@cantab.net>
2025-12-16 13:32:57 +00:00
Julian Stirling
baf0ff9a11 Updating for changes related to NotConnectedToServerErrors 2025-12-15 17:18:30 +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
e7f669cb56 No blocking portals 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
5017fea9d1 A couple of final edits suggested in review 2025-12-02 09:57:25 +00:00
Julian Stirling
79c94c96ed Set channel minima and error if any LUV channels have std==0 2025-12-02 09:57:24 +00:00
Julian Stirling
982c55905c Update default exposure in picam and defaul LST values in tuning files, and set default colour gains from LST 2025-11-11 11:20:08 +00:00
Julian Stirling
13d3871059 Add testing for loading the tuning files in the normal test suite now not tied to picamera 2025-11-11 11:20:08 +00:00
Julian Stirling
6763845e38 Let the tuning file utils handle lens shading table manipulation. 2025-11-11 11:20:08 +00:00
Julian Stirling
ec16cc17f8 Update tuning file utils for our own tuning files. 2025-11-11 11:20:07 +00:00
Julian Stirling
01a883e95c Reset CCM resets to the CCM in the default tuning file. 2025-11-11 11:20:07 +00:00
Julian Stirling
a2900b0c16 Move tuning files into vc4 folder in case we support pisp (Pi5) later and update README 2025-11-11 11:20:07 +00:00
jaknapper
1b14990b76 Stop overwriting CCM in full recalibrate
Fix typo
2025-11-11 11:20:06 +00:00
Julian Stirling
ee2ef848b1 Add native implementation of find_tuning_algo 2025-10-29 13:08:10 +00:00
Julian Stirling
815b112069 Update the picamera tuning file utilities to not modify the dictionaries in place 2025-10-29 13:08:10 +00:00
Julian Stirling
2bc315f85d Update picamera cal docstring now white balance isn't its own method. 2025-10-28 14:00:02 +00:00
jaknapper
ba3f7f6cf5 Remove unused code, add comments 2025-10-28 14:00:01 +00:00
jaknapper
506693f653 Set colour gains directly from Lens Shading Table 2025-10-28 13:58:53 +00:00
Julian Stirling
c0a8d15628 Add calibration_required property to Camera and CSM things. 2025-10-23 17:32:58 +01:00
jaknapper
f8ee71b9c0 Make thing state mutable within the method 2025-10-23 10:38:10 +01:00
jaknapper
e0ce40607b Fix property name and call 2025-10-23 10:38:10 +01:00
Joe Knapper
b1413ca66c Camera metadata with basic data 2025-10-23 10:38:10 +01:00
jaknapper
ab0e00eb1d Fix ruff 2025-10-21 15:30:47 +01:00
jaknapper
d913db92af CCM for HQ cam also 2025-10-21 15:14:42 +01:00