From 991f682527706729a0ec7dd66bcaca8d66b0a93c Mon Sep 17 00:00:00 2001 From: Cornelius Krupp Date: Mon, 7 Sep 2026 23:56:09 +0200 Subject: [PATCH] Fix scan_lines parameter having to have a value larger than 1 to not crash --- .../bitbots_head_mover/config/head_config.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/bitbots_motion/bitbots_head_mover/config/head_config.yml b/src/bitbots_motion/bitbots_head_mover/config/head_config.yml index 980f85b23..9700d2fbe 100644 --- a/src/bitbots_motion/bitbots_head_mover/config/head_config.yml +++ b/src/bitbots_motion/bitbots_head_mover/config/head_config.yml @@ -79,7 +79,7 @@ move_head: default_value: 2 description: "Number of scan horizontal lines for the search pattern" validation: - gt_eq<>: [1] + gt_eq<>: [2] reduce_last_scanline: type: double @@ -115,7 +115,7 @@ move_head: default_value: 2 description: "Number of scan horizontal lines for the search pattern" validation: - gt_eq<>: [1] + gt_eq<>: [2] reduce_last_scanline: type: double @@ -151,7 +151,7 @@ move_head: default_value: 2 description: "Number of scan horizontal lines for the search pattern" validation: - gt_eq<>: [1] + gt_eq<>: [2] reduce_last_scanline: type: double @@ -184,10 +184,10 @@ move_head: scan_lines: type: int - default_value: 1 + default_value: 2 description: "Number of scan horizontal lines for the search pattern" validation: - gt_eq<>: [1] + gt_eq<>: [2] reduce_last_scanline: type: double