Skip to content
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 and ROS 2 Humble #202

Open
boxanm opened this issue Mar 16, 2023 · 4 comments
Open

Fast DDS Monitor and ROS 2 Humble #202

boxanm opened this issue Mar 16, 2023 · 4 comments
Labels
bug Something isn't working

Comments

@boxanm
Copy link

boxanm commented Mar 16, 2023

I struggle to use the Fast DDS Monitor on Humble. I managed to make it work with Vulcanexus Docker image; however, if I follow the guide from 2022 Roscon presentation, I don't see any traffic in the Monitor tool.

To summarize my setup:

  • Humble Docker image

  • Building fastdds from source with
    colcon build --cmake-args -DFASTDDS_STATISTICS=on

  • Sourcing environments:
    source /opt/ros/humble/setup.bas
    source <path to fastdds_ws>/install/setup.bash

  • Enabling Statistics Module

    export FASTDDS_STATISTICS="HISTORY_LATENCY_TOPIC;NETWORK_LATENCY_TOPIC;PUBLICATION_THROUGHPUT_TOPIC;SUBSCRIPTION_THROUGHPUT_TOPIC;RTPS_SENT_TOPIC;RTPS_LOST_TOPIC;HEARTBEAT_COUNT_TOPIC;ACKNACK_COUNT_TOPIC;NACKFRAG_COUNT_TOPIC;GAP_COUNT_TOPIC;DATA_COUNT_TOPIC;RESENT_DATAS_TOPIC;SAMPLE_DATAS_TOPIC;PDP_PACKETS_TOPIC;EDP_PACKETS_TOPIC;DISCOVERY_TOPIC;PHYSICAL_DATA_TOPIC"

  • Running ros2 run demo_nodes_cpp talker node and the Fast DDS Monitor in a different tab.

The difference in the Monitor's behavior is that while I can list the connected Entities, there's no traffic in the Statistics tab, and I don't see any device under the Physical tab. This, in my opinion, indicated that the talker was not, in fact, launched with the statistics enabled.
Is there anything I'm missing?

@boxanm
Copy link
Author

boxanm commented Mar 16, 2023

So the problem was related to the eProsima Fast-DDS version. After rolling back to v2.6.2, mentioned in the Roscon presentation, I got the expected behavior. Can one of the admins label this issue as a bug?

@boxanm
Copy link
Author

boxanm commented Mar 17, 2023

Furthermore, I also noticed that the mentioned version 2.6.2, despite working well with the Monitor when built from source, does effectively block ROS 2 cli utils such as ros2 topic list or even ros2 daemon stop. These commands hang frozen with no response.

@jparisu jparisu transferred this issue from eProsima/Fast-DDS-monitor Mar 28, 2023
@jparisu
Copy link
Contributor

jparisu commented Mar 28, 2023

Hi @boxanm . This issue does not seem related with Fast DDS Monitor, but with Fast DDS. I transfer this issue.

@JesusPoderoso
Copy link
Contributor

Hello @boxanm , sorry for the late response.
I have reproduced your setup in Vulcanexus humble, just by opening a docker and launching in different terminals both Fast DDS Monitor and demo_nodes_cpp talker (avoiding build with extra flags, as statistics are enabled by default in Fast DDS).
In that setup, I was able to see traffic in the Statistics tab.
Despite that, I also noticed that the physical table was empty, so i am moving this is issue to the Fast DDS Monitor to address it there.

@JesusPoderoso JesusPoderoso added the bug Something isn't working label Sep 29, 2023
@JesusPoderoso JesusPoderoso transferred this issue from eProsima/Fast-DDS Sep 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants