Commit Graph

13 Commits

Author SHA1 Message Date
Peter Barker ac3cb355c4 Tools: LogAnalyzer: fix bugs, handle newer log formats
Tools: LogAnalyzer: avoid fatal error if mag data is all zeros

Tools: LogAnalyzer: correct comparisons against logdata.vehicleType

Tools: LogAnalyzer: handle logs with TimeUS in place of TimeMS

Tools: LogAnalyzer: handle logs with CTUN.ThO in place of CTUN.ThrOut

Tools: LogAnalyzer: correct motor average value
2017-09-24 12:34:23 +10:00
cclauss 0f08207bdb Tools: define reduce() for Python 3
`reduce()` is called on line 55.  Python 3 dropped reduce() as a builtin.  https://docs.python.org/3/whatsnew/3.0.html#builtins encourages the rewriting of reduce() calls as explicit for loops or list comprehensions but I am not confident to try that in this context.
2017-08-28 11:43:39 +10:00
Peter Barker 82d36520ad LogAnalyzer: fix for 64-bit ints
Also, sqrt must come from math
Also, d indicates a double (a Python float)
2015-10-14 08:50:38 +09:00
Jonathan Challinger a62f1f0f48 LogAnalyzer: updated testCompass to match our prearm check 2014-10-27 13:58:15 +09:00
Kevin Hester 5cb242f5a4 LogAnalyzer: Report missing parameters as test failures 2014-08-26 15:36:53 +09:00
Kevin Hester 332ab9bc1b LogAnalyzer: convert tabs to spaces (only) per coding conventions 2014-08-26 15:36:50 +09:00
Aaron Curtis 9dbfa40afd LogAnalyzer: LogAnalyzer: make all subclasses of Test call their parent __init()__ function when overriding that function. This is the way of Python. 2014-07-08 14:12:56 -07:00
Andrew Chapman 4a5e0bbe06 LogAnalyzer: renamed PASS to GOOD in output (and enums)
as per Craig’s request to clarify test output
2014-06-24 15:07:47 +10:00
Andrew Chapman 0fe6c1ee3a LogAnalyzer: fixed XML output glitch in the case of a skipped (NA) test 2014-06-24 15:07:47 +10:00
Andrew Chapman 70c2682c28 LogAnalyzer: detect all zeros in MAG X/Y/Z data 2014-06-24 15:07:46 +10:00
Andrew Chapman 35830f928d LogAnalyzer: added --verbose flag, added test for MAG interference 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 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