You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I used a set of IDL-generated data to create three topics for publishing. At the same time, the subscriber side is set up to receive all three topics. When I start the publisher first and then start the subscriber, all three topics show as matched. However, no data is received in the callback afterwards. When there is only one topic, everything works normally.
The attachment above is my minimal demo. I have already compiled the DDS library and included it in the project. The compilation method is: cmake . make
To run the demo, simply source the env.sh script.
Then, open two terminal windows (on the same host):
In one terminal, run ./node_example_exec pub
In the other terminal, run ./node_example_exec sub
This will reproduce the issue. Sometimes data can be received, but if either side is restarted, there is a high chance that no data will be received.