feat(phase2): implement AMR robot state machine, task lifecycles, inventory catalog, and Phase 2 OpenUSD scene

This commit is contained in:
2026-10-19 16:16:23 +05:30
parent 0427ab273d
commit 863eda87f5
21 changed files with 2206 additions and 74 deletions
+10 -6
View File
@@ -118,9 +118,13 @@ The testing architecture adheres to the following principles:
## 6. Current Status & Next Phase
- **Completed**: Phase 0 (Environment and Foundation) and Phase 1 (Warehouse Model). The 540-node topological navigation graph is implemented, verified for strong connectivity and robot type restrictions, tested with 26 unit tests, and serializable to JSON.
- **Phase 2 Target**: Implement Robot and Task Domain Models (`warehouse_twin.domain.robot`, `warehouse_twin.domain.task`, `warehouse_twin.domain.inventory`):
- Robot state machine (`IDLE`, `DISPATCHED`, `PICKING`, `LOADED_TRANSIT`, `DROPPING`, `TRANSIT_TO_CHARGE`, `CHARGING`).
- Task state machine and priority models (`ORDER_PICK`, `REPLENISHMENT`, `PRODUCTION_LINE_FEED`, `CHARGING`).
- Payload capacity and robot type compatibility checks.
- Deterministic test fixtures.
- **Completed**:
- **Phase 0 (Environment and Foundation)**: Core architecture, rotating file logs, configuration loaders, environment verification.
- **Phase 1 (Warehouse Model)**: 540-node topological navigation graph, reachability validation, zone restrictions, graph JSON export.
- **Phase 2 (Robot and Task Models)**: Robot state machine (`IDLE` through `CHARGING`), legal transition tables, task priority & lifecycle models, inventory catalog with stock reservation & replenishment, telemetry events, and OpenUSD robot fleet visualization. 56 passing unit tests.
- **Phase 3 Target**: Implement Discrete-Event Simulation Engine (`warehouse_twin.simulation`):
- SimPy simulation environment managing clock time.
- Dynamic order arrival processes for Zone A (Poisson), Zone B (Normal), and Zone C (Deterministic batch).
- Task queueing and priority dispatcher assigning compatible AMRs.
- Full simulation lifecycle execution with KPI collection.