Started testing pluggable views
This commit is contained in:
parent
fb6f171e9b
commit
f106c2ecba
9 changed files with 503 additions and 10 deletions
|
|
@ -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)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue