-
Notifications
You must be signed in to change notification settings - Fork 44
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
tag 0.3.0 (current rolling binary) not working: Scouting delay elapsed before start conditions are met. #439
Comments
See #242 |
Hi @berndpfrommer, Thanks for the ticket and trying out the binaries we released! I was not able to reproduce your error on my system. Please see my screen recording below. rmw_zenoh_439.mp4Is there any chance you were running
Before releasing Could I trouble you to try the binaries again but in a clean environment? (there could be routers running in the background or perhaps even
Killing any zenoh routers / daemons before switching versions might be the solution here and we'll need to work towards addressing that ticket linked above. |
Okay I think I realize the problem now.... I believe you ran rmw_zenoh_439_without_router.mp4One bug in the With the latest source, starting
Some time ago (before 0.3.0 release), we changed the default behavior in To summarize
|
Funny, I was just testing in a clean environment and indeed everything works fine if I start the zenoh router before starting the talker. Since there was no complaint I was thinking rmw_zenoh_cpp was changed to start the ros2 daemon. Things like that throw me back to the times before rmw_zenoh, when the simplest stuff just didn't work and there is always a little gotcha that explains everything and makes me feel stupid. Looking forward to the next release where this is fixed. In the meanwhile I'll stick with the latest build from source. And please leave this issue open until the next binaries are released, such that other idiots like me can search and find out what the problem is. |
Thanks for the feedback. Things should work too if you start the router after. Even with the latest source build, I now realize that printing the warning once and continuing with initialization probably gives users a false sense of surety that the router was somehow started in the background. I've opened #440 to make it clear that users still need to start the router. Will ensure this change is in the next release.
Sure thing. |
The current apt package on Ubuntu 24.04 (noble) "does not work" (more below).
This is the package:
When I run the demo nodes (all on the same host), I get this warning:
And neither topic nor node list work (the listener also receives no messages):
I was able to reproduce this problem by compiling the rmw_zenoh repo from source using tag 0.3.0.
I also noted that with tag 0.3.0 I no longer have to start an rmw_zenoh_hd daemon.
But if I upgrade to the latest commit e638f8c I have to start the ros2 daemon manually again - AND the "Scouting delay elapsed" message goes away, and everything works again.
What happened with 0.3.0? I don't understand why this was ever released and how you did not catch that in testing. Given the generally solid experience I had with rmw_zenoh, I still have nagging doubts that somehow my setup is very unusual or something is wrong on my side.
The other thing is: I don't like the ros2 daemon. It creates hidden state that I find confusing when switching between rmw versions (I went back and forth a couple times for testing). I'd much rather start the rmw_zenoh_hd manually, then I know exactly what process is doing the communication and I see its console log. Granted that's a matter of taste, but it may be worthwhile to poll people what they prefer.
The text was updated successfully, but these errors were encountered: