From 715e2ef8e3dede33c6acdb0a9470db965818d448 Mon Sep 17 00:00:00 2001 From: duongtd Date: Wed, 26 Aug 2026 20:39:53 +0700 Subject: [PATCH] config: load arc_max_point_gap from YAML New key on the arc profile; without reading it here the value silently falls back to the C++ default and the YAML says something the running code does not do. --- plugins/dock_pattern_action_handler.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/plugins/dock_pattern_action_handler.cpp b/plugins/dock_pattern_action_handler.cpp index 203f996..692fffa 100644 --- a/plugins/dock_pattern_action_handler.cpp +++ b/plugins/dock_pattern_action_handler.cpp @@ -367,6 +367,7 @@ private: nh_param(p_nh, "arc_span", profile.arc_span); nh_param(p_nh, "arc_min_span", profile.arc_min_span); nh_param(p_nh, "arc_max_rms", profile.arc_max_rms); + nh_param(p_nh, "arc_max_point_gap", profile.arc_max_point_gap); int min_arc_points = static_cast(profile.min_arc_points); nh_param(p_nh, "min_arc_points", min_arc_points);