Calibration wizard asks about motor direction
This commit is contained in:
parent
08f91854a9
commit
f77542110e
3 changed files with 110 additions and 0 deletions
|
|
@ -28,6 +28,7 @@
|
|||
<script>
|
||||
import singleStepTask from "./calibrationWizardComponents/singleStepTask.vue";
|
||||
import welcomeStep from "./calibrationWizardComponents/welcomeStep.vue";
|
||||
import zMotorDirectionStep from "./calibrationWizardComponents/zMotorDirectionStep.vue";
|
||||
import cameraCalibrationTask from "./calibrationWizardComponents/cameraCalibrationTask.vue";
|
||||
import cameraStageMappingTask from "./calibrationWizardComponents/cameraStageMappingTask.vue";
|
||||
import finalStep from "./calibrationWizardComponents/finalStep.vue";
|
||||
|
|
@ -120,6 +121,15 @@ export default {
|
|||
});
|
||||
}
|
||||
|
||||
// Ask which way the z motor turns, right after the welcome screen but before any
|
||||
// other tasks, so the stage is correctly oriented before anything else runs.
|
||||
if (this.thingDescription("stage").title != "DummyStage") {
|
||||
tasks.push({
|
||||
component: markRaw(singleStepTask),
|
||||
props: { stepComponent: zMotorDirectionStep },
|
||||
});
|
||||
}
|
||||
|
||||
// Add calibration task for each thing
|
||||
for (const thing of thingsToCal) {
|
||||
const taskComponent = this.availableCalibrationTasks[thing];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue