network_detector Documentation

network_detector: network_detector

A ROS node that watches a given network interface and publishes whether it is both UP and RUNNING (indicating that a cable is plugged into it and communication is happening, for instance) or not.

network_detector is a small node which watches a network interface (such as eth0) and publishes whether it is connected or not.

network_detector requires a single parameter, "network_detector/interface_name", giving the name of the interface.

The output is a single boolean on a topic called "network_connected". It is a latched message which is published about every 5 seconds and whenever the status changes.

codeapi



network_detector
Author(s): Dave Hershberger
autogenerated on Thu Apr 24 2014 15:35:25