Comments (8)
However, it is possible to update the Fast DDS version by reinstalling ROS 2 from sources and updating the
fastrtps
repo to a newer version (the last release is v2.6.0 https://github.com/eProsima/Fast-DDS/releases/tag/v2.6.0)
I'm afraid that solely this will not work, as Foxy's rmw_fastrtps uses the deprecated Fast RTPS API, which does not support statistics. To monitor statistics in Foxy, the rmw_fastrtps would need to be ported to the Fast DDS API. This work was done by @jparisu and other people for Galactic in ros2/rmw_fastrtps#518, but has not been backported.
from fast-dds-monitor.
from fast-dds-monitor.
Hi @GrozaGabriel
Fast DDS version
First of all, Fast DDS foxy version (v2.0.x) does not have Statistics module. So you will be unable to use it with an already installed ROS 2.
However, it is possible to update the Fast DDS version by reinstalling ROS 2 from sources and updating the fastrtps
repo to a newer version (the last release is v2.6.0 https://github.com/eProsima/Fast-DDS/releases/tag/v2.6.0)
EDIT:
As @EduPonz commented, it would be required to recompile the rmw_fastrtps
as well.
Fast DDS compilation
In order to use statistics, fastrtps
project must be compiled with statistics ON, using the following CMake option -DFASTDDS_STATISTICS=ON
.
Not related, but a comment:
ROS Domain
I would say that ROS2 Domain is set with env var ROS_DOMAIN_ID
, not ROS2_DOMAIN_ID
. https://docs.ros.org/en/foxy/Concepts/About-Domain-ID.html
from fast-dds-monitor.
Update: I installed ros2 galactic, DFASTDDS_STATISTICS=ON este true
worked twice, but then stopped displaying statistics again
from fast-dds-monitor.
from fast-dds-monitor.
Hi @GrozaGabriel ,
Glad to hear that you manage to use it.
Still, I do not understand what do you mean with worked twice. That you executed two times the talker and listener and it worked and the third one didn't? That first talker and listener worked, and third not? That the third time you started the Monitor did not work? Or that a third statistics topic did not worked?
With those CMake options everything should work fine. And checking your screenshots may not be any problem.
Please, be more specific in your problem case.
Aside Comment
Using Fast DDS Monitor with ROS2 has a cool feature that allows you to display or hide "metatraffic" entities, in case you want to check it.
from fast-dds-monitor.
that a third statistical subject did not work
from fast-dds-monitor.
There are some statistics that work differently than others.
There are some topics that only work if the communication is done with a remote machine (if using intraprocess or interprocess communication they will not), for instance DATA_COUNT
.
There are some statistics that will commonly not retrieve data except in extreme scenarios (as the lost data ones), for instance RESENT_DATA
There are some that may only make sense depending on the entity that you choose to monitorize them, for instance RTPS_PACKETS_SENT
etc.
Please, check this Backend documentation in order to have a better undestanding on how these topics work: https://fast-dds-statistics-backend.readthedocs.io/en/latest/rst/statistics_backend/get_data.html
And if you still have any question or your example does not work as expected, please retrieve more information about the specific topic it is not working properly, and I can give you more accurate information.
from fast-dds-monitor.
Related Issues (20)
- Question on use of Monitor as a post processing tool HOT 2
- Fast-DDS Monitor did not pick the traffic data. HOT 11
- Long-term testing [14400] HOT 6
- data display interval is not as set and is not consistent in the plot HOT 1
- Fast DDS monitor - Network Latency HOT 2
- Fast-DDS Monitor has no statistics (when using Data Sharing) HOT 17
- Update of statistics HOT 2
- How to use this tool to analyze Autoware? HOT 4
- Fastdds_monitor shows a black screen HOT 8
- FastDDS-monitor fails to run (linux) HOT 1
- Monitoring writers and readers with plots (series Ids are different for every run) HOT 1
- fail to run monitor image (qt related) HOT 2
- No statistics data and missing physical entities when using ROS 2 humble node HOT 1
- Missing version increment in latest release HOT 1
- latency statistic data is empty
- latency statistic data is empty HOT 1
- Installing Fast-DDS-Monitor from source
- Fast DDS Monitor and ROS 2 Humble HOT 4
- Fast-DDS Monitor crash on ROS 2 Humble based container (Qt, X11 related)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fast-dds-monitor.