Commit Graph

9 Commits

Author SHA1 Message Date
Luiz Georg d76f3d71ae Tools/LogAnalyzer: pass flake8
`TestDualGyroDrift.py` ignored because it is mostly commented out code
2022-07-19 22:01:31 +10:00
Luiz Georg da0c365f3d Tools/LogAnalyzer: Use more specific exceptions 2022-07-19 22:01:31 +10:00
Luiz Georg 42f202d0ff Tools/LogAnalyzer: apply Black and isort 2022-07-19 22:01:31 +10:00
Peter Barker 2eeac9e6fd Tools: LogAnalyzer: Python3 fixes 2020-07-17 11:16:06 +10:00
cclauss c6aaa12e94 Tools: LogAnalyzer: Fix undefined name VehicleType
Tools: TestAutotune.py: Fix undefined name VehicleType

__VehicleType__ is used on line 58 but is never defined or imported.

Tools: TestPerformance.py: Fix undefined name VehicleType

__VehicleType__ is used on line 19 but is never defined or imported.

Tools: TestParams.py: Fix undefine name VehicleType

__VehicleType__ is used on line 21 but is never defined or imported.

Tools: TestThrust.py: Fix undefine name VehicleType

__VehicleType__ is used on line 19 but is never defined or imported.

Tools: TestVibration.py: Fix undefined name VehicleType

__VehicleType__ is used on line 21 but is never defined or imported.
2017-09-30 09:19:01 +10:00
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
Markus Koetter 789fd06192 LogAnalyzer - Improve Autotune Test
- previously version could report failed autotune sessions as valid and
   valid sessions as failed
2014-10-27 15:55:57 -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
Markus Koetter da178ee3b6 LogAnalyzer: add TestAutotune
- very basic, checks for autotune start/success/fail and provides the
   most recent ATUN/ATDE values
 - very handy in case autotune fails
2014-07-07 18:10:13 -07:00