[ros-users] [Discourse.ros.org] [Next Generation ROS] Update…

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: karsten via ros-users
Date:  
To: ros-users
Subject: [ros-users] [Discourse.ros.org] [Next Generation ROS] Update time for get_node_names


Sorry for coming back on this so late.

The `getParticipantNames` [function](https://github.com/ros2/rmw_fastrtps/blob/master/rmw_fastrtps_cpp/src/rmw_node_names.cpp#L56) has been added to FastRTPS to get going with exposing node names. It's clearly a one-directional implementation, saying that every time you ask for available nodes, you basically ask FastRTPS for available participants. I am not really familiar about the underlying specifics within FastRTPS to give qualified feedback on why it takes that long. There is no API currently for the rosgraph, notifying about node changes, only about topics (AFAIK).

I believe that FastRTPS has support for callbacks on node changes, but I have to look into it. For the time being, I would invite you to open a github issue for that particular scenario of yours, maybe posting your code snippet and we can pick it up from there.





---
[Visit Topic](https://discourse.ros.org/t/update-time-for-get-node-names/2333/4) or reply to this email to respond.


If you do not want to receive messages from ros-users please use the unsubscribe link below. If you use the one above, you will stop all of ros-users from receiving updates.
______________________________________________________________________________
ros-users mailing list

http://lists.ros.org/mailman/listinfo/ros-users
Unsubscribe: <http://lists.ros.org/mailman//options/ros-users>