This page describes the usage and function of the Central Routing Example.
Usage
First make sure that the supporting software (LCC, IPS) is running and that the vehicles are online and placed on the map.
In a new terminal, run:
cd ~/dev/software/central_routing_example
./run.bash 2,3,5,7,11
The list of integers in the run command must be the exact list of vehicle IDs for the active vehicles.
How it works
The program is based on the routing graph for the map layout.
Sources:
The graph edges correspond to center lines, along which a vehicle may drive. Parallel lanes are not modeled, instead extra edges are added for lane changes in discrete locations.
Overview
Content Tools