Skip to content

Listener node cannot hear the message from the talker node #550

@yang-yuke

Description

@yang-yuke

Hi dear RoS experts, could you please help take a look at this issue? I have been grappling with the issue for a few days but end up nowhere. I would appreciate if you might shed some light on it for me.

Bug report

Required Info:

  • Operating System:
    • Ubuntu 20.04
  • Installation type:
    • sudo apt install ros-galactic-desktop
  • Version or commit hash:
  • DDS implementation:
  • Client library (if applicable):

Steps to reproduce issue

  1. install RoS2 galactic desktop distro as instructed from this website
  2. source setup bash then run demo_nodes_cpp talker in terminal 1
  3. source setup bash then run demo_nodes_py listener in terminal 2

Expected behavior

terminal 2(listener) should be able to hear the message from terminal 1(talker)

Actual behavior

nothing shows up in terminal 2

Additional information

//In terminal one, I can see the messages printed.
image

//In terminal 2, however, it stuck as the picture shows. No messages printed out.
image

//I have also installed foxy distro. Strange though, if I switch to foxy version, I can see it is working normally. In terminal 1, talker messages can be printed normally.
image

//This time, in terminal 2 messages heard by listener can be printed out normally. It always succeeds once I switch to foxy distro but fails once I switch back to galactic distro. Seems something wrong with the galactic distro's library?
image


Feature request

Feature description

Implementation considerations

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions