how to check if a ros2 node is local(after get node list by `ros2 node list`)? or get IP info of a remote node?
hi, is there a way to check if a ros node is local?
i.e. when i get a node list after ros2 node list
, how do i know this node is local or remote?
or even more details, e.g. get the ip info of a remote node? like which ip is the node located at (running on which server)?
i have found ROS_LOCALHOST_ONLY
is a relevant env variable, but looks like it can not help to solve the above question.
thx for any advice
the suitation here is i got a group of target machines in local-network, different nodes are (dynamicly) deployed on different machines by different developers, these nodes work togather in collaboration. As a admin, i need to investage the potential conflict, so it is quite helpful if i could figure out which node is deployed on which machine(or IP). thx