These scripts can be used to process the data from our ITS-G5 city-scale car trials. Our dataset, where we recorded all the network interactions between our experimental devices, can be found under the link.
More specifically, our scripts can parse all the dataset files, and generate three .log files per-device. The first file refers to the transmitted, and the other two files refer to the received ETSI's ITS-G5 CAMs. More information about the generated .log files can be found in our paper "A Dataset of Full-Stack ITS-G5 DSRC Communications over Licensed and Unlicensed Bands Using a Large-Scale Urban Testbed" link.
To make it possible to manipulate our dataset with a reduced memory footprint, the raw data are further filtered into MATLAB data files. These Matlab files are saved under the directory ./<raw_data_main_folder>/importedData, can be later used for our performance investigation. To do so, a collection of scripts is provided (scriptsResults) that can generate all the results from our work.
This code is freely available under the GNU General Public License v3.0, found in the LICENCE file.
If this code is used for drafting a manuscript, we ask the authors to cite the following paper:
@ARTICLE{dataInBrief,
author = {I. Mavromatis, and A. Tassi and R. J. Piechocki},
title = {{A Dataset of Full-Stack ITS-G5 DSRC Communications over Licensed and Unlicensed Bands Using a Large-Scale Urban Testbed}},
journal = {arXiv e-prints},
year = "2019",
month = "Mar",
eprint = {1903.10289},
note ="[Online]. Available:~\url{https://arxiv.org/abs/1903.10289}",
}
Our scripts have been tested and are compatible with MATLAB R2017b or later. Older Matlab versions should work as well but they were not tested.
To process the PCAP traces in our dataset, a modified version of Tcpdump is required. This version can be found under our repository: https://github.com/v2x-dev/tcpdump
Our scripts provide the functionality of plotting our experimental results on real-world maps, downloaded from Google. To do so, an API key is required by the "plot_google_map" function, located in "+src/+plotGoogleMap/" folder. More information about that functionality can be found under this link. For the generation of the results the API key is not mandatory.
- Download all the scripts from our repository.
- Download the dataset from our Research Data Storage Facility.
- Download, compile and install our modified Tcpdump version. For more information, please refer to Tcpdump documentation.
- Open "dataProcess.m" file, from the repository's main folder and modify: a. Add the path to the raw dataset modifying "origPath" variable. b. Add the path to the modified Tcpdump version modifying "tcpdumpPath" variable.
- Run "dataProcess.m" script to process all the raw data and generate the MAT files in the "./<raw_data_main_folder>/importedData" folder.
- To generate all the figures related with our work, open the three scripts inside "scriptResults" folder and modify the variable "pathRoot". This variable should point out in the "./<raw_data_main_folder>/importedData". Then, all the scripts are ready to be executed.
Steps 1-5 can be skipped, if the user decides to use our pre-processed MAT files (found in our dataset).
More information about Tcpdump can be found in Tcpdump website.
More information about ETSI's ITS-G5 protocol stack can be found in ETSI TS 102 636-3 technical specification.
More information about ETSI's ITS-G5 CAMs can be found in ETSI EN 302 637-2 technical specification.