Functions | |
def | clean_filename |
def | format_localtime |
def | format_localtime_file |
def | get_duration_str |
def | write_table_row |
def life_test::writing_core::clean_filename | ( | filename | ) |
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.
def life_test::writing_core::format_localtime | ( | stamp | ) |
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.
def life_test::writing_core::format_localtime_file | ( | stamp | ) |
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.
def life_test::writing_core::get_duration_str | ( | duration | ) |
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.