For eProsima Fast-DDS, an official monitoring software can be installed to check for participants in the network or to observe network statistics.


Installing the Monitor

The monitor can be installed from the eProsima FastDDS Download site:

It can also be built from Git sources:

Installation information can be found in for Linux and Windows.

Setting Up the Lab Software

The monitor becomes (most) useful when the eProsima statistics module is enabled. To do so, head to the place where the Fast-DDS repository can be found (should be in cpm_lib/thirdparty/Fast-DDS) and change the CMakeLists.txt: Set FASTDDS_STATISTICS to ON. Then (re)install Fast-DDS. Note: The script currently overwrites that setting again, so you have to install manually without it, or the Statistics Module won't be used!

After (re)building Fast-DDS, use build_all.bash in the software repository to rebuild the lab software as well.



If the lab is set up properly, all you need to do is start the monitor and either:

  • Enter the currently used DomainID, if no discovery server is used for eProsima or
  • Register the Discovery Server (File → Initialize Discovery Server Monitor). You need to know the GUID (can be found in cpm_lib/src/DiscoveryServer.cpp) the IP ( or the IP of the main PC, depending on where you run your software and the discovery server) and the Port (can be found e.g. in gdb_run.bash for the LCC in /lab_control_center).

If you set these monitoring instances up properly, you should see all current DDS traffic in that part of the network, and you should be able to see statistics as well if you followed the rest of the guide properly. This allows you to inspect e.g. latency!

Lab Setup

Even though the statistics module is now installed, it also needs to be activated. Different methods are mentioned in

For our purpose, it is enough to set:


Be aware that this must be set everywhere where you need to see statistics, e.g. when you start a (simulated) vehicle or the IPS! You might need to modify some start.bash files by adding this line, or even dig into Deploy.cpp in the LabControlCenter to add it.

  • No labels