Commit Graph

29 Commits

Author SHA1 Message Date
Peter Barker a6fd812051 Tools: LogAnalyzer: use repr in place of deprecated backticks 2017-07-22 09:28:28 +10:00
Peter Barker 44d1c77b0c Tools: LogAnalyzer: use print_function 2017-07-22 09:09:51 +10:00
Ricardo de Almeida Gonzaga 1062aed91e Tools: Fix typos 2016-05-13 19:20:07 -03:00
Peter Barker e357be3d85 LogAnalyzer: adjust for change in vehicle definition MSG string
We changed from ArduCopter to APM:Copter, breaking parts of the LogAnalyzer

This change has LogAnalyzer canonicalise its output to Ardu{Plane,Rover,Copter}

Also account for change in MODE message - ThrCrs has gone away
2015-10-15 09:40:25 +09:00
Peter Barker 1dba943a10 LogAnalyzer: if no GPS, try GPS2 2015-07-10 19:00:22 +10:00
Andrew Chapman 50f9b4d4bb LogAnalyzer: added help text for --format option 2014-08-06 19:51:30 -07:00
Kevin Hester 097a3b23e6 LogAnalyzer: Fix handling of the -f format option (bin, log, auto)
Previously this option was ignored.
2014-08-06 19:51:29 -07:00
Aaron Curtis 179d854a26 LogAnalyzer: Update to include the new "format" argument, and fix scoping on two new tests. 2014-07-08 14:13:00 -07:00
Aaron Curtis f0cf612372 LogAnalyzer: Fix scoping in LogAnalyzer.py . Tests still need fixing.
Conflicts:
	Tools/LogAnalyzer/LogAnalyzer.py
2014-07-08 14:12:56 -07:00
Markus Koetter 64ae2011b5 LogAnalyzer - binary log parsing preparations
- use FMT messages to create classes using type()
 - work with these classes instead of arrays
 - split parsing and processing
2014-07-07 17:54:40 -07:00
Kevin Hester 867f884954 tools: Allow LogAnalyser to emit its xml to stdout.
If you use - as the name for the output file.
2014-07-01 14:28:08 +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 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 795f93949b LogAnalyzer: escape strings in XML output 2014-06-24 15:07:46 +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 35830f928d LogAnalyzer: added --verbose flag, added test for MAG interference 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 5aa1e6a2dd LogAnalyzer: changed command flags a little, tidy, started on TestPitchRollCoupling 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