Classes | Functions
rosprofiler::profiler Namespace Reference

Classes

class  Profiler

Functions

def get_ros_hostname
def get_ros_ip
def get_sys_hostname

Function Documentation

Try to get ROS_HOSTNAME environment variable.
returns: a ROS compatible hostname, or None.

Definition at line 40 of file profiler.py.

Try to get the ROS_IP environment variable as a valid name.
Returns: an ip address with '.' replaced with '_', or None if not set.

Definition at line 48 of file profiler.py.

If the system hostname is also a valid ROS name, return the hostname.
Otherwise, return the first 6 digits of the md5sum of the hostname

Definition at line 58 of file profiler.py.



rosprofiler
Author(s): Dan Brooks
autogenerated on Thu Jun 6 2019 18:15:05