Hello,
I'm testing the introspection branch, running one of the iRobot benchmark tests, and I noticed the list of discovered nodes is not properly updated on time, in most of the times the nodes are not fully discovered.
The issue seems to be on the function get_discovered_nodes defined on rmw_dps_cpp/include/rmw_dps_cpp/custom_node_info.hpp. The map discovered_nodes_ is not populated with all the present nodes in the system.
If you'd like to reproduce the issue:
git clone https://github.com/irobot-ros/ros2-performance.git
mkdir -p ~/performance_test_ws/src
cp -r ros2-performance/performances/ ~/performance_test_ws/src
cd ~/performance_test_ws
colcon build
source install/local_setup.bash
cd install/benchmark/lib/benchmark/
./benchmark topology/sierra_nevada.json
# Here it hangs forever in the discovery process
The problem starts to be seen when there are about 10 nodes in the ROS2 system.
Any ideas about what could be wrong?
Thanks
Hello,
I'm testing the introspection branch, running one of the iRobot benchmark tests, and I noticed the list of discovered nodes is not properly updated on time, in most of the times the nodes are not fully discovered.
The issue seems to be on the function
get_discovered_nodesdefined onrmw_dps_cpp/include/rmw_dps_cpp/custom_node_info.hpp. The mapdiscovered_nodes_is not populated with all the present nodes in the system.If you'd like to reproduce the issue:
The problem starts to be seen when there are about 10 nodes in the ROS2 system.
Any ideas about what could be wrong?
Thanks