Skip to content

Capture experiment snapshots and improve yaw diagnostics - #63

Merged
mcroomp merged 1 commit into
mainfrom
feat/experiment-capture-yaw-analysis
Nov 26, 2026
Merged

mcroomp merged 1 commit into
mainfrom
feat/experiment-capture-yaw-analysis

Conversation

@mcroomp

@mcroomp mcroomp commented Nov 26, 2026

Copy link
Copy Markdown
Owner

Summary

  • Capture start-of-experiment firmware, packed parameters, CRC-verified Lua scripts with SHA-256, requested telemetry intervals, named marks, and new/grown onboard logs.
  • Verify experiment snapshots and phone recordings before experiment-gated actions; finalize camera recordings with duration/seek indexes, improve telemetry and battery reporting, and add a LinkHub-only Windows rebuild path.
  • Correct reported motor-RPM interpretation and notch behavior; add offline motor/yaw diagnostics, observer replay, and a read-only native-USB FTP comparison tool with focused tests. The yaw plant remains an explicitly assumed model, not an identified hardware model or deployment recommendation.
  • Preserve the merged load-cell work from Add standalone ESP32 load-cell firmware and four-input CSV plots #62. Lua changes here clarify a comment; they do not change the deployed control law.

Publication safety

  • Reviewed the exact proposed source for embedded credentials, private addresses/device identifiers, personal names/emails, and local home paths; none remain.
  • Excluded private hardware-history additions and the yaw investigation diary, local credentials/configuration, run artifacts, backups, and binaries. Original local work and its preservation stash remain intact.
  • Fixed the review's one medium finding: Windows drive-prefixed/alternate-stream script names cannot escape the snapshot directory, and snapshot Lua files use exclusive creation instead of overwriting existing files. Added filename and non-overwrite regressions.

Validation

  • 92 focused Python/Lua tests passed, including the Lua yaw-regulation simtest.
  • Ruff and CLI Pyright passed for affected Python sources/tests: zero errors or warnings.
  • 183 focused UI/API/demo tests passed; TypeScript and production Vite build passed.
  • cargo test --workspace: 206 Rust tests passed, including packed-parameter/FTP, experiment capture, indexed video, and new security regressions; generated protocol artifacts remain current.
  • Rust changes formatted with the workspace formatter; staged whitespace checks passed.

No hardware deployment or emulator execution was performed for this PR.

Capture vehicle configuration, onboard logs and indexed camera recordings; gate experiment actions on verified capture readiness. Correct motor RPM interpretation and notch behavior, add offline yaw analysis and focused regression tests, and reject unsafe snapshot filenames without overwriting existing scripts.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@mcroomp
mcroomp merged commit cc03e31 into main Nov 26, 2026
13 checks passed
@mcroomp
mcroomp deleted the feat/experiment-capture-yaw-analysis branch November 26, 2026 10:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant