Hi, I am a newbie in the ROS2 paradigm. I have Ubuntu 20.04 and ROS2 Foxy installed on it. I am able to communicate among nodes via publishing/subscribing topics and services. I have read the documentation about default DDS in ROS2. I have also read about, how to create a fast DDS publisher and subscriber, as well as the topic name mapping between ROS2 and DDS.
But I am still unable to understand how can I communicate between two nodes over DDS? Do I need a discovery server?
What steps should I follow to communicate via a topic between two nodes?
Confusions:
- As DDS follows idl format for messages, how msg and srv files will be translated to dds?
- There is also an integer domain_value to set up the availability among publishers and subscribers. How can I set domain values?
- Will publishing and subscribing to DDS topics follow the same procedure as ROS2 topics?
Originally posted by sumit.paul on ROS Answers with karma: 36 on 2021-12-02
Post score: 1