First draft of delta stage

This commit is contained in:
Joel Collins 2019-08-06 18:00:37 +01:00
parent 18a4a9e560
commit d12f0a5362
2 changed files with 76 additions and 10 deletions

View file

@ -32,7 +32,7 @@ except ImportError:
logging.warning("Unable to import PiCameraStreamer")
from openflexure_microscope.camera.mock import MockStreamer
from openflexure_microscope.stage.sanga import SangaStage
from openflexure_microscope.stage.sanga import SangaStage, SangaDeltaStage
from openflexure_microscope.stage.mock import MockStage
@ -113,7 +113,7 @@ def attach_microscope():
# Initialise stage
logging.debug("Creating stage object...")
try:
api_stage = SangaStage()
api_stage = SangaDeltaStage()
except Exception as e:
logging.error(e)
logging.warning("No valid stage hardware found. Falling back to mock stage!")