Public Member Functions | Public Attributes | Private Member Functions | Private Attributes
diagnostic_analysis.exporter.LogExporter Class Reference

Converts and processes diagnostics logs to CSV format. More...

List of all members.

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

Detailed Description

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 47 of file exporter.py.


Constructor & Destructor Documentation

def diagnostic_analysis.exporter.LogExporter.__init__ (   self,
  output_dir,
  logfile 
)
Parameters:
output_dirstr : Complete path of output dir. If None, uses temp dir
logfilestr : path of logfile

Definition at line 50 of file exporter.py.


Member Function Documentation

def diagnostic_analysis.exporter.LogExporter._update (   self,
  topic,
  msg 
) [private]

Creates and updates data files with new messages.

Definition at line 85 of file exporter.py.

Close logfile, append data to header.

Definition at line 136 of file exporter.py.

Return filename of output.

Parameters:
namestr : DiagnosticStatus name ex: 'Mechanism Control'

Definition at line 73 of file exporter.py.

Use rosrecord to play back bagfile.

Definition at line 79 of file exporter.py.

Removes all output files.

Removes directory if temp

Definition at line 64 of file exporter.py.


Member Data Documentation

Definition at line 50 of file exporter.py.

Definition at line 50 of file exporter.py.

Definition at line 50 of file exporter.py.

Definition at line 50 of file exporter.py.


The documentation for this class was generated from the following file:


diagnostic_analysis
Author(s): Kevin Watts, Brice Rebsamen , Eric Berger, Kevin Watts
autogenerated on Sun Oct 5 2014 23:27:27