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
Subscription count is 0 after subscriber is created in ros foxy #1536
Comments
this is not much an information, but hopefully helpful.
|
This link found Ros Foxy has a bug in topic message. Not sure if the problem is caused by the bug |
yes, I do. Humble is maintained distro.
foxy uses Fast-DDS |
I found that the following two cases the messages were received normally:
|
Problem description
I have created two nodes for publishing and subscribing odometry message in ros foxy.There are about 6 different types of subscriber and 6 publisher in one node. The publishing node only publishes odometry message in 100 hz. But when the subscriber is created by rclcpp no message is received occasionally. By using "occasionally" means about 1/20 for subscriber to lost connection to publisher. And also when I use ros2 info to check the topic status, the subscription count is 0. So is there anybody knows why the subscriber can't receive message.
Required Info:
The text was updated successfully, but these errors were encountered: