Files
move_base2/config
duongtd 648243a0cd config: add the arc_std profile for the concave cradle
Matches the Gazebo dock_cradle_arc model - radius 0.40 m over 2.0 rad. Numbers
for simulation; no real dock has been measured.

offset_x is 0.92 and the derivation is worth stating, because the contact point
is NOT the deepest point. The cradle mouth is 0.673 m across while the robot is
0.960 m wide, so the robot never gets inside the cradle - it meets the two
mouth edges, which stand 0.184 m towards the robot from the deepest point:

    R - R*cos(arc_span/2) = 0.40 - 0.40*cos(1.0) = 0.184 m

so 0.583 rear extent + 0.070 padding + 0.184 + 0.08 clearance = 0.92. Changing
either arc_span or arc_radius moves the mouth and this has to be recomputed.

arc_min_span defaults to 0.52 rad off measured data rather than intuition: on a
0.40 m arc with 3 mm noise the fitted radius drifts +1.9 mm at 45 degrees of
span, +8.6 mm at 30, +25.4 mm at 20. Below 30 degrees a 0.40 m cradle can be
scored as 0.43 and fall outside arc_radius_tolerance.

arc_max_rms is the gate that matters. Every set of points fits some circle, a
right-angled corner included, so the residual is the only thing separating an
arc from a bend.

The tuning in the detect block stays out of this commit; it is someone else's
in-flight work on the same file.
2026-08-26 20:15:19 +07:00
..