-
Notifications
You must be signed in to change notification settings - Fork 23
Description
Working with ROS2.
Following this documentation: https://eprosima-dds-router.readthedocs.io/en/latest/rst/examples/ros_discovery_server_example.html
First terminal: ROS_DOMAIN_ID=0 ros2 run demo_nodes_cpp talker (I see the Hello World with count being logged). I could echo this topic in another terminal.
Second terminal: ROS_DISCOVERY_SERVER=";127.0.0.1:11888" ros2 run demo_nodes_cpp listener
Third terminal: ./install/ddsrouter_tool/bin/ddsrouter --config-path /home/vrl/DDS-Router/install/ddsrouter_tool/share/resources/configurations/examples/ros_discovery_server.yaml
Output:
Starting DDS Router Tool execution.
DDS Router running.
yaml file is as follows (same as documentation):
allowlist:
- name: rt/chatter # 1
type: std_msgs::msg::dds_::String_ # 1
participants:
-
name: SimpleROS2 # 2
kind: local # 3
domain: 0 # 4 -
name: ServerROS2 # 5
kind: local-discovery-server # 6
listening-addresses: # 7- domain: localhost # 8
port: 11888 # 9
# 10
- domain: localhost # 8
PROBLEM: Listener is not receiving any messages.
Please note that I am very new to networking and have very limited debugging skills in this area.