Commit graph

90 commits

Author SHA1 Message Date
Joel Collins
9b30d1d38f Completely overhauled config system 2019-06-05 16:03:58 +01:00
Joel Collins
41d9ab51ad Restructured camera attaching 2019-06-04 14:03:46 +01:00
Joel Collins
3b9ef670fe Improved flake8 results 2019-05-24 16:32:20 +01:00
Joel Collins
9fc4dfc628 Moved microscoperc.yaml to microscope_settings.yaml 2019-05-20 10:09:01 +01:00
Joel Collins
ff534e6a51 Initial support for SBv3 and MockStage 2019-05-15 13:25:04 +01:00
Richard Bowman
e6ec800c21 Fixed camera settings
Since splitting the camera config into a separate YAML file, we've broken
the ability to change the camera's configuration via the API (or at any time
except when the camera is set up, I think).  This (mostly) fixes that, though
I get type errors that I've had to work around (e.g. when setting
shutter_speed), see `pi.py`
2019-04-08 22:41:12 +01:00
Joel Collins
7d9f7278f1 Fixed camera config being overwritten instead of updated 2019-02-20 10:31:02 +00:00
Joel Collins
cc3f7f19df Fixed attaching lock failure 2019-02-19 13:42:17 +00:00
Joel Collins
1bbe234749 Fixed issue #42 2019-02-11 10:00:44 +00:00
Joel Collins
88b946b473 Improved runtime-config docs 2019-02-07 11:19:00 +00:00
Joel Collins
5672b82f5e Added many many debug statements to help debug issue #32 2019-02-05 17:06:05 +00:00
Joel Collins
0948c9308a Went on a PEP-8 rampage 2019-01-31 17:20:46 +00:00
Joel Collins
04bed170a0 Added JSON safety to config reads 2019-01-31 16:47:54 +00:00
Joel Collins
e9d74c07e6 Separated updating/writing from saving config 2019-01-31 13:51:02 +00:00
Joel Collins
5471ffa62b Introduced apply_config and read_config methods 2019-01-31 13:29:07 +00:00
Joel Collins
7a63451063 Added docstring 2019-01-30 18:23:48 +00:00
Joel Collins
f2a3261b03 Overhauled config loader to allow split configs 2019-01-30 17:45:11 +00:00
Joel Collins
0c156128fc Minor formatting changes 2019-01-30 12:02:35 +00:00
Joel Collins
465ed647d3 Fixed docstrings 2019-01-24 16:24:14 +00:00
Joel Collins
fb26bcb7f3 Added CompositeLock 2019-01-24 14:04:41 +00:00
Joel Collins
a40cb9b9f6 Implemented basic threaded tasks for long-running functionality 2019-01-23 16:48:49 +00:00
Joel Collins
0dff9b6b39 Enable web UI to run when no stage is connected 2019-01-22 14:47:11 +00:00
Joel Collins
0cde8b717d Added fov into microscope RC 2019-01-21 10:49:59 +00:00
Joel Collins
9c488279d2 Moved setting and getting stage config into root microscope config 2019-01-15 14:28:28 +00:00
Joel Collins
504c9b48a1 Moved camera config route into generic microscope config route 2019-01-15 14:01:52 +00:00
Joel Collins
7f42b3b706 Microscope now has option to add a name 2019-01-15 11:48:04 +00:00
Joel Collins
e1b021583b Rewritten plugin attacher for new system 2018-12-12 15:00:49 +00:00
Joel Collins
5ef9215051 Additional debug logging 2018-12-11 13:32:16 +00:00
Joel Collins
88647962f4 Closing microscope checks if hardware is attached 2018-12-04 15:15:09 +00:00
Joel Collins
20e49ad65c Rearranged state dictionary 2018-12-04 15:10:41 +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
7a58b4e95e Moved plugin mounting to a Microscope method 2018-11-23 17:51:13 +00:00
Joel Collins
8e953e1064 Added documentation for attaching plugins 2018-11-23 17:40:36 +00:00
Joel Collins
0f47d0dca7 Started building Microscope plugin system 2018-11-23 17:13:38 +00:00
Joel Collins
3b28f8c4ca Microscope now only attaches to hardware once an API request is made. 2018-11-19 16:31:38 +00:00
Joel Collins
ea10cf1ce9 Created initial general documentation 2018-11-16 15:46:19 +00:00
Joel Collins
f106c2ecba Started testing pluggable views 2018-11-15 17:18:04 +00:00
Joel Collins
92669e06a9 Removed pointless 'absolute' position return bool 2018-11-08 16:19:19 +00:00
Joel Collins
973ccf67ab Created API V1 2018-11-08 15:02:04 +00:00
Joel Collins
143be8f592 Started integrating into Microscope class 2018-11-07 15:06:41 +00:00