Joel Collins
574f4a615d
Fast AF use normal stream
2020-10-26 13:16:58 +00: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
54c342bbbb
Switch to picamerax
2020-09-07 16:31:59 +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
2435842ff6
Changed locks to 1s default
2020-06-25 16:48:17 +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
caf553db7a
Moved capture management into separate object
2020-04-28 14:32:56 +01:00
Joel Collins
32ddcd5d13
Added sleeps to check for blank capture fix
2020-03-24 16:34:53 +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
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
Joel Collins
e6c4664cb8
Handle passing a CaptureObject instance directly to capture()
2020-01-21 16:03:19 +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
387fdeeb7d
Fixed documentation (still needs rewriting)
2020-01-14 17:22:16 +00:00
Joel Collins
dee77c295a
Migrated scan plugin
2019-12-18 11:06:02 +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
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
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
Joel Collins
8b9ecbe2c7
Tidied up todos
2019-09-16 17:34:33 +01:00
Joel Collins
dc794d4df8
Microscope capture objects now just handle on-disk data
2019-09-16 16:35:32 +01:00
Joel Collins
5966ce29be
Blackened everything
2019-09-15 14:17:52 +01:00
Joel Collins
3467fe7759
Added extra type checking when applying pi camera config
2019-08-08 10:14:57 +01:00
Joel Collins
4715726e9c
Renamed pi.StreamingCamera to PiCameraStreamer
2019-07-16 11:12:24 +01:00
jtc42
4733b250ed
Added support for a fully mocked device
2019-06-28 12:52:55 +01:00
Joel Collins
f31c28fe52
Fixed read and apply config dicts
2019-06-12 17:23:24 +01:00
Joel Collins
ea253f8085
Smarter application of picamera settings
2019-06-05 16:04:14 +01:00
Joel Collins
3cf166226b
Converted config dict into properties/attributes
2019-06-04 14:03:16 +01:00
Joel Collins
3b9ef670fe
Improved flake8 results
2019-05-24 16:32:20 +01:00
Joel Collins
90a3a738af
Cleaned up camera locks
2019-05-23 14:25:57 +01:00
Joel Collins
e30956d761
Renamed video_resolution to stream_resolution
2019-05-20 10:55:43 +01:00
Joel Collins
1fe8ea18d8
Default capture resolution to MAX_RESOLUTION
2019-05-20 10:06:42 +01:00
Joel Collins
b7ee18d081
Better handling of GPU preview resizing
2019-04-14 11:31:48 +01:00
Joel Collins
793a3f0b63
Merge branch 'gain-exposure-settings' into 'master'
...
Fixed camera's read_config method
See merge request openflexure/openflexure-microscope-server!11
2019-04-14 09:04:03 +00:00
Richard Bowman
bd5843cec7
Fixed camera's read_config method
...
read_config was only returning keys already present in the camera's config dictionary, which meant that if the camera settings were reset/deleted, it no longer read the settings from the picamera object. I've changed it to use CONFIG_KEYS instead, which I believe is the correct behaviour.
2019-04-11 16:45:30 +01:00
Richard Bowman
33f719894d
Fixed if statement for updating camera config.
2019-04-09 06:27:07 +00: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
Richard Bowman
1cf1e40c54
Added a lock to stop_preview for good measure
2019-04-08 14:06:14 +01:00