Use pip to install the requirements, in requirements.txt in a venv.
Modify config.yaml to set the correct map_name (not including extension). Then upload the .pgm AND .yaml file of the map to the input/ folder.
To manually draw the centerline using this tool, run:
python3 src/draw_centerline.pyThen use the tool to click the waypoints on the map, as you click the interpolated centerline will appear.
Left-clickto place waypoints (in order)Right-clikcto delete last waypointito toggle the green interpolated previewcto clear all
Once done, close the window and then it will reopen with the final centerline summary, close again to output the csv (see Output section for more detals)
Currently work in progress, use the manaul option above for a more reliable centerline.
Once done, the .csv file named for the name of the map, will be placed in the output/ folder. The csv contains the (x,y) points for the centerline.
Can also refer to here for premade .csv files for some maps (like RBR/Spieldberg)