All Classes Namespaces Files Functions Variables Typedefs Enumerations Properties Friends
Classes | Functions
rocon_hub::utils Namespace Reference

Classes

class  Console
 Logging. More...

Functions

def bold_string
def check_if_executable_available
def check_master
 Ros.
def logerror
def logfatal
def loginfo
def read_template
 File Handling.
def red_string
def which
 System.

Function Documentation

bound string with console symbols for bold output

Definition at line 34 of file utils.py.

  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.

  Aborts program execution with fatal error if not found.

Definition at line 90 of file utils.py.

Ros.

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

Definition at line 55 of file utils.py.

def rocon_hub.utils.logerror (   message)

Definition at line 43 of file utils.py.

def rocon_hub.utils.logfatal (   message)

Definition at line 47 of file utils.py.

def rocon_hub.utils.loginfo (   message)

Definition at line 39 of file utils.py.

def rocon_hub.utils.read_template (   template_filename)

File Handling.

  Convenience function for opening a file.

Definition at line 108 of file utils.py.

bound string with console symbols for red output

Definition at line 29 of file utils.py.

def rocon_hub.utils.which (   program)

System.

Emulate in a cross platform way the linux shell command

Definition at line 71 of file utils.py.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Properties Friends


rocon_hub
Author(s): Daniel Stonier, Jihoon Lee
autogenerated on Tue Jan 15 2013 17:43:33