In order to implement dynamic constraints, we needed to be able to change the graph weights immediately when constraints move. Since the multiplier field is always calculated on the fly, this turned out to be very simple. Updating the multiplier field visualization in real-time makes it easy to see these changes.
 |
| Of course, it's not animated, but believe me that the bump in the field is moving along with the agent. |
However, with a constantly changing graph, the plan must continually be updated. With A*, this means rerunning the full planner constantly, as shown below. This is actually quite fast with a good heuristic, but suffers in this graph due to the fact that the heuristic is several times smaller than the actual result.
(I would have a video here of constant replanning, but it's disabled right now while I work on highways and AD*.)
In the very near future, however, we will be integrating an AD* planner, which will give us the ability to re-plan rapidly and incrementally, allowing for good plans in a real-time situation.
No comments:
Post a Comment