diff --git a/src/stitching_scanner.py b/src/stitching_scanner.py index e49daf4..32a4f2b 100644 --- a/src/stitching_scanner.py +++ b/src/stitching_scanner.py @@ -756,7 +756,7 @@ class StitchingScanner: # Done when we've moved enough if abs(total_y) >= target_displacement: self.log(f"Row transition complete: {abs(total_y):.1f}px") - self.state.current_y = 0 + self.state.current_y -= self.state.mosaic_init_width self.motion.send_command('s') time.sleep(self.config.settle_time)