Richard Bowman
1f558bbeb7
OpenAPI Validation Fixes
...
OpenAPI validation seems to have become stricter about checking for None defaults
in parameters that don't allow None. I have
modified two things as a result:
1. StageTypeProperty (used to pick between SangaStage and SangaDeltaStage)
now defaults to SangaStage (which is the
original behaviour anyway)
2. It is now allowed to pass x,y,z=None when making a move - this is the same as
not passing the respective argument, so the
function already correctly handled this case.
2023-03-22 08:58:04 +00:00
Richard Bowman
4b73fd82f6
Format fix
2023-03-21 15:11:24 +00:00
Richard Bowman
8e50a90fb2
Explicitly mark arguments as optional
...
mypy now considers implicitly Optional arguments
to be errors - I have made them now explicitly
Optional, which passes.
2023-03-21 15:04:49 +00:00
Joel Collins
0626b13bfd
Formatting
2020-12-07 17:08:47 +00:00
Joel Collins
3e2f876627
Added mjpeg bitrate to settings
2020-12-07 16:49:00 +00:00
Joel Collins
7866ec0f47
Static type analysis
2020-11-30 13:36:45 +00:00
Joel Collins
25d3b15d4e
Fixed camera settings read
2020-11-22 16:12:04 +00:00
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
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
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
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