Skip to content

RFC-0012: its decisions in full

Rows of the decision inventory, from the RFC.

RFC-0012-1: A look is triggered by what the map does not know and the next move needs, not by a timer

  • Decided: Attention is a set of named trigger rules (unseen floor beside the way; a large turn; an opening; something not floor or wall ahead; new ground while exploring; floor about to be stepped on and never seen), each logged as a decision event with its reason and tested by a challenge.
  • Why: The operator's motorbike and snowboard rule: "look far and get ready before you are close"; the duck "looks where it walks, at one speed" and drops beside the way went unseen in 9 of 10 and 7 of 10 runs (§1, §2.1).
  • How: §2.1, §4 (one attention module in the brain); robots/duck/src/duck_lab/nav/side_drops.py is the first trigger.
  • Alternatives rejected: scan on a timer (spends time where all is known and blinds the forward check); wider sensing without looking (false drops grow with distance) (§7).
  • RFC status and section: Accepted, §2.1, §7. Only the first trigger is built (§5 steps 3 to 5 are not).
  • Who decided and when: the operator, 2026-11-16 (direction) and 2026-11-18 ("3A": accept and build it in the challenge stream).
  • Existing ADR: none (ADR-0019 mentions "the head's glance (RFC-0012)" only in passing).
  • Later changed by: RFC-0020 §(line 32) cites RFC-0012 §2.3 and keeps it; no change found.
  • In code: Partial, side_drops.py exists; there is no attention* module (find), matching §5.

RFC-0012-2: Look before you step: the robot walks only over floor its depth sensor has seen

  • Decided: The strip 0.20 to 0.40 m ahead across the robot's width is checked cell by cell against floor seen, with no tolerance; an unseen spot stops the duck to look; floor goes on, a drop is remembered, still-unseen is not walked on. Scanning beside the way while walking is added to cut the cost.
  • Why: Exploring batch b2 run 2 cut a staircase opening's corner it had never seen; the harness guard stopped it 0.05 m away. Replayed, the rule stops 1.3 s before. The operator, 2026-11-17, answered "maybe both" to the two proposed answers (§2.1, §8).
  • How: §2.1; robots/duck/src/duck_lab/nav/run.py:1326 ("Look before you step (step_check.py)").
  • Alternatives rejected: scanning beside the way as the only answer (kept as the speed, not the guarantee) (§8).
  • RFC status and section: Accepted, §2.1, §8.
  • Who decided and when: the operator, 2026-11-17 ("maybe both").
  • Existing ADR: none.
  • Later changed by: not found in my RFCs.
  • In code: Partial, run.py:1326 refers to step_check.py, but no step_check.py is in robots/duck/src/duck_lab/nav/ (ls); the rule may have moved or been renamed. Not resolved.

RFC-0012-3: Rules for every look: only once the sensor is there; standing if it blinds the forward check; every look logged with a budget

  • Decided: Collect when the sensor's own recorded pose is at the target, not after a fixed time; the robot does not walk while its head is turned away; each look is logged with duration and what it found.
  • Why: The removed glance (challenge 5) "read short because it looked while its head was still turning" (§1).
  • How: §2.1 rules, §4; side_drops.py (head_settled).
  • Alternatives rejected: none named.
  • RFC status and section: Accepted, §2.1.
  • Who decided and when: the operator accepted the RFC 2026-11-18.
  • Existing ADR: none.
  • Later changed by: not found in my RFCs.
  • In code: Partial, head_settled is imported in run.py:35; the budget logging was not checked.

RFC-0012-4: Pace is a few named speeds chosen from the map ahead: cruise, caution, creep, stop and look

  • Decided: A robot has named paces; the follower picks one from the map ahead so it slows before it arrives; the odometry scale is per speed.
  • Why: Slowing buys "more frames per metre and more time to decide" (§2.2). The measured result for the duck (built 2026-11-19): pace buys nothing measurable on challenges 6, 7, 10, 11 at about +15 % time; keeping it on is left to the apartment batch (§5 step 2).
  • How: §2.2, §4; robots/duck/src/duck_lab/nav/pace.py, robots/duck/profile.json (locomotion.pace, caution_mps = cruise_mps turns it off).
  • Alternatives rejected: one speed and bigger margins, "what the duck had" (§7).
  • RFC status and section: Accepted, §2.2, §5 step 2 (built).
  • Who decided and when: the operator, 2026-11-16 ("slowing from 0.3 to 0.2 is fine", §8).
  • Existing ADR: none.
  • Later changed by: not found in my RFCs; whether pace stays on is open per §5.
  • In code: Yes, nav/pace.py and robots/duck/profile.json "pace" block exist.

RFC-0012-5: The policy code holds no numbers; each robot's calibration supplies them

  • Decided: Speeds, per-speed dependencies, look distance, field of view, how the robot looks and how long it takes, and the error budget come from the robot's calibration (duck/calibration/<robot>.json); one policy serves every robot, and a second robot's numbers check nothing duck-specific is left.
  • Why: "the concept must serve many robots, and what slowing down means is set per robot" (the operator, 2026-11-16, §8).
  • How: §2.3; robots/duck/profile.json, robots/duck/calibration/.
  • Alternatives rejected: none named.
  • RFC status and section: Accepted, §2.3, §5 step 5 (not built).
  • Who decided and when: the operator, 2026-11-16.
  • Existing ADR: none.
  • Later changed by: RFC-0020 §2.3 reference: profiles carry the numbers (RFC-0020 line 32 cites it as "each robot supplies its own numbers; the policy holds none"). Extends, does not reverse.
  • In code: Partial, robots/duck/profile.json and calibration/ exist; no second robot's numbers exist (§5 step 5).