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

Service in Turtlesim cannot communicate. #366

Open
shifsa opened this issue Dec 20, 2024 · 0 comments
Open

Service in Turtlesim cannot communicate. #366

shifsa opened this issue Dec 20, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@shifsa
Copy link

shifsa commented Dec 20, 2024

Describe the bug

I used the following TurtleSim example to test the communication of Zenoh services.
https://docs.ros.org/en/humble/Tutorials/Beginner-CLI-Tools/Understanding-ROS2-Services/Understanding-ROS2-Services.html

ros2 service call /clear std_srvs/srv/Empty was not received by the other TurtleSim,
ros2 service call /spawn turtlesim/srv/Spawn ‘{x: 2, y: 2, theta: 0.2, name: “”}’ results in a turtle being created on the TurtleSim side, but no response is returned.

To reproduce

  1. start zenoh_bridge_ros2dds on PC A and PC B
    $ ros2 run zenoh_bridge_ros2dds zenoh_bridge_ros2dds
  2. start Turtlesim on side A
    $ ros2 run turtlesim turtlesim_node
  3. send Service from B side
    ex)
    $ ros2 service call /clear std_srvs/srv/Empty
    $ ros2 service call /spawn turtlesim/srv/Spawn "{x: 2, y: 2, theta: 0.2, name: ''}"

System info

  • Platform A: Windows11 WLS Ubuntu22.04 B:Ubuntu 22.02
  • Zenoh Version : commit 6604a8e
@shifsa shifsa added the bug Something isn't working label Dec 20, 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