Classes | |
class | Profiler |
Functions | |
def | get_ros_hostname |
def | get_ros_ip |
def | get_sys_hostname |
Try to get ROS_HOSTNAME environment variable. returns: a ROS compatible hostname, or None.
Definition at line 40 of file profiler.py.
def rosprofiler.profiler.get_ros_ip | ( | ) |
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.