This repository provides a framework to simulate attacks on V2X networks. It uses the VEINS simulation framework as a dependency.
- Operating System: Ubuntu/Debian/macOS
- CSVWriter.h
- Please put this file in your system's (or user's) default include directory. E.g.,
/usr/include
- Please put this file in your system's (or user's) default include directory. E.g.,
- json.hpp
- Rename this file to
json.h
and - Put it in your system's (or user's) default include directory. E.g.,
/usr/include
- Rename this file to
- Download all of the following into the same folder
- Install OMNeT++ (version 5.6.2) by following their installation guide.
- Install SUMO (version 1.8.0) by following their installation guide.
- Clone VEINS (version 5.2):
git clone --branch veins-5.2 https://github.com/sommer/veins.git
- Add this repo as submodule under
<path/to/veins>/src/
:cd veins && git submodule add https://github.qualcomm.com/cavalry/vasp src/vasp
- Change directory to
<path/to/veins>
- Configure and build
./configure && make [-j6]
- Change directory to
<path/to/veins>
- Start
sumo
server:bin/veins_launchd -vv
- Change directory to
<path/to/veins>/src/vasp/scenario/
- Run simulation:
./run [-u Cmdenv]
- You should see a trace file generated under
<path/to/veins>/src/vasp/scenario/results
folder.
MIT