1) Ping Post-processing
Ping Post-processing Code Link: [download]
Usage
Dowload the code above place the [timestamp]_vehicleOut.txt log and [timestamp]_traffic_log.txt from your experiment in the logs folder. Edit 'main.m' so that 'fname_gps' and 'fname_ping' variables use the new logs. Run 'main.m' in MATLAB which generates some plots and also creates input.csv file to be used to generate kml file. In order to generate kml file run
python3 kml_generator.py --input input.csv --output out.kml
The 'out.kml' file can be launched using Google Earth.
Google Earth can be downloaded and installed using this link.
If the kml_generator.py gives the error "No module named PIL" run
pip3 install Pillow
2) Ping Post-processing Sample Results
To generate the results below we follow SE1 sample experiment using one fixed node and one portable node. In the fixed node, we run 'startSRSRAN-SISO-EPCandENB.sh' as the radio application. In the portable node, we run 'startSRSRAN-SISO-UE.sh' as the radio application, 'startPing.sh' as the traffic application and 'startPreplannedTrajectory.sh' as the vehicle application. All of the applications are run in their default configuration. All the logs from the portable node and the fixed node are saved in the ping post-processing code link given above. The vehicle log named '2023-04-24_13_24_47_vehicleOut.txt' and traffic log named '2023-04-24_13_24_47_traffic_log.txt' are used to generate the results below. Downloading the code in Section 1 and running 'main.m' without any modifications should generate the following plots. Once 'main.m' is run 'input.csv' is generated and following the instruction above 'out.kml' file can be generated. A screenshot of 'out.kml' file is also shown below.