Skip to content

RFC-0015: its decisions in full

Rows of the decision inventory, from the RFC.

RFC-0015-1: ROS 2 may run in a container as a comparison and learning tool; nothing of ours depends on it

  • Decided: Nav2, slam_toolbox and explore_lite run in a Docker image built from a Dockerfile in the repository, joined to the simulator by a bridge over the existing JSON-RPC sockets. Nothing is installed on the workstation and nothing of ours imports ROS.
  • Why: "Reading is not enough: the operator wants to run the standard stack on the same simulated duck, learn how it works by using it, and compare it with ours on the same tests" (§1). The operator: "I am OK on Docker" (status line).
  • How: nav2/Dockerfile, nav2/bridge.py, nav2/params_overrides.yaml (§8); step 1 of §4 makes an ADR amending ADR-0001 decision 1.
  • Alternatives rejected: read only (PRIOR-ART.md); adopt Nav2's concepts without running it; Gazebo with a stock robot instead of the duck (§6).
  • RFC status and section: Parked (status line); Accepted revision 3 before that; §3.1, §4 step 1, §6.
  • Who decided and when: the operator, 2026-11-18 ("I am OK on Docker"); parked by the operator 2026-11-19 ("park for now"). The advisor's two reviews (Fable 5.1) shaped revisions 2 and 3 (§7).
  • Existing ADR: ADR-0018 covers it fully (decision, container, no import of ROS, adoption still governed by ADR-0001 decision 4).
  • Later changed by: ADR-0020 decision 1 (2026-11-23) goes beyond comparison scope: ROS 2 as a robot's own stack behind our contracts; RFC-0025 §3.2 and §3.3 (RFC-0015's nav2/bridge.py is named "a prior art" for the connector). RFC-0015 itself is parked.
  • In code: Yes: nav2/Dockerfile, nav2/bridge.py, nav2/params_overrides.yaml, nav2/merge_params.py, nav2/costmap_probe.py, nav2/first_drive.sh exist at the repo root.

RFC-0015-2: Both brains face the same tests, the same evaluator and scoreboard, and write the same format-2 run record through a Brain interface

  • Decided: Nav2 and our navigator are compared on challenges 1-11 (ten seeds) and exploring batches, scored by the unchanged evaluator; both write run format 2 through a recorder taken out of our Navigator, and the runner calls a Brain interface both implement. Nav2's outcomes map to ours (SUCCEEDED to reached, planner failure to refused, controller failure to stalled, time limit to timeout).
  • Why: "per PRIOR-ART row, an adopt-or-keep decision with a number behind it" (§2 Success); the evaluator and scoreboard "unchanged" (§3.5).
  • How: §3.5 "Scoring"; §4 step 3 (the Brain interface, the shared recorder, the outcome mapping, the costmap export).
  • Alternatives rejected: none named.
  • RFC status and section: Parked; §2, §3.5, §4 step 3.
  • Who decided and when: the advisor's first review folded into revision 2 (2026-11-18); the operator accepted the RFC.
  • Existing ADR: partly: ADR-0018 consequences say "the same evaluator, scoreboard and run records for both" and "Run records stay MCAP format 2, written by our recorder for both brains". The Brain interface and the outcome mapping are in no ADR.
  • Later changed by: not found in RFC-0016 to RFC-0021 or RFC-0022 to RFC-0032. RFC-0025 §3.2 line 486 cites "RFC-0015 §3.5 has the map" of Nav2 outcomes to our ends for its contract-join wrapper (reuse, not a change).
  • In code: No: grep for a Brain interface in robots/duck/src and libs/runner/src finds none (step 3 was never done; the RFC is parked).

RFC-0015-3: Nav2's configuration is a closed list of adapted parameters, frozen by a functional gate, not tuned to win or lose

  • Decided: only a named list of parameters is adapted (footprint, speed limits, lookahead, costmap resolution, inflation, two depth sources, a drop_layer, the behaviour tree without BackUp, goal tolerance, the collision monitor's one stop polygon, explore_lite's frontier size); everything else stays at Jazzy defaults. The configuration is frozen when challenges 1 and 2 pass 10 of 10 through the bridge; any later change is a new frozen version naming the runs it makes stale. The evaluator's contact radius stays 0.083 for both brains while planning uses 0.12 for both.
  • Why: "Tuning Nav2 to win or lose" is a non-goal (§2); 0.12 is "our lethal radius ... the contacts would compare radii, not stacks" (§3.4).
  • How: §3.4; nav2/params_overrides.yaml with nav2/merge_params.py (§8). Not frozen: the spike never reached a goal.
  • Alternatives rejected: none named (0.083 as planning radius is argued against in §3.4).
  • RFC status and section: Parked; §2 non-goals, §3.4.
  • Who decided and when: the advisor's first review produced the closed list and the gate (revision 2, 2026-11-18; §7).
  • Existing ADR: none.
  • Later changed by: §8 of RFC-0015 itself (the spike): "there is no clearable_layers parameter in Jazzy", so §3.4's plan for a never-cleared drops layer "does not work as written"; the controller default is MPPI not Regulated Pure Pursuit. Open, unresolved.
  • In code: Partial: nav2/params_overrides.yaml and nav2/merge_params.py exist; the freeze gate was never reached.

RFC-0015-4: A locomotion adapter, shared by both brains, applies the duck's calibration facts in a fixed order

  • Decided: /cmd_vel reaches robot.move through an adapter that (d) turns negative vx to 0, (c) lifts 0 < vx < 0.2 to 0.2, then for pivots (a) kicks a pivot from a stand at 1.2 rad/s for 1 s, (b) adds a creep vx of -0.06. It is "calibration facts, not navigation".
  • Why: from calibration/sim.json and PHASE0-SPIKE: the duck does not walk backwards, below 0.2 m/s, or pivot below about 1.1 rad/s (§3.3).
  • How: §3.3; first bridge builds steps (d), (c), (b) only (§8).
  • Alternatives rejected: none named.
  • RFC status and section: Parked; §3.3.
  • Who decided and when: the advisor's first review (2026-11-18, revision 2); the RFC gives no operator quote for it.
  • Existing ADR: none.
  • Later changed by: not found in my RFCs; RFC-0020 §4 later makes locomotion a plugin interface (the same facts become duck-walk@1), which covers the idea for the platform.
  • In code: Partial: bridge has (d), (c), (b); the kick (a) is "not built" (§8).

RFC-0015-5: Two depth sources: marking from obstacle returns, clearing from floor returns; drops are their own never-cleared layer

  • Decided: the downward-looking 8x8 sensor feeds Nav2 a marking-only cloud (heights 0.08-0.30 m) and a clearing source that keeps floor returns (level scan or floor-band cloud); drops go to a second obstacle layer drop_layer with clearing off.
  • Why: Nav2's obstacle layer "clears only along rays to the points it keeps"; with floor returns dropped, "stale marks stay for ever and the comparison on clearing says nothing" (§3.2).
  • How: §3.2 table and "Why two depth sources"; nav2/bridge.py.
  • Alternatives rejected: the level scan against the floor-band cloud were left for the spike to compare (§3.2); §8 tried the cloud only: "the 64 rays clear lines, not the area".
  • RFC status and section: Parked; §3.2, §3.4, §8.
  • Who decided and when: the advisor's first review (revision 2, 2026-11-18).
  • Existing ADR: none.
  • Later changed by: RFC-0015 §8 (drop_layer cannot be protected from recoveries as written). RFC-0025 §3.9 (the sensing layer) was not read for this; not checked whether it supersedes.
  • In code: Partial: bridge publishes obstacle, floor and drops clouds (§8); clearing question open.

RFC-0015-6: The bridge runs at wall-clock pace and stamps ROS messages from the duck's monotonic t_ns

  • Decided: use_sim_time: false everywhere; the simulator is never faster than real time; stamp = wall now - (monotonic now - t_ns).
  • Why: "the simulator runs at wall-clock pace (duck-sim will not stand below 1.0x real time)" (§3.1).
  • How: §3.1; nav2/bridge.py.
  • Alternatives rejected: none named.
  • RFC status and section: Parked; §3.1.
  • Who decided and when: the advisor's first review (revision 2, 2026-11-18).
  • Existing ADR: partly: ADR-0020 decision 3 states the platform clock rule ("The simulator runs at real time", wall clocks) for Gazebo.
  • Later changed by: RFC-0025 §3.6 (line 808-816) and ADR-0020 decision 3: for a Gazebo bridge "the earlier wording ... does not hold": inside the ROS graph use_sim_time is true, the connector stamps wall_ns on receipt and keeps the ROS stamp beside it.
  • In code: Yes: nav2/bridge.py exists (RFC-0025 cites nav2/bridge.py:5 stamping with its own clock). ---