Merge branch 'new_things' into 'v3'
Scanning and recentring See merge request openflexure/openflexure-microscope-server!162
This commit is contained in:
commit
a54c972891
3 changed files with 512 additions and 0 deletions
|
|
@ -9,6 +9,8 @@ from .things.autofocus import AutofocusThing
|
|||
from .things.camera_stage_mapping import CameraStageMapper
|
||||
from .things.system_control import SystemControlThing
|
||||
from .things.settings_manager import SettingsManager
|
||||
from .things.auto_recentre_stage import RecentringThing
|
||||
from .things.smart_scan import SmartScanThing
|
||||
from .serve_static_files import add_static_files
|
||||
from .logging import configure_logging, retrieve_log
|
||||
|
||||
|
|
@ -17,10 +19,12 @@ configure_logging()
|
|||
thing_server = ThingServer()
|
||||
thing_server.add_thing(StreamingPiCamera2(), "/camera/")
|
||||
thing_server.add_thing(SangaboardThing(), "/stage/")
|
||||
thing_server.add_thing(RecentringThing(), "/auto_recentre_stage/")
|
||||
thing_server.add_thing(AutofocusThing(), "/autofocus/")
|
||||
thing_server.add_thing(CameraStageMapper(), "/camera_stage_mapping/")
|
||||
thing_server.add_thing(SystemControlThing(), "/system_control/")
|
||||
thing_server.add_thing(SettingsManager(), "/settings/")
|
||||
thing_server.add_thing(SmartScanThing(), "/smart_scan/")
|
||||
try:
|
||||
add_static_files(thing_server.app)
|
||||
except RuntimeError:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue