Install VectorMapper - AD-EYE/AD-EYE_Core GitHub Wiki
Cloning the repository
Open a terminal in the AD-EYE_Core
folder. Make sure you are in the dev
branch and type the following command:
git submodule update --init --recursive
.
This will clone the Pex_Data_Extraction
(vector mapper) repository which is a submodule of AD-EYE_Core.
Linux dependencies
sudo apt install python3-pip
pip3 install --upgrade pip
pip3 install progress
python3 -m pip install numpy
python3 -m pip install bezier (if not not working try pip3 install bezier==0.9.0)
python3 -m pip install matplotlib
python3 -m pip install sphinx
python3 -m pip install lxml
sudo apt-get install python3-tk
Windows dependencies
python -m pip install numpy --user
python -m pip install lxml --user
python -m pip install bezier --user
python -m pip install matplotlib --user
Verifying if the Vector Mapper works
Run the vector mapper on W01_base_map following the instructions here.
If there was no error the folder AD-EYE_Core/Pex_Data_Extraction/pex2csv/csv
should now contain ten files.
If the folder is not there and the execution of main.py end with an error then the folder needs to be created by hand.
Support for traffic lights is not visible in the vector map plot that follows its creation. However, the file signaldata.csv should not be empty as W01_base_map contains traffic lights. If it is, it might be that a Prescan update changed how traffic lights are defined in the pex files. In that case, the vector mapper's code needs to be updated accordingly.