Skip to content

sim(TEST-PIX-018): combined M7+F100 vehicle in wasmtime — failsafe handoff PASSING (Track A hardware-free)#94

Merged
avrabe merged 1 commit into
mainfrom
sim/combined-vehicle-wasmtime
Jun 22, 2026
Merged

sim(TEST-PIX-018): combined M7+F100 vehicle in wasmtime — failsafe handoff PASSING (Track A hardware-free)#94
avrabe merged 1 commit into
mainfrom
sim/combined-vehicle-wasmtime

Conversation

@avrabe

@avrabe avrabe commented Jun 22, 2026

Copy link
Copy Markdown
Contributor

The first combined (two-node) rung of Track A (DD-019). sim/vehicle-wasmtime.sh runs both real node behaviors in wasmtime and models the inter-node IPC heartbeat + failsafe arbitration (the relay-bus carrier / gust supervisor abstracted at the host; node behaviors are the real wasm):

  • Phase 1 — nominal: M7 (falcon component) run-stabilization()=0.0234 (<0.1) + run-position-hold()=0.1317 (<0.6) → healthy, drives actuators; gust passive/armed.
  • Phase 2 — M7 FAULT (heartbeat lost): gust supervisor trips → F100 (gust core module) gust_mix(1024)=1500 drives the failsafe PWM.
  • Handoff: valid actuator command at every step (gap-free).

ORACLE PASS (falcon-flight-v1.85 + gale gust_kernel.wasm, wasmtime 42.0.1), zero hardware. TEST-PIX-018, verified.

Next (your sequence): mirror this exact scenario onto Renode multi-node (RT1176 + F100 + IPC + sensor/motor models — Track B). A future refinement on Track A is a stepped closed-loop plant rather than the SIL one-shot + host arbitration.

rivet validate: PASS.

🤖 Generated with Claude Code

…ndoff PASSING (Track A hardware-free)

The first COMBINED (two-node) rung of Track A (DD-019). sim/vehicle-wasmtime.sh
runs both real node behaviors in wasmtime + models the inter-node IPC heartbeat +
failsafe arbitration (relay-bus carrier / gust supervisor abstracted at the host):

- PHASE 1 nominal: M7 (falcon component) run-stabilization()=0.0234<0.1 +
  run-position-hold()=0.1317<0.6 -> healthy, drives actuators; gust passive/armed.
- PHASE 2 M7 FAULT (heartbeat lost): gust trips -> F100 (gust core) gust_mix(1024)
  =1500 drives failsafe PWM.
- Handoff: valid actuator command at every step (gap-free).

ORACLE PASS (falcon-flight-v1.85 + gale gust_kernel.wasm, wasmtime 42.0.1), zero
hardware. Same scenario mirrors onto Renode multi-node next (Track B).

rivet validate: PASS.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@avrabe avrabe merged commit a33f210 into main Jun 22, 2026
4 checks passed
@avrabe avrabe deleted the sim/combined-vehicle-wasmtime branch June 22, 2026 19:38
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