1) Ping Post-processing
Ping Post-processing Code Link: [download]
Usage
Download the code above and place the [timestamp]_vehicleOut.txt and [timestamp]_traffic_log.txt logs 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. It generates some plots and creates an input.csv file to be used to generate the KML file. To generate the KML file, run
python3 kml_generator.py --input input.csv --output out.kml
The 'out.kml' file can be opened in Google Earth.
You can download and install Google Earth from the Google Earth Pro page.
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 followed the SE1 sample experiment with one fixed node and one portable node. On the fixed node, we ran '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' has run, it generates 'input.csv'. Following the instructions above, you can then generate the 'out.kml' file. A screenshot of 'out.kml' file is also shown below.