WIP: camera stage mapping
This still has some bugs, mostly related to numpy and serialisation.
This commit is contained in:
parent
6e04618051
commit
63d7a6eb4d
4 changed files with 198 additions and 3 deletions
|
|
@ -5,12 +5,14 @@ from labthings_sangaboard import SangaboardThing
|
|||
from labthings_picamera2.thing import StreamingPiCamera2
|
||||
|
||||
from .things.autofocus import AutofocusThing
|
||||
from .things.camera_stage_mapping import CameraStageMapper
|
||||
|
||||
logging.basicConfig(level=logging.INFO)
|
||||
|
||||
thing_server = ThingServer()
|
||||
thing_server.add_thing(StreamingPiCamera2(), "/camera")
|
||||
thing_server.add_thing(SangaboardThing(), "/stage")
|
||||
thing_server.add_thing(AutofocusThing(), "/autofocus")
|
||||
thing_server.add_thing(StreamingPiCamera2(), "/camera/")
|
||||
thing_server.add_thing(SangaboardThing(), "/stage/")
|
||||
thing_server.add_thing(AutofocusThing(), "/autofocus/")
|
||||
thing_server.add_thing(CameraStageMapper(), "/camera_stage_mapping/")
|
||||
|
||||
app = thing_server.app
|
||||
Loading…
Add table
Add a link
Reference in a new issue