Repository navigation
Stream the fly loop into leash wheel frames per tick - #267
Conversation
Reviewed exact head
Other local checks passed, reproduced with fresh scratch outputs under The transport source is unchanged. No robot/board request, bearer read, motion, or window was used; these checks do not satisfy the three outstanding #262 robot demonstrations. The build/GPU slot is released for the fix. |
Reviewed commit The additive Evidence checked independently without a build or robot request: parsed the committed CPU and GPU JSONL/CSV records, requiring exactly T/L/R, sequential integer ticks, matching decisions and rounded-CSV throttle within its rounding tolerance, opposite wheel signs, finite values, magnitude <= 0.04, and explicit zeroes for holds. Results: CPU 12 frames (5 left / 4 hold / 3 right); GPU 30 frames (17 / 4 / 9). Scope is the authorized loop implementation, its README, T67 evidence, and handoff; package names, manifests/features, public library interfaces, CSV columns, and transport code are unchanged. Camera or output failures return errors instead of replaying prior commands. The existing arrival-based deadman, live/armed gate, stop/lease lifecycle, and stable transport session label are preserved. Documentation correctly distinguishes EOF stopping from a live deadman demonstration, and requires the operator's retry word, successful zero probe, low speed, a bounded window, and the estop reset decision. Local captures and the historical acknowledgement refusal are not presented as fresh robot evidence. PR linkage is No code edits, builds, GPU jobs, robot/board requests, credential access, or windows were used in this review. |
Reviewed commit From & 'C:/Users/ericm/qualia/target/debug/qualia-gates.exe' provenanceIt exited 0 and reported: The seven reported long-code-run paths are unchanged from
The evidence correctly labels the input as a locally served recorded JPEG, distinguishes author-run checks from live acceptance, and attributes the acknowledgement refusal to the historical |
Re-reviewed exact head Independently reproduced on the rebuilt binary with fresh scratch outputs in The earlier independently reproduced CUDA build, corruption test, GPU/CPU trace-and-spike comparisons, streaming-gap check, camera failure, broken pipe, and invalid-limit checks stand: the fix changes only this preflight boundary, plus evidence documentation. No additional GPU run or Cargo build was taken during re-review. No implementation or committed evidence was modified by this reviewer. This approves the local shim. It does not claim the three #262 robot demonstrations, a board deployment, or a new acknowledgement probe; I made no robot request and read no bearer. |
The fly loop previously decoded commands only after all images were acquired, so a trace filter would deliver old decisions in a burst.
loop --frames-out -now emits one flushed JSON wheel frame during each CPU/GPU tick, after recording the matching CSV row.Tis the original tick; holds emit explicit zeroes. Loop status goes to stderr.The neural firing fractions are converted through the existing command/throttle readout into bounded differential pivots;
--max-wheel-speeddefaults to 0.04 and rejects non-finite or out-of-range values. Existing frame destinations are refused before evidence files are opened. The README explains the mapping and bounded live pipe recipe. Transport safety, lease, arrival-based deadman and session-label code are unchanged.Validation: CUDA-enabled package build, existing artifact corruption test and unchanged transport build pass. Local recorded-JPEG runs produced 30 GPU frames and 12 CPU frames, independently checked against recorded spikes and CSV. Receiving the first JSON frame unlocked the second camera response; a 0.969-second injected gap emitted no substitute frame. Camera HTTP 503 and broken pipe both exit with errors; invalid limits emit nothing; existing destination checks preserve prior bytes. Correctness, clean-room and contract reviews approve; the correctness finding was fixed and independently rechecked.
A subsequent host loop against the robot's live camera completed 30 ticks in 5.181 s, producing 18 left, 3 hold and 9 right decisions into a local JSONL file. All frames agree with the CSV and 0.04 bound. Raw JSON/CSV/stderr and limitations are in docs/evidence/T67/fly-frames/. No transport or motor command was sent; this is sensor-to-frame evidence only. No bearer was fetched, board job taken or window opened. An existing Qualia agent was found on port 18081; its health could not be authenticated with the available local CA files.
Provenance and figures pass; journal passes for the existing article PR #261; mission offline self-test passes 40 cases. The full robot demonstrations and live mission were not run. The historical acknowledgement refusal is explicitly identified as previous evidence. The robot probe waits for the operator's word to retry, and estop also waits for a reset decision.
Refs #262. This PR must not close the ticket: the bounded live applied run, live deadman telemetry and estop latch/refusal/resume are still owed.