Files
action_core/plugins
duongtd 643f63f906 Describe the sample set when a detection is rejected as unstable
The spread number alone cannot separate two failures that need opposite
responses: a handful of samples landing far away while the rest agree, which
is a mis-detection at the source, versus every sample drifting, which means
the detection genuinely is not settled and the robot should re-detect or move
closer.

Four field runs hit this gate with spreads between 1.3 m and 3.2 m while the
detector itself reported the pallet to within a millimetre and the robot stood
still. Each run eliminated one theory and offered nothing to replace it,
because a single scalar cannot say where the samples went.

On failure the handler now logs the sample count, the filtered centre, the
deviation at p50, p90 and max, and the bounding box in the fixed frame.
Comparing p50 against p90 separates the two cases, and the box says where the
stray samples ended up - sitting on the robot's own position means something
very different from being scattered around the target.

Runs once per failed detection, never on the sampling path.
2026-08-13 16:35:59 +07:00
..
2026-08-10 10:52:16 +07:00
2026-08-10 10:52:16 +07:00
2026-08-10 10:52:16 +07:00