mirror of
https://github.com/BetterCorp/BetterFrame.git
synced 2026-05-26 20:16:35 +00:00
Pool was keyed by camera_id, so a cell flipping M→S tore down the old pipeline and started fresh. With (camera_id, badge) keys the main and sub variants live alongside each other: switching badge promotes the new one to Warm and leaves the previous one to cool down via the normal state machine, so flipping back inside the cooldown is instant. ensure_warm no longer touches sibling badge entries. recompute_global_ state computes warm/hot sets as (cam, badge) pairs by calling pick_stream per cell with its area fraction, so the planner sees what ensure_warm will actually create. |
||
|---|---|---|
| .. | ||
| src | ||
| Cargo.lock | ||
| Cargo.toml | ||
| prototype.sh | ||