Congestion-aware traffic planning for dense and narrow industrial environments

Thanks for this detailed description of your use case and requirements. This is very helpful for us while steering the technical direction of the project.

I’ll address your questions from two angles: What we currently offer in the “Original” Open-RMF, and what we’re building up towards for the “Next Generation” Open-RMF.

Original Open-RMF

We definitely recognize that aggressively trying to take the shortest route is often not the most optimal approach for managing traffic. The negotiation system actually does prefer to reroute robots to avoid head-to-head congestion. However it won’t always appear that way for one particular reason: It’s very difficult to always accurately predict when and how bottlenecks will happen. If we use a deterministic model for robot motions, it will often be too optimistic and underestimate the delays that will occur due to congestion. Those underestimations will allow robots to prefer entering congested areas rather than take a longer route because the expectation of deterministic execution implies that the robot will not very long to traverse the congestion, but that expectation is not accurate.

The negotiation system might be more effective at making these judgments if it used a statistical model that could account for uncertainty in delays caused by moving through congested areas. However this is a challenging problem which we weren’t prepared to take on in the original implementation of the traffic system. Instead we recommend using the rmf_traffic_editor to lay out unidirectional lanes to force a consistent flow of traffic and prevent the congestion caused by head-to-head conflicts.

A more flexible/dynamic option to consider is lane closure. You could create lanes that go in both directions but then temporarily close one direction or the other at runtime based on how you want to shape the traffic flow.

Next Generation

We realize that the limits of the Original traffic system will be unappealing for many use cases. Explicitly controlling the flow of traffic along discrete lanes might be more rigid than some users would prefer. A dynamic risk and stability evaluation like what you’ve described might yield better traffic behavior.

It’s unlikely that a one-size-fits-all approach will be feasible for the traffic system. There are many competing multi-agent path finding algorithms out there, and they all have their particular strengths and weaknesses, which might matter more or less in different deployment settings. To account for this, we’re re-architecting Open-RMF to have a modular traffic system. It will be possible to swap out the traffic system for different implementations, and even create third-party traffic systems to plug into an Open-RMF deployment. This should make it more feasible to introduce sophisticated route cost calculations which may be specific to certain use-cases.

3 Likes