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
+8 -4
View File
@@ -52,24 +52,28 @@ The system decouples discrete-event simulation from 3D visualization, enabling d
## 3. Features Implemented & Roadmap
### Currently Implemented (Phases 0 & 1)
### Currently Implemented (Phases 0, 1 & 2)
- [x] Host environment and Omniverse Kit template inspection.
- [x] Decoupled project structure adhering to modular standards.
- [x] Standard Python packaging (`pyproject.toml`) and editable install.
- [x] Multi-target rotating file logging (`application.log`, `simulation.log`, `errors.log`).
- [x] Robust configuration loader and schema validator for all 5 domains.
- [x] Automated environment verification script (`scripts/check_environment.sh`).
- [x] CLI entry point with `validate-env`, `validate-config`, `validate-graph`, and `export-graph`.
- [x] CLI entry point with `validate-env`, `validate-config`, `validate-graph`, `export-graph`, and `export-usd`.
- [x] Warehouse domain models (`Position3D`, `WarehouseDimensions`, `ZoneArea`, `Station`, `StorageLocation`, `WarehouseModel`).
- [x] Topological navigation graph builder (`WarehouseGraphBuilder`) with 540 nodes and 1,730 edges.
- [x] Operational stations, charging bays, and storage racks mapped to geometric grid nodes.
- [x] Movement constraints: Zone B aisles restricted exclusively to `heavy_amr`.
- [x] Strong connectivity and multi-class robot reachability validation.
- [x] Topological graph JSON export (`results/reports/warehouse_graph.json`).
- [x] Comprehensive unit test suite (26 passed in 0.21s).
- [x] Autonomous Mobile Robot (AMR) domain models (`Robot`, `RobotState`, `RobotTypeSpec`, `LEGAL_ROBOT_TRANSITIONS`).
- [x] Task domain models (`Task`, `TaskType`, `TaskStatus`, `LEGAL_TASK_TRANSITIONS`, turnaround, execution, SLA deadline tracking).
- [x] Inventory domain models (`InventoryItem`, `InventoryCatalog` with 13 SKUs, stock reservation, consumption, replenishment triggers).
- [x] Event telemetry streaming models (`SimulationEvent`, `SimulationEventType`, JSONL formatting).
- [x] OpenUSD 3D scene export with AMR fleet entities positioned at charging bays (`omniverse/scenes/warehouse_phase2.usda`).
- [x] Comprehensive unit test suite (56 passed in 0.24s).
### Planned Roadmap
- **Phase 2**: AMR state machine, payload validation, and task models.
- **Phase 3**: SimPy discrete-event simulation engine and order generation.
- **Phase 4**: NetworkX shortest-path routing, fleet dispatching, and aisle reservations.
- **Phase 5**: Battery discharge/recharge dynamics, charging queues, and production deadlines.