feat(phase-4): implement spatial routing, time-space reservations, and traffic manager

- Implemented PathPlanner using NetworkX Dijkstra/A* with dynamic edge congestion weights and robot capability enforcement.
- Implemented TimeSpaceReservationGrid with head-on collision avoidance on bidirectional corridors and 1.0s following headway buffers.
- Implemented TrafficManager with multi-AMR right-of-way arbitration (task priority, loaded over empty) and deadlock timeout dynamic rerouting.
- Integrated waypoint traversal into SimPy simulation engine with real-time trajectory recording and export.
- Generated omniverse/scenes/warehouse_phase4.usda with navigation corridor overlays.
- Expanded test suite to 95 unit tests with 100% pass rate.
This commit is contained in:
2026-10-21 10:59:11 +05:30
parent 3d9fb6be66
commit 56806079a9
20 changed files with 3225 additions and 104 deletions
+6
View File
@@ -21,6 +21,12 @@ class SimulationEventType(str, Enum):
ROBOT_DISPATCHED = "ROBOT_DISPATCHED"
ROBOT_STATE_CHANGED = "ROBOT_STATE_CHANGED"
ROBOT_ARRIVED = "ROBOT_ARRIVED"
ROBOT_PATH_PLANNED = "ROBOT_PATH_PLANNED"
ROBOT_WAYPOINT_REACHED = "ROBOT_WAYPOINT_REACHED"
TRAFFIC_YIELD = "TRAFFIC_YIELD"
TRAFFIC_CONGESTION = "TRAFFIC_CONGESTION"
ROBOT_REROUTED = "ROBOT_REROUTED"
DEADLOCK_RESOLVED = "DEADLOCK_RESOLVED"
ROBOT_CHARGING_STARTED = "ROBOT_CHARGING_STARTED"
ROBOT_CHARGING_START = "ROBOT_CHARGING_STARTED"
ROBOT_CHARGING_COMPLETED = "ROBOT_CHARGING_COMPLETED"