diff --git a/run_scan.py b/run_scan.py index e821116..d386da4 100644 --- a/run_scan.py +++ b/run_scan.py @@ -96,7 +96,7 @@ def take_photo(): f"http://{CAMERA_IP}/exec_shutter.cgi?com=2nd1strelease", timeout=TIMEOUT, ) - time.sleep(0.3) + time.sleep(PHOTO_TO_MOVE_DELAY) # Buffer to account for shutter speed def rotate_stand(ser): @@ -159,8 +159,6 @@ def main(): while current_angle < TOTAL_TARGET_DEGREES: take_photo() - # Buffer to account for shutter speed - time.sleep(PHOTO_TO_MOVE_DELAY) rotate_stand(ser) current_angle += ROTATION_STEP_SIZE