$search
Converts and processes diagnostics logs to CSV format. More...
Public Member Functions | |
def | __init__ |
def | finish_logfile |
Close logfile, append data to header. | |
def | get_filename |
Return filename of output. | |
def | process_log |
Use rosrecord to play back bagfile. | |
def | remove_files |
Removes all output files. | |
Public Attributes | |
logfile | |
output_dir | |
Private Member Functions | |
def | _update |
Creates and updates data files with new messages. | |
Private Attributes | |
_stats | |
_temp |
Converts and processes diagnostics logs to CSV format.
Used by scripts/export_csv.py to convert diagnostics log files to CSV format
Definition at line 49 of file exporter.py.
def diagnostic_analysis::exporter::LogExporter::__init__ | ( | self, | ||
output_dir, | ||||
logfile | ||||
) |
output_dir | str : Complete path of output dir. If None, uses temp dir | |
logfile | str : path of logfile |
Definition at line 52 of file exporter.py.
def diagnostic_analysis::exporter::LogExporter::_update | ( | self, | ||
topic, | ||||
msg | ||||
) | [private] |
Creates and updates data files with new messages.
Definition at line 87 of file exporter.py.
def diagnostic_analysis::exporter::LogExporter::finish_logfile | ( | self | ) |
Close logfile, append data to header.
Definition at line 138 of file exporter.py.
def diagnostic_analysis::exporter::LogExporter::get_filename | ( | self, | ||
name | ||||
) |
Return filename of output.
name | str : DiagnosticStatus name ex: 'Mechanism Control' |
Definition at line 75 of file exporter.py.
def diagnostic_analysis::exporter::LogExporter::process_log | ( | self | ) |
Use rosrecord to play back bagfile.
Definition at line 81 of file exporter.py.
def diagnostic_analysis::exporter::LogExporter::remove_files | ( | self | ) |
Definition at line 54 of file exporter.py.
Definition at line 53 of file exporter.py.
Definition at line 55 of file exporter.py.
Definition at line 57 of file exporter.py.