Expand description
ROS 2 nodes on a DDS participant, announced on ros_discovery_info.
A ROS 2 node is not a DDS entity. ROS 2 (since Foxy) tells which
writers and readers belong to which node on the DDS topic
ros_discovery_info, of type rmw_dds_common/msg/ParticipantEntitiesInfo:
each participant writes, every time its nodes or their endpoints
change, the GID of the participant and, for each of its nodes, the
namespace, the name and the GIDs of the node’s readers and writers. A
GID is the 16 octets of a DDS GUID. The writer is RELIABLE,
TRANSIENT_LOCAL, KEEP_LAST(1), so that late joiners get the last one.
Without it, ros2 node list does not show the nodes, and ros2 topic info -v shows the endpoints under _NODE_NAME_UNKNOWN_; the data
goes through anyway.
Structs§
- Node
- A ROS 2 node.
- Node
Reader - A DDS reader of a node: taken out of the node’s endpoints when dropped.
- Node
Writer - A DDS writer of a node: taken out of the node’s endpoints when dropped.
- RosParticipant
- A DDS participant that ROS 2 sees as the participant of ROS 2 nodes.
- RosPublisher
- A publisher of a ROS 2 topic.
- RosSubscription
- A subscription to a ROS 2 topic.
Constants§
- DISCOVERY_
INFO_ TOPIC - The DDS topic of the graph of ROS 2 nodes.
- DISCOVERY_
INFO_ TYPE - The type of
DISCOVERY_INFO_TOPIC.