Track Manager
The Track Manager (<commons_package>/include/commons/track_manager.h) is used to query a given track configuration created using the Track Generator.
Among many functionalities, it offers the Vector2D getClosestTrackPoint(Vector2D point) function, which allows to request the closest point on the centerline given a reference point.
In order to fully be able to use all functions of the Track Manager, it must be instantiated with all information generated by the Track Generator
Class Overview¶

Track Visualizer¶
The track along with the center line and the car (or multiple cars) can be visualized using the Track Visualizer