Commit graph

177 commits

Author SHA1 Message Date
Joel Collins
7c9f42f7f3 Optimised captures by using greenlets for disk IO 2020-06-11 11:42:31 +01:00
Joel Collins
a34214b9fb Fixed broken references to capture list 2020-04-28 14:47:22 +01:00
Joel Collins
caf553db7a Moved capture management into separate object 2020-04-28 14:32:56 +01:00
Joel Collins
de5894964e Explicitally use gevent for camera stream thread 2020-03-27 16:40:06 +00:00
Joel Collins
43c8fea37f Use LabThings ClientEvent 2020-03-27 15:07:11 +00:00
Joel Collins
6476778673 Merge remote-tracking branch 'origin/master' into v2.1.0-dev 2020-03-25 17:00:55 +00:00
Joel Collins
32ddcd5d13 Added sleeps to check for blank capture fix 2020-03-24 16:34:53 +00:00
Joel Collins
697fa87566 Removed debug print 2020-03-17 14:20:07 +00:00
Joel Collins
2bc02b3844 Sync frames using gevent events 2020-03-15 17:06:05 +00:00
Joel Collins
d098af8858 Use gevent sleep in mock camera 2020-03-15 17:04:40 +00:00
Joel Collins
6092e8ab5d Rearranged for clarity 2020-03-15 16:30:19 +00:00
Joel Collins
9842de8859 Started basic rescue script 2020-03-03 16:13:21 +00:00
Joel Collins
a1531e9b14 Fixed capture key types 2020-03-01 18:04:33 +00:00
Joel Collins
60c6ae72f8 Handle captures as an OrderedDict. Fixes file deletion 2020-03-01 17:57:30 +00:00
Joel Collins
0595d3c620 Let camera object handle its own library rebuild 2020-02-18 16:16:06 +00:00
jtc42
f2588a506e Add more complete Capture object schemas 2020-02-07 17:05:30 +00:00
Joel Collins
cf66359559 Reimplemented serialising LST 2020-02-06 13:35:05 +00:00
Joel Collins
945c7e4e27 Fixed checking if LST path exists 2020-01-30 14:21:40 +00:00
Joel Collins
9b4bf4c8fc Moved status routes to instrument/state 2020-01-29 17:43:52 +00:00
Joel Collins
e9e2419fe4 Renamed capture.filename to capture.name 2020-01-29 16:21:38 +00:00
Joel Collins
265eed7bfa Fixed picamera setup 2020-01-29 16:16:09 +00:00
Joel Collins
7458d278d8 Simplified new configuration and metadata 2020-01-29 15:36:57 +00:00
Joel Collins
19af98736d Draft of new semantics 2020-01-29 11:55:39 +00:00
jtc42
386f85d0a1 Fixed default target 2020-01-24 15:41:21 +00:00
Joel Collins
e6c4664cb8 Handle passing a CaptureObject instance directly to capture() 2020-01-21 16:03:19 +00:00
jtc42
36334ed743 Moved to a LabThings dependency for server 2020-01-17 15:13:32 +00:00
Joel Collins
feddcc546b Changed preferred paths to use PROGRAMDATA, /var, and /etc 2020-01-16 16:31:19 +00:00
Joel Collins
802f5ba0c2 Started updating documentation 2020-01-15 15:03:58 +00:00
Joel Collins
cdac9d0ac3 Fixed BytesIO streams closing after capture 2020-01-15 11:53:15 +00:00
Joel Collins
387fdeeb7d Fixed documentation (still needs rewriting) 2020-01-14 17:22:16 +00:00
Joel Collins
bf9a1e358e Fixed finding captures by UUID 2020-01-14 15:29:35 +00:00
Joel Collins
2b90829020 Replace uuid().hex with just uuid() 2019-12-28 18:36:46 +00:00
jtc42
a8a3cafa97 Restructured labthings 2019-12-21 12:10:09 +00:00
Joel Collins
dee77c295a Migrated scan plugin 2019-12-18 11:06:02 +00:00
Joel Collins
6de315fd48 Drafted ZipBuilder plugin 2019-11-28 16:01:05 +00:00
Joel Collins
ee3d2d90cc Fixed missing metadata keys 2019-11-22 13:42:29 +00:00
Joel Collins
37c514dacb Moved system metadata into 'system' key. Fixed reloading. 2019-11-22 12:17:37 +00:00
Joel Collins
b430a2d34a Blackened 2019-11-20 14:13:01 +00:00
jtc42
83391f7edf Fixed PIL debug spam 2019-11-19 21:40:20 +00:00
jtc42
76af0891e9 Blackened 2019-11-15 16:52:57 +00:00
jtc42
d79fd55301 Drafted actions routes 2019-11-15 16:40:25 +00:00
jtc42
6581612312 Implemented root API v2 routes 2019-11-14 16:33:00 +00:00
jtc42
b33ab7b22a Moved to a module-level user_settings object 2019-11-12 17:14:30 +00:00
jtc42
f2b98807b4 Fixed docstring 2019-11-12 17:14:00 +00:00
Joel Collins
b81cfaf9e7 Converted all configs to JSON 2019-11-12 14:36:39 +00:00
Joel Collins
4e7606aa0c Blackened files 2019-11-06 22:07:16 +00:00
jtc42
625b03fae3 Moved lock submodule into 'common' and updated docs 2019-11-01 18:10:04 +00:00
Joel Collins
7c121cd142 Added timestamp to mock camera stream 2019-10-30 09:43:27 +00:00
Joel Collins
1c67b96895 Added a useful read_config method to BaseCamera 2019-09-20 14:12:49 +01:00
Joel Collins
33af3bf48c Add "board" to all device states 2019-09-19 17:22:04 +01:00