Question on use of Monitor as a post processing tool #149
-
Hi, thank you for the nicely deployed real-time tools within the monitor. I was wondering if there is a way i could use this monitor on recordings of a ros2 network running (i.e. how you can post process rclcpp performance info using ros2 trace-analysis). I'm most interested in the latency between dataWriters and dataReaders. If i could get this in some CTF trace format then it'd be possible to match the DDS performance information with the ROS2 information to create a holistic performance analysis. I guess what I'm asking is, is there a way I can record the information that the monitor uses in real time without having to open the GUI? Any thoughts or ideas would be greatly appreciated! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Hi @adamoskaranikas , First of all, the Monitor has an exporting data feature documented here: https://fast-dds-monitor.readthedocs.io/en/latest/rst/user_manual/export_data.html . You could export the data to a
YES! Actually, the Fast DDS Monitor is a GUI application that runs above the Fast DDS Statistics Backend (https://github.com/eProsima/Fast-DDS-statistics-backend). This is a library that manages a backend database (the database where the Monitor obtains the data) that offers a useful API to work directly with the statistical data received from your network.
This is a very interesting question. I have to say that we have not proven that specific use case, but we are almost certain that it will work. I could not find the design documentation of the
I assume you fulfill most of those cases if you are already receiving data in your monitor). If you have further questions regarding this use case, do not hesitate to ask. |
Beta Was this translation helpful? Give feedback.
-
Ok awesome, it will take me some time to familiarize with the backend API, but in the meantime I tried out running some rosbags with the monitor active. The issue seems that when the bag recorded the entity creations it must not have kept the owner information (DomainParticipant), because when replaying the bag (which was recorded before building with Thanks for the detailed response though, it's super helpful! |
Beta Was this translation helpful? Give feedback.
Hi @adamoskaranikas ,
I will answer your questions separately:
First of all, the Monitor has an exporting data feature documented here: https://fast-dds-monitor.readthedocs.io/en/latest/rst/user_manual/export_data.html . You could export the data to a
.csv
. But I do not think this is what you are looking for.YES! Actually, the Fast DDS Monitor is a GUI application that runs above the Fast DDS Statistics Backend (https://github.com/eProsima/Fast-DDS-statistics-backend). This is a library that manages a backend database (the database where the Monitor…