Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] Unable to Receive Messages on Subscriber Node via Zenoh Router deployed in Cloud #402

Open
Jianqiao94 opened this issue Dec 1, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@Jianqiao94
Copy link

Describe the bug

I am experiencing an issue where I cannot receive messages on a listener node across a Zenoh router deployed on a cloud server. The setup involves two devices running ROS2 Humble and zenoh-bridge-ros2dds. The issue is that, while the topic /talker/chatter is correctly discovered on the listener node (ros2 topic list shows the topic), ros2 topic echo /talker/chatter does not display any messages.

To reproduce

  1. Set up the zenoh router on cloud server with public IP.
    ./zenohd --listen tcp/0.0.0.0:7447 --config <router_config.json5>
    I use default configuration, just set mode to router.

  2. Talker/listener node configuration

  • Install ROS2 Humble and zenoh-bridge-ros2dds.
  • Configure file something like:
    {
    "plugins": {
    "ros2dds": {
    "namespace": "/talker",
    "domain": 0,
    "ros_localhost_only": false,
    "deny": {
    "publishers": ["./rosout", "./parameter."],
    "subscribers": [".
    /rosout", "./parameter."]
    }
    }
    },
    "connect": {
    "endpoints": [
    "tcp/<public_ip_of_router>:7447"
    ]
    }
    }
  1. Start zenoh router, zenoh bridge and talker/listener node
  2. On the listener node, the log says something like
    "2024-11-28T20:44:29.966517Z INFO main ThreadId(01) zenoh::net::runtime::orchestrator: Zenoh can be reached at: tcp/192.168.8.163:36167
    2024-11-28T20:44:30.035564Z INFO tokio-runtime-worker ThreadId(18) zenoh_plugin_ros2dds: Remote bridge announces Publisher talker/chatter
    2024-11-28T20:44:30.036093Z INFO tokio-runtime-worker ThreadId(18) zenoh_plugin_ros2dds::routes_mgr: Route Subscriber (Zenoh:listener/talker/chatter -> ROS:/talker/chatter) created'

    So I think the topic is indeed discovered but I cannot view it or echo it.

System info

Ubuntu 22.04, ROS2 humble.

@Jianqiao94 Jianqiao94 added the bug Something isn't working label Dec 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant