Commit Graph

16 Commits

Author SHA1 Message Date
Kevin Hester 1a4fce60e8 tools: LogAnalyser, ensure error msgs go to stderr not stdout 2014-07-01 14:28:23 +10:00
Kevin Hester 7dc356f4ca tools: LogAnalyzer fixes to work with pipes as input
seek is not supported on pipes (and not needed in this case)
tell is also not supported, so count bytes on our own
2014-07-01 14:28:11 +10:00
Kevin Hester a756e4f3ef tools: Allow LogAnalyzer to read from stdin rather than just files
Use - intead of the filename
2014-07-01 14:28:04 +10:00
Kevin Hester a31498f599 tools: Change LogAnalyzer tabs to spaces (per APM python conventions) 2014-07-01 14:23:42 +10:00
Andrew Chapman f122b1ba37 LogAnalyzer: added 'import collections', allowed for some AC3.2 logging changes 2014-06-24 15:07:47 +10:00
Andrew Chapman 0f5a89f22e LogAnalyzer: added check for binary log files (can't parse yet) 2014-06-24 15:07:46 +10:00
Andrew Chapman 130a2dcb0b LogAnalyzer: added LogIterator, copter roll/pitch > max lean angle test, 2014-06-24 15:07:46 +10:00
Andrew Chapman 81fcf4bda7 LogAnalyzer: combined statusMessage and extraFeedback 2014-06-24 15:07:46 +10:00
Andrew Chapman 1356d53e7b LogAnalyzer: report skippedLines, cleaned up DataflashLog.read() error handling 2014-06-24 15:07:46 +10:00
Andrew Chapman 2a406ac699 LogAnalyzer: added GPS glitch detection to GPS test 2014-06-24 15:07:46 +10:00
Andrew Chapman 90f07aae61 LogAnalyzer: added unit test, started moving from dictData to listData
added unit test, started moving from dictData to listData, cancelled
pre-3.0 log reading, separated DataflashLog constructor and read() call
2014-06-24 15:07:46 +10:00
Andrew Chapman d6b091c39f LogAnalyzer: added BETA feedback info to output 2014-06-24 15:07:45 +10:00
Andrew Chapman c4828e1d3d LogAnalyzer: fixed plane+rover parsing, added test for underpowered copters 2014-06-24 15:07:45 +10:00
Andrew Chapman e0ada31872 LogAnalyzer: adding Roberts bad PM performance log 2014-06-24 15:07:45 +10:00
Andrew Chapman 8d691c2a60 LogAnalyzer: added PM slow loop check, first version of xml output 2014-06-24 15:07:45 +10:00
Andrew Chapman 36e480483f LogAnalyzer: Initial commit for discussion
A lot of this is still stub code, but far enough along for discussion
and feedback. Some good example tests are TestVibration and TestBrownout

datatypes handled correctly now (previsouly all read as floats), added
flag to skip bad input lines, now prints some general log info (size,
duration, etc), added some basic performance timing,
2014-06-24 15:07:45 +10:00