diff --git a/run_scan.py b/run_scan.py index d2b59d1..650e2ee 100644 --- a/run_scan.py +++ b/run_scan.py @@ -40,6 +40,7 @@ TOTAL_TARGET_DEGREES = 360.0 # Timing PHOTO_TO_MOVE_DELAY = 8.0 TIMEOUT = 10.0 +MOVE_TO_PHOTO_DELAY = ROTATION_SPEED_DPS / ROTATION_STEP_SIZE + 2.0 # ================================================ @@ -114,6 +115,7 @@ def rotate_stand(ser): ser.write(f"a{ROTATION_STEP_SIZE}\n".encode()) time.sleep(0.3) await_completion(ser, "Waiting") + time.sleep(MOVE_TO_PHOTO_DELAY) # Buffer to account for movement time def flush_buffer(ser):