Damit die UI sauber getrennt bleibt, habe ich infinity_host zu einer wiederverwendbaren Core-Schicht ausgebaut: crates/infinity_host/src/lib.rs, control.rs und mock.rs definieren Snapshot-/Command-Typen und einen Mock-Simulationsdienst mit Hintergrundthread. Die UI pollt nur Snapshots über HostUiPort; sie treibt keine Realtime-Logik. Den Workspace und die Build-Hinweise habe ich in Cargo.toml, README.md und docs/build_and_deploy.md ergänzt. Verifikation war hier nur eingeschränkt möglich: cargo und rustc sind in dieser Umgebung nicht installiert, daher konnte ich die App nicht kompilieren oder starten. Der nächste sinnvolle Schritt wäre erst nach deinem Go, den vorhandenen HostUiPort statt des Mock-Backends an echten Transportstatus anzubinden.
1.7 KiB
1.7 KiB
Infinity Vis Rust
Production-oriented greenfield architecture for a low-latency LED control system that targets:
- 6 ESP32-N16R8 nodes
- 3 physical LED outputs per node
- 106 LEDs per output
- 18 logical panels and 1908 LEDs total
The repository is intentionally structured around hard separation of concerns:
crates/infinity_config: versioned project configuration and validationcrates/infinity_protocol: shared control and realtime protocol modelcrates/infinity_host: host-side core library, CLI, mock UI service, and runtime skeletoncrates/infinity_host_ui: native Rust desktop GUI vertical slicefirmware/esp32_node: ESP-IDF firmware skeleton with explicit driver abstractiondocs/: architecture, protocol, validation, deployment, testing, and acceptance artifactsconfig/: example configuration files
The current baseline is intentionally strict about unresolved hardware facts. UART 6, UART 5, and UART 4 are treated as unvalidated labels until the real electrical meaning is confirmed.
Quick Start
- Install a current Rust toolchain.
- Review the open validation checklist in docs/validation_open_points.md.
- Start from config/project.example.toml.
- Start the desktop GUI with
cargo run -p infinity_host_ui. - Use the host CLI to validate the project config before attempting activation.