Inputs for the architecture document¶
The operator, 2026-12-02: what we settle while labs run goes into the architecture document we write when we define packages 1 and 2 (MVP 1 and MVP 2 with their outcomes, then the vision). This note collects it until then. Each entry says what is measured, what is read in code, and what is open.
Rates and latency (2026-12-02)¶
The question. Pollen's walker runs at 50 Hz. Should the navigator match the robot's rate?
The answer we settled on: no. Each layer runs at the rate its inputs change, and the robot's profile declares those rates. Layers nest as cascaded loops: an outer loop runs slower than the one inside it, and no faster than its own newest information.
| Layer | Rate today | Where it is set | What should set it |
|---|---|---|---|
| Walker policy (Pollen) | 50 Hz | microduck-nav action.py:52 ("the 50 Hz of NVIDIA's recipe") |
the body: balance and foot contacts |
| Navigator | 10 Hz | duck_lab/nav/run.py, TICK_S 0.1 |
its slowest decisive input, the depth frame |
| Guards' watch | 20 Hz | guardrails.py, WATCH_S 0.05 |
the sensor's rate, as near the robot as possible |
| Truth sampler (simulator) | 20 Hz | simhost/truth.py:22, HZ |
the pose needs no more; contact should not depend on it |
| robotd state stream | 20 Hz | Pollen's robotd | Pollen's |
| Mission Control | 2 Hz state, 1 Hz map | the profile's rates (profile.json:240) |
a person watching |
Why not 50 Hz for the navigator. The VL53L5CX gives at most 15 Hz in 8x8 mode (its datasheet, not checked against the duck's configured rate). A 50 Hz navigator would decide three to five times on the same frame and add load without information.
Latency matters more than rate. The latency budget is the frame's age, plus the wait for the next tick, plus transport, plus the walker's reaction. At 0.25 m/s each 100 ms is 25 mm of travel. The contacts in baseline-a are 1.4 to 1.8 mm deep after a refusal at 0.10 m, so the budget bears on them. Not measured. It can be read from recorded runs: the time from a frame's stamp to the command that frame produced.
For the design:
- Rate is a declared property of each layer, in the robot's profile: the sensors' rates, the command channel's rate, and a latency budget. The navigator's tick comes from the profile, not a constant.
- Robots differ. The Burger has a 5 Hz lidar (LDS-01, from memory, not checked) and Nav2's 20 Hz controller default. The NXT has Bluetooth command latency.
- A learned controller runs at its model's declared
policy_step_s, which is already enforced. The command is held between steps, as microduck-nav'sdeploy_holddoes. This answers the question RFC-0025 left open (RFC-0025, "Not decided, and not verified").
Observability at the source's rate (2026-12-02)¶
- Each source is recorded at its own rate with its own timestamp. Nothing is resampled when written: MCAP channels are already per source.
- All sources must share one clock. ADR-0027's clock epoch is not built yet.
- Joining by timestamp and downsampling are the reader's job.
- Pollen's 50 Hz joints can be recorded if robotd exposes them; 15 joints at 50 Hz is cheap.
- Contact comes from the simulator's own physics steps, not the 20 Hz truth sample. On the duck,
the body server's touches op (robotics-lab's
body-server-touches.patch) reports every 5 ms physics step's touch since the last sample, and the sampler collects them (simhost/truth.py,labrunner/contact.pysource 1). All 131 baseline-a runs read on 2026-12-02 havecontact.by"simulator" with the op live (floor_samplesabove 0). Only the fallback, MuJoCo's check of recorded poses, misses a touch between two samples. A new kind (Gazebo) must give the same physics-step source, or its runs say they were evaluated by a weaker one (RFC-0028).
Open¶
- A lab: the duck's measured frame-to-command latency from recorded runs, per scene.
- Whether the rates and the latency budget also become a standard in RFC-0033.