From 3ec2add6e4b0bf00361e99342667d6cb53ed2229 Mon Sep 17 00:00:00 2001 From: Henner Zeller Date: Sun, 8 Mar 2026 20:41:59 +0100 Subject: [PATCH] Properly report the position in filename. --- hostcontrol/src/main.rs | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/hostcontrol/src/main.rs b/hostcontrol/src/main.rs index bdccb94..c46a734 100644 --- a/hostcontrol/src/main.rs +++ b/hostcontrol/src/main.rs @@ -83,10 +83,9 @@ fn main() { max_xy[2] = 0.0; for n in 0..10 { - stage - .move_absolute_cartesian(max_xy * n as f64 / 10.0) - .unwrap(); - store_image(n, origin, &args.output_directory, &cam.capture().unwrap()); + let pos = max_xy * n as f64 / 10.0; + stage.move_absolute_cartesian(pos).unwrap(); + store_image(n, pos, &args.output_directory, &cam.capture().unwrap()); } }