Functions
rocon_hub.utils Namespace Reference

Functions

def check_if_executable_available (name)
 
def check_master ()
 Ros. More...
 
def logerror (message)
 
def logfatal (message)
 
def loginfo (message)
 Logging. More...
 
def logwarn (message)
 
def read_template (template_filename)
 File Handling. More...
 
def which (program)
 System. More...
 

Function Documentation

def rocon_hub.utils.check_if_executable_available (   name)
  Ensure a particular executable is available on the system.

  Could use package names and python-apt here to find if the package is
  available, but more reliable and general - just check if program binary
  is available.

  Deprecated - aborts program execution with fatal error if not found.

Definition at line 79 of file utils.py.

def rocon_hub.utils.check_master ( )

Ros.

Make sure that master is available
:raises: :exc:`ROSTopicException` If unable to successfully communicate with master

Definition at line 42 of file utils.py.

def rocon_hub.utils.logerror (   message)

Definition at line 30 of file utils.py.

def rocon_hub.utils.logfatal (   message)

Definition at line 34 of file utils.py.

def rocon_hub.utils.loginfo (   message)

Logging.

Definition at line 22 of file utils.py.

def rocon_hub.utils.logwarn (   message)

Definition at line 26 of file utils.py.

def rocon_hub.utils.read_template (   template_filename)

File Handling.

  Convenience function for opening a file.

Definition at line 99 of file utils.py.

def rocon_hub.utils.which (   program)

System.

Emulate in a cross platform way the linux shell command

@TODO: replace this with rocon_python_utils' tool

Definition at line 58 of file utils.py.



rocon_hub
Author(s): Daniel Stonier , Jihoon Lee , Piyush Khandelwal
autogenerated on Mon Jun 10 2019 14:40:13