How to find if nodes are running on the same machine?
Hello, everyone! I see ROS is a real distributed system, all nodes use node_name and node_uri to identify itself. Now I need to write a monitor process, to monitor all nodes on the same machine.
From http://wiki.ros.org/ROS/Slave_API , I can use getPid( ) to get the PID of that node server. But how can I check if that node is running on the same machine ? Is there a standard way of doing this ? Thanks!