-
Notifications
You must be signed in to change notification settings - Fork 168
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
Blank lines / "(no name)" in output of ros2 node list #72
Comments
I have the same output for fastrtps on osx. Reproducible for me when starting a talker with opensplice, and calling rosnode list on fastrtps |
oh weird. Just to confirm: that's something you both see only on MacOS (and not on Linux)? |
I ran the same sequence on Linux (build from source) and the node list is always correct for me (no sign of empty lines). |
I have three ways to reproduce it. One
two
three
|
I think having opensplice nodes running is what causes the extra output. Having only fastrtps/connext nodes I see expected output from When opensplice nodes are introduced the output happens. I've noticed that
I suspect there may be general discovery incompatibility that causes |
I don't think that this is related to the daemon at all. You can try the following to reproduce:
which leads to the same result: the node list containing empty lines. |
The reason for the problem as well as a possible solution to fix this is described in ros2/ros2#438. |
Addressed by #76. |
* Handle zero-width string parameters. Signed-off-by: Michel Hidalgo <michel@ekumenlabs.com> * Restore yaml.safe_load usage. Signed-off-by: Michel Hidalgo <michel@ekumenlabs.com>
Not a major issue but something we should look into eventually:
built from source with fastrtps on linux:
built from source with connext on osx:
the
(no name)
output comes from this line in rmw_connext_cpp:https://github.com/ros2/rmw_connext/blob/efaf513a5f9303216670ed76b5060ed5b8f958e5/rmw_connext_shared_cpp/src/node_names.cpp#L76
Perhaps this equivalent in fastrtps can return empty names: https://github.com/ros2/rmw_fastrtps/blob/3e5edb3316e2aee325e9354549e54c999a89bca9/rmw_fastrtps_cpp/src/rmw_node_names.cpp#L56
I haven't seen opensplice output empty lines.
The text was updated successfully, but these errors were encountered: