You are viewing an old version of this page. View the current version.
Compare with Current
View Page History
« Previous
Version 6
Next »
This page describes the usage and function of the Central Routing Example.
Sources: https://git.rwth-aachen.de/CPM/Project/Lab/software/tree/d48cf9c589cd8375b7ea147d7931ed0f29650278/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:
https://git.rwth-aachen.de/CPM/Project/Lab/software/blob/d48cf9c589cd8375b7ea147d7931ed0f29650278/matlab_scripts/map_print/map_print2/lane_graph.m
https://git.rwth-aachen.de/CPM/Project/Lab/software/blob/d48cf9c589cd8375b7ea147d7931ed0f29650278/central_routing_example/src/lane_graph.hpp