Peter Barker
6bd5ac78f5
Tools: LogAnalyzer: fix string-method-on-int bug for unknown modes
7 years ago
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.
7 years ago
cclauss
d91a3250a6
Tools: TestParams.py: Fix undefine name VehicleType
...
__VehicleType__ is used on lines 47, 53, and 56 but is never defined or imported. This could result in a NameError runtime exception.
7 years ago
Peter Barker
a629bb7f2f
Tools: LogAnalyzer: TestGPSGlitch: flake8 compliance
7 years ago
Peter Barker
7a077b5fa1
Tools: LogAnalyzer: TestGPSGlitch: tabs to spaces
7 years ago
cclauss
e5256d0bd5
Tools: TestPitchRollCoupling.py: Change usage of next()
...
__lit.next()__ is not Python 3 compatible but __next(lit)__ is compatible with both Python 2 and 3.
8 years ago
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
8 years ago
Peter Barker
7f2882f54b
Tools: LogAnalyzer: cope with renamed GPS fields
8 years ago
Peter Barker
2c0e2aab15
Tools: LogAnalyzer: derive motor count from frame type MSG
8 years ago
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.
8 years ago
cclauss
13894506f4
from math import sqrt
...
Make the call match the import
8 years ago
cclauss
b26b6f07bd
from math import sqrt
...
sqrt() is called on lines 198, 200, 208. Without this change, sqrt() is an undefined name.
8 years ago
Peter Barker
ebc8dc4afc
Tools: LogAnalyzer: fix whitespace
8 years ago
Peter Barker
a6fd812051
Tools: LogAnalyzer: use repr in place of deprecated backticks
8 years ago
Peter Barker
44d1c77b0c
Tools: LogAnalyzer: use print_function
8 years ago
Peter Barker
f5e8facc87
Tools: LogAnalyzer: add NaN check
8 years ago
priseborough
f9bf825094
Tools: Add analysis file for optical flow calibration data
...
Calculate and display recommended values of FLOW_FXSCALE and FLOW_FYSCALE from an optical flow sensor calibration test
Save plots to flow_calibration.pdf file
Save calibration parameters to flow_calibration.param file
Signed-off-by: priseborough <p_riseborough@live.com.au>
Tools: Address optical flow calibration script review comments
Tools: LogAnalyzer: stop executing TestOptFlow on insufficient data
8 years ago
Peter Barker
0168493d8a
Tools: correct LogAnalyzer VCC test
8 years ago
Peter Barker
45bc95edeb
Tools: LogAnalyzer: handle changed RCOU and parameters in motorbalance
9 years ago
Peter Barker
f1641161d7
Tools: LogAnalyzer: correct Vcc test
9 years ago
Peter Barker
82d36520ad
LogAnalyzer: fix for 64-bit ints
...
Also, sqrt must come from math
Also, d indicates a double (a Python float)
9 years ago
Peter Barker
ec9be695fb
LogAnalyzer: don't die if no arm/disarm eveents
10 years ago
Peter Barker
ce558b2b98
LogAnalyzer: cope with TimeUS
...
See also: 177f61656f
10 years ago
Markus Koetter
789fd06192
LogAnalyzer - Improve Autotune Test
...
- previously version could report failed autotune sessions as valid and
valid sessions as failed
10 years ago
Randy Mackay
4aa07d7aef
LogAnalyser: rename BalanceTwist to MotorBalance
10 years ago
Randy Mackay
98e9ce3206
LogAnalyser: TestBalanceTwist sanity check of motor values
10 years ago
Jonathan Challinger
a62f1f0f48
LogAnalyzer: updated testCompass to match our prearm check
10 years ago
Jonathan Challinger
0955284d7e
LogAnalyzer: balance/twist initial commit
10 years ago
Randy Mackay
41d7462eee
LogAnalyzer: add POSHOLD to TestPitchRollCoupling
11 years ago
Jonathan Challinger
7c3e614c19
LogAnalyzer: Add IMU Mismatch check
11 years ago
Kevin Hester
5cb242f5a4
LogAnalyzer: Report missing parameters as test failures
11 years ago
Kevin Hester
332ab9bc1b
LogAnalyzer: convert tabs to spaces (only) per coding conventions
11 years ago
Aaron Curtis
179d854a26
LogAnalyzer: Update to include the new "format" argument, and fix scoping on two new tests.
11 years ago
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.
11 years ago
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
11 years ago
Markus Koetter
6ce0dbf3b3
LogAnalyzer: TestPitchRollCoupling add mode ""
...
- "" is a valid alias for AUTOTUNE
11 years ago
Linus Casassa
ce0efdb7d2
LogAnalyzer: Adding HYBRID mode to LogAnalyzer.
11 years ago
Andrew Chapman
2f4af05f33
LogAnalyzer: renamed test from "Underpowered" to "Thrust"
11 years ago
Andrew Chapman
4a5e0bbe06
LogAnalyzer: renamed PASS to GOOD in output (and enums)
...
as per Craig’s request to clarify test output
11 years ago
Andrew Chapman
0fe6c1ee3a
LogAnalyzer: fixed XML output glitch in the case of a skipped (NA) test
11 years ago
Andrew Chapman
f122b1ba37
LogAnalyzer: added 'import collections', allowed for some AC3.2 logging changes
11 years ago
Andrew Chapman
0f5a89f22e
LogAnalyzer: added check for binary log files (can't parse yet)
11 years ago
Andrew Chapman
70c2682c28
LogAnalyzer: detect all zeros in MAG X/Y/Z data
11 years ago
Andrew Chapman
35830f928d
LogAnalyzer: added --verbose flag, added test for MAG interference
11 years ago
Andrew Chapman
130a2dcb0b
LogAnalyzer: added LogIterator, copter roll/pitch > max lean angle test,
11 years ago
Andrew Chapman
81fcf4bda7
LogAnalyzer: combined statusMessage and extraFeedback
11 years ago
Andrew Chapman
2a406ac699
LogAnalyzer: added GPS glitch detection to GPS test
11 years ago
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
11 years ago
Andrew Chapman
c4828e1d3d
LogAnalyzer: fixed plane+rover parsing, added test for underpowered copters
11 years ago
Andrew Chapman
301a3bcdaf
LogAnalyzer: added test for dupe log data
11 years ago