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 32 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 53 of file utils.py.

def rocon_hub.utils.logerror (   message)

Definition at line 41 of file utils.py.

def rocon_hub.utils.logfatal (   message)

Definition at line 45 of file utils.py.

def rocon_hub.utils.loginfo (   message)

Definition at line 37 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 27 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 69 of file utils.py.



rocon_hub
Author(s): Daniel Stonier , Jihoon Lee , Piyush Khandelwal
autogenerated on Sat Jun 8 2019 18:48:46