Commit graph

33 commits

Author SHA1 Message Date
Joel Collins
2cf025088b Calibration now stores to a config file, which can be loaded 2018-11-29 17:58:24 +00:00
Joel Collins
71ea3abda9 Converted config to a getter/setter property 2018-11-29 15:49:59 +00:00
Joel Collins
3925ef8cfe Moved hardware config to a runtime config YAML file in home 2018-11-29 14:41:56 +00:00
Joel Collins
c87878a7dc Tidied up new config load/save. Fixes #6. 2018-11-23 12:17:27 +00:00
Joel Collins
c887f990b5 Split loading, saving, and applying camera config file 2018-11-23 12:14:10 +00:00
Joel Collins
b73a8f7ec5 Recursive creation of missing directories 2018-11-23 11:17:34 +00:00
Joel Collins
cf96fa0ad2 Better handling of capture path and temporary files 2018-11-22 21:31:21 +00:00
Joel Collins
1dad25ee62 Store capture timestring in StreamObject metadata 2018-11-21 12:05:23 +00:00
Joel Collins
d3226731d6 Properly clean up temporary capture files at API exit 2018-11-21 10:45:45 +00:00
Joel Collins
dce59f3b88 Fixed new download redirect route 2018-11-21 09:51:04 +00:00
Joel Collins
838c832272 Minor cleaning 2018-11-20 19:04:23 +00:00
Joel Collins
c249e846dc Add .tmp to temporary capture files for clarity 2018-11-20 18:55:30 +00:00
Joel Collins
69e97ba5a3 Fixed non-clashing basename generation 2018-11-20 13:56:51 +00:00
Joel Collins
ede218ccc3 Implemented API delete method 2018-11-20 12:13:36 +00:00
Joel Collins
ea10cf1ce9 Created initial general documentation 2018-11-16 15:46:19 +00:00
Joel Collins
dd7a3ff2e5 Removed pointless image_recent from microscope state 2018-11-16 12:04:54 +00:00
Joel Collins
9d46ac1ca5 Updated returned capture metadata 2018-11-16 10:21:24 +00:00
Joel Collins
d75efa630b Added capture and capture previews to web UI 2018-11-12 16:22:49 +00:00
Joel Collins
4e67d24841 Added capture state endpoint 2018-11-12 12:22:06 +00:00
Joel Collins
143be8f592 Started integrating into Microscope class 2018-11-07 15:06:41 +00:00
Joel Collins
5df9b53a9c PEP-8-ified code a bit 2018-11-07 14:22:42 +00:00
Joel Collins
54f906f525 Removed redundant start_workers() calls 2018-11-07 12:04:08 +00:00
Joel Collins
a7598c5e5b Pi camera is now persistent in StreamingCamera 2018-11-07 12:03:09 +00:00
Joel Collins
61beb211ae More sensible creation of BaseCamera class properties 2018-11-07 11:04:01 +00:00
Joel Collins
ffb4dda6a6 Added subclass close() method 2018-11-07 10:58:36 +00:00
Joel Collins
7b23ca4b8a Moved generic camera methods into BaseCamera class 2018-11-07 10:54:39 +00:00
Joel Collins
35c7d97db9 Removed redundant code 2018-11-06 18:50:15 +00:00
Joel Collins
a7499fa3be Fixed broken context manager __exit__ 2018-11-06 18:49:44 +00:00
Joel Collins
028596a80e Added TODO 2018-11-06 18:39:06 +00:00
Joel Collins
fd73732c6a StreamingCamera cleans up StreamObject files automatically on close() 2018-11-06 18:37:17 +00:00
Joel Collins
d99602bd3d Allow log of multiple captures by StreamingCamera 2018-11-06 18:24:35 +00:00
Joel Collins
8031327a5b Minor style updates 2018-11-06 15:57:33 +00:00
Joel Collins
2f4f57a59b Initial commit 2018-11-06 11:35:07 +00:00