This experiment is for end-to-end connection and focuses on iperf, DDS, and Zenoh transmission performance.
- Network environment: Wi-Fi6, 4G
- CycloneDDS (installation guide)
- Zenoh (installation guide)
⚠️ Warning: It is necessary to ensure that the car endpoint can establish an SSH connection with the RSU endpoint.
⚠️ Warning: All operations are executed only on the car's side.
- Edit the config.properties file and verify that all parameters in the file are correctly configured.
- install iperf3
sudo apt install iperf3
- measure latency
./lat_car.sh <network> <distance> <timeout>
(e.g., ./lat_car.sh wifi6 10 10)
# <network>: wifi6 or 4glte
# <distance>: distance in meters.
# <timeout>: timeout in seconds.
# Tips: Commands in the following sections follow this convention.
# The output data will be under the ' ./car_log/<experiment_name>/latency/ ' directory.
- measure throughput
./thr_car.sh <network> <distance> <timeout>
# The output data will be under the ' ./car_log/<experiment_name>/throughput/ ' directory.
- measure latency
./dds_lat_car.sh <network> <distance> <timeout>
# The output data will be under the ' ./car_log/<experiment_name>/dds_latency/ ' directory.
- measure throughput
./dds_thr_car.sh <network> <distance> <timeout>
# The output data will be under the ' ./car_log/<experiment_name>/dds_throughput/<network>/<distance> ' directory.
# The filename represents the payload.
- measure latency
./zenoh_lat_car.sh <network> <distance>
# The output data will be under the ' ./car_log/<experiment_name>/zenoh_latency/<network>/<distance> ' directory.
# The filename represents the payload.
- measure throughput
./zenoh_thr_car.sh <network> <distance>
# The output data will be under the ' ./car_log/<experiment_name>/zenoh_throughput/<network>/<distance> ' directory.
# The filename represents the payload.
# The larger payload experiments will take time.