config: load arc_span_tolerance, and set the test arc span to the true value
arc_span is now checked on both sides with its own tolerance, so the profile has to name the arc's REAL span rather than a padded upper bound. Padding it loosens the gate in the dangerous direction - it accepts runs where an edge is hidden and the axis is therefore wrong.
This commit is contained in:
@@ -365,6 +365,7 @@ private:
|
||||
nh_param(p_nh, "arc_radius", profile.arc_radius);
|
||||
nh_param(p_nh, "arc_radius_tolerance", profile.arc_radius_tolerance);
|
||||
nh_param(p_nh, "arc_span", profile.arc_span);
|
||||
nh_param(p_nh, "arc_span_tolerance", profile.arc_span_tolerance);
|
||||
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);
|
||||
|
||||
@@ -73,7 +73,8 @@ actions_dock:
|
||||
pattern: arc
|
||||
arc_radius: 0.40 # [m]
|
||||
arc_radius_tolerance: 0.06 # [m]
|
||||
arc_span: 2.2 # [rad] góc mở toàn phần của máng
|
||||
arc_span: 2.0 # [rad] góc mở THẬT của máng
|
||||
arc_span_tolerance: 0.20 # [rad] hai phía
|
||||
arc_min_span: 0.52 # [rad] sàn để tin phép khớp
|
||||
arc_max_rms: 0.010 # [m] cổng chính chống nhầm góc tường thành cung
|
||||
min_arc_points: 8
|
||||
|
||||
Reference in New Issue
Block a user