minor
This commit is contained in:
parent
7d8d1733c0
commit
de8b3944b0
1 changed files with 2 additions and 2 deletions
|
|
@ -32,7 +32,7 @@ class StitchConfig:
|
||||||
movement_interval: float = 0.001 # Seconds of motor on time
|
movement_interval: float = 0.001 # Seconds of motor on time
|
||||||
frame_interval: float = 0.25 # Seconds between frame captures (settle time)
|
frame_interval: float = 0.25 # Seconds between frame captures (settle time)
|
||||||
settle_time: float = 0.5 # Seconds to wait after stopping
|
settle_time: float = 0.5 # Seconds to wait after stopping
|
||||||
max_scan_time: float = 2400.0 # Safety timeout (5 minutes)
|
max_row_scan_time: float = 3000.0 # Safety timeout (50 minutes)
|
||||||
|
|
||||||
# Scan pattern
|
# Scan pattern
|
||||||
rows: int = 3
|
rows: int = 3
|
||||||
|
|
@ -541,7 +541,7 @@ class StitchingScanner:
|
||||||
max_no_movement = 50
|
max_no_movement = 50
|
||||||
|
|
||||||
while self.running and not self.paused:
|
while self.running and not self.paused:
|
||||||
if time.time() - start_time > self.config.max_scan_time:
|
if time.time() - start_time > self.config.max_row_scan_time:
|
||||||
self.log("Scan timeout")
|
self.log("Scan timeout")
|
||||||
break
|
break
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue