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

Inform users that peers will not discover and communicate with one another until the router is started #440

Open
wants to merge 1 commit into
base: rolling
Choose a base branch
from

Conversation

Yadunund
Copy link
Member

@Yadunund Yadunund commented Jan 30, 2025

Address ambiguity from #439

…other until the router is started

Signed-off-by: Yadunund <[email protected]>
@Yadunund Yadunund force-pushed the yadu/emphasize_router_start branch from cfaeb91 to 5a5e65e Compare January 30, 2025 23:03
"Have you started a router with `ros2 run rmw_zenoh_cpp rmw_zenohd`?");
"Have you started a router with `ros2 run rmw_zenoh_cpp rmw_zenohd`? "
"You may also increase the number of attempts to check for a router "
"but setting the ZENOH_ROUTER_CHECK_ATTEMPTS environment variable.");
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

but -> by?

@@ -108,9 +108,17 @@ class rmw_context_impl_s::Data final : public std::enable_shared_from_this<Data>
RMW_ZENOH_LOG_WARN_NAMED(
"rmw_zenoh_cpp",
"Unable to connect to a Zenoh router. "
"Have you started a router with `ros2 run rmw_zenoh_cpp rmw_zenohd`?");
"Have you started a router with `ros2 run rmw_zenoh_cpp rmw_zenohd`? "
"You may also increase the number of attempts to check for a router "
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think this hint adds much. Playing with ZENOH_ROUTER_CHECK_ATTEMPTS is only useful if all checks are exhausted. And thus this hint would be better placed at the log below.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants