-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fast-DDS-monitor ros2 FOXY #153
Comments
Hi @GrozaGabriel Fast DDS versionFirst 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. EDIT: Fast DDS compilationIn order to use statistics, Not related, but a comment: ROS DomainI would say that ROS2 Domain is set with env var |
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. |
Hi @GrozaGabriel , With those CMake options everything should work fine. And checking your screenshots may not be any problem. Aside Comment |
that a third statistical subject did not work |
There are some statistics that work differently than others. 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. |
HELLO, i want to compile ROS 2 foxy with statistics and monitor a ROS 2 talker and listener with Fast DDS Monitor with these commands:
export FASTDDS_STATISTICS=ON
first terminal
export RMW_IMPLEMENTATION=rmw_fastrtps_cpp
ROS2_DOMAIN_ID=1 ros 2 run demo_nodes_cpp talker
sec terminal
export RMW_IMPLEMENTATION=rmw_fastrtps_cpp
ROS2_DOMAIN_ID=1 ros 2 run demo_nodes_cpp listener
But the monitor doesn`t show statistics, can you help me ?
Thank you for your attention and I am waiting with enthusiasm your response!
The text was updated successfully, but these errors were encountered: