-
Notifications
You must be signed in to change notification settings - Fork 167
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
Feature Request: Provide CLI to retrieve IP address a node runs on #781
Comments
This issue has been mentioned on ROS Discourse. There might be relevant details there: |
@moooeeeep thanks for creating issue.
i would like to know how this is gonna solve your situation. you want to identify the node based on IP address? probably i am not really sure about the use case and what you really want to use this IP address information in your application. |
Knowing the IP address, I could directly identify and log-in to the offending host and adjust the Not sure if it has to be the |
Ah, I see. so it is physical identification. that makes sense.
this sounds reasonable. to add this feature, i think we need to add new RMW interface to ask IP address of the node, node information like |
I recently was in the situation, that two nodes were publishing on the same topic (classroom environment with several turtlebots, two of which with colliding
ROS_DOMAIN_ID
), and it would have been helpful if there was a command to find the IP address of each node in the system (some kind of a network inventory). We ended up to go after thetcpdump
approach explained here to identify the offending host.I thought having a ROS 2 native CLI tool would be nice to have, i.e., a tool that would incorporate the relevant abstractions / query info from the daemon.
I’d like to feature request a tool to provide this info, e.g., via
ros2 node info --verbose
command.Maybe a similar query for info belonging to a GID for a topic would be useful too, in case node names collide).
I already skimmed through this repo but I didn’t find any obvious angle of approach to add this myself.
Any suggestions welcome.
Previous discussion:
In the linked discussion, the ROS 2 Monitor GUI tool was mentioned that seems to provide a graphical interface for inspection of the running nodes (not sure how vendor-specific this is though):
The text was updated successfully, but these errors were encountered: