Commit graph

220 commits

Author SHA1 Message Date
Joel Collins
da6212616c Cleaned up code layout 2020-11-17 16:31:32 +00:00
Joel Collins
85f77fa867 Removed old picamera_lst_path attribute 2020-11-17 16:21:05 +00:00
Joel Collins
021745da26 Remove separate camera stream thread 2020-11-17 16:19:55 +00:00
Joel Collins
3058c67542 Moved frames_iterator scope 2020-11-17 11:21:01 +00:00
Joel Collins
f7655400e1 Move stream frame management into FrameStream class 2020-11-16 11:25:39 +00:00
Joel Collins
90ccd0bc4e Added frame iterator explanation comment 2020-11-16 10:14:54 +00:00
Joel Collins
f51d4ff200 Added use_video_port argument back to array() 2020-11-13 17:15:39 +00:00
Joel Collins
6fb61e1e3f Reverted logging style 2020-11-12 15:45:58 +00:00
Joel Collins
9f5252194a Updated all log strings to new format 2020-11-12 15:12:17 +00:00
Joel Collins
6644819352 Formatting 2020-11-12 14:33:08 +00:00
Joel Collins
7c450b6214 Moved piexif into captures submodule 2020-11-12 12:03:34 +00:00
Joel Collins
1c7b27a29f Merge branch 'master' of https://gitlab.com/openflexure/openflexure-microscope-server into master 2020-11-06 10:41:50 +00:00
Joel Collins
eae3124959 Fixed ignored kwargs 2020-11-06 10:36:10 +00:00
Joel Collins
4c61f0c847 Reduced long-term lock usage 2020-11-06 10:27:22 +00:00
Joel Collins
3cfbb40655 Removed pointless GPU preview log 2020-10-28 15:40:51 +00:00
Joel Collins
250fd07e9a Code formatting and linting 2020-10-27 14:14:59 +00:00
Joel Collins
09849ce064 Explicit JPEG thumbnail on capture 2020-10-27 14:04:55 +00:00
Joel Collins
9b4031ff12 Changed frame tracker logging level to debug 2020-10-26 14:33:40 +00:00
Joel Collins
574f4a615d Fast AF use normal stream 2020-10-26 13:16:58 +00:00
Joel Collins
cd8145c198 Isort 2020-10-22 15:59:19 +01:00
Joel Collins
c33fb6afc8 Fixed initial stream object 2020-10-16 14:53:10 +01:00
Joel Collins
994e83dbeb Code cleanup 2020-10-14 14:56:29 +00:00
Joel Collins
2bfb988460 Code formatting 2020-10-13 15:02:19 +01:00
Joel Collins
2ce58f2aee Merge branch 'master' of https://gitlab.com/openflexure/openflexure-microscope-server 2020-09-07 16:33:01 +01:00
Joel Collins
54c342bbbb Switch to picamerax 2020-09-07 16:31:59 +01:00
Joel Collins
5139b24ffe Updated to new LabThings structure 2020-09-04 15:48:52 +01:00
Joel Collins
24398ba7dc Updated tasks nomenclature 2020-07-21 12:54:42 +01:00
Joel Collins
fccc58fd62 Added lock acquisition to preview functions 2020-07-15 17:18:23 +01:00
Joel Collins
2c38a7dc43 Delegate starting stream worker 2020-07-06 13:33:17 +01:00
Joel Collins
6e22376d9e Start streamer on init and never time out 2020-07-06 13:27:18 +01:00
Joel Collins
ab3c4b3745 Merge remote-tracking branch 'origin/master' into labthings-070 2020-07-03 18:13:20 +01:00
Joel Collins
489b81f34b Removed some unused gevent imports 2020-07-02 23:41:28 +01:00
Joel Collins
d897ad38a5 Added basecamera preview_active 2020-06-29 15:39:33 +01:00
Joel Collins
54a2e78551 Fixed broken error handler 2020-06-29 15:38:09 +01:00
Joel Collins
8152d1dccd Revert "Removed unused explicit LST handler"
This reverts commit 89e8d041a8.
2020-06-29 15:35:29 +01:00
Joel Collins
89e8d041a8 Removed unused explicit LST handler 2020-06-29 15:34:39 +01:00
Joel Collins
9cecb477cb Flipped to explicit finite lock timeouts 2020-06-29 09:03:27 +01:00
Joel Collins
2435842ff6 Changed locks to 1s default 2020-06-25 16:48:17 +01:00
Joel Collins
6b39669546 Removed default timeout from camera lock 2020-06-24 16:04:33 +00:00
Joel Collins
7c1c49eff2 Added 5 second timeout to device locks 2020-06-24 10:39:00 +01:00
Joel Collins
5d70d5f7fe Remove camera timeout 2020-06-15 16:19:17 +01:00
Joel Collins
89637976e7 Reverted frame thread to patched threading.Thread 2020-06-15 12:09:23 +01:00
Joel Collins
e01e96ea3c Separated JPEG quality and MJPEG quality 2020-06-11 16:24:44 +01:00
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