correction calibration
This commit is contained in:
@@ -339,11 +339,13 @@ class GridScanner:
|
||||
x = self.xbase + col * self.dx
|
||||
y = self.ybase + row * self.dy
|
||||
cell += 1
|
||||
|
||||
logger.info(
|
||||
"[%02d/%02d] row=%d col=%d → X=%.1f mm Y=%.1f mm",
|
||||
cell, max_cells, row, col, x, y,
|
||||
)
|
||||
self.grbl.move_to(x, y, feed=self.feed)
|
||||
if cell>1:
|
||||
self.grbl.move_to(x, y, feed=self.feed)
|
||||
|
||||
uuid = f'{self.proc.session}-{position}-{self.row_to_char[row]}{col+1}'
|
||||
self._capture(uuid, self.duration, self.stop_playing)
|
||||
|
||||
Reference in New Issue
Block a user