Started testing pluggable views

This commit is contained in:
Joel Collins 2018-11-15 17:18:04 +00:00
parent fb6f171e9b
commit f106c2ecba
9 changed files with 503 additions and 10 deletions

View file

@ -8,7 +8,9 @@ from .camera.pi import StreamingCamera
class Microscope(object):
def __init__(self, camera: StreamingCamera, stage: OpenFlexureStage):
"""Create the microscope object. The camera and stage should already be initialised."""
print("Assigning camera")
self.camera = camera
print("Assigning stage")
self.stage = stage
self.stage.backlash = np.zeros(3, dtype=np.int)