Create a vector map - AD-EYE/AD-EYE_Core GitHub Wiki
Execution
Modify the variable PEX_FILE_LOCATION in the file main.py (Use the Ubuntu system) in AD-EYE_Core/Pex_Data_Extraction/pex2csv
to add the path to the pex file that should be transformed into a vector map.
Set the variable OnlyVisualisation on False.
cd ~/AD-EYE_Core/Pex_Data_Extraction/pex2csv
python3 main.py
A window should pop up and show the generated map. Check that the map is coherent. If not, there might be some vector mapping rules that were not respected (see this page).
If everything is good, the vector maps files are in the folder defined by the variable VECTORMAP_FILES_FOLDER
(by default, AD-EYE_Core/Pex_Data_Extraction/pex2csv/csv
) and should be moved to /AD-EYE_Core/AD-EYE/Experiments/name_of_the_world/Vector_Map_Files
.
Visualisation of an existing vector map
Modify the variable VECTORMAP_FILES_FOLDER in the file main.py in AD-EYE_Core/Pex_Data_Extraction/pex2csv
to add the path to the folder where the vector map you want to visualized is stored.
Set the variable OnlyVisualisation on True.
cd ~/AD-EYE_Core/Pex_Data_Extraction/pex2csv
python3 main.py
Documentation (optional)
Run the following commands to generate the documentation:
cd ~/AD-EYE_Core/Pex_Data_Extraction/doc
make html
The documentation is saved in ~/Pex_Data_Extraction/doc/_build
.