This test allows you to test performance and latency of various communication means like ROS 2, FastRTPS, Connext DDS Micro.
It can be extended to other communication framworks easily.
Are detailed description can be found here: Design Article
- Clone the repository into your ament workspace.
- Source your ROS 2 environment:
source /opt/ros/ardent/local_setup.bash
- Build:
ament build --parallel --build-tests --cmake-args -DCMAKE_BUILD_TYPE=Release --
- Source local installation:
source install/local_setup.bash
- Configure experiment configuratin in
performance_test/helper_scripts/run_experiment.py
- Run an experiment:
performance_test/helper_scripts/run_experiment.py
- Plot results (requires
pandas
):performance_test/helper_scripts/performance_test_file_reader.py