Regarding Dynamic Routing in Veins

2019-01-27 07:06发布

问题:

In the example given in Veins' example scenario in Erlangen city when the accident occurs do other vehicle choose a different path after for the duration of the accident? If yes, how does this dynamic routing take place???

回答1:

Yes, vehicles take other routes due to the accident to avoid the following traffic jam. That is the whole point of informing other vehicles about the accident using IVC here.

Regarding rerouting see TraCIDemo11p.cc (l. 48) and TraCICommandInterface.cc (l. 138).

Edit: See this post for more information.



标签: veins