Functions
life_test::writing_core Namespace Reference

Functions

def clean_filename
def format_localtime
def format_localtime_file
def get_duration_str
def write_table_row

Function Documentation

Formats a filename to remove any ' ' or '-'
@param filename str : Filename to clean
@return str : Cleaned up name

Definition at line 85 of file writing_core.py.

Formats a rospy.get_time() stamp in a human readable local time
@param stamp float : From rospy.get_time()

Definition at line 71 of file writing_core.py.

Formats a rospy.get_time() stamp in a filename-OK format
@param stamp float : From rospy.get_time()

Definition at line 78 of file writing_core.py.

Returns duration in a formatted manner
@param duration float : Time in seconds
@return string "HOURShr, MINm"

Definition at line 59 of file writing_core.py.

def life_test.writing_core.write_table_row (   lst,
  bold = False 
)
Writes list into HTML table row
@param lst list : List of items to write
@param bold bool : True if row text should be bold

Definition at line 41 of file writing_core.py.



life_test
Author(s): Kevin Watts
autogenerated on Sat Dec 28 2013 17:56:37