LogAnalyzer: TestPitchRollCoupling add mode ""

- "" is a valid alias for AUTOTUNE
This commit is contained in:
Markus Koetter 2014-07-04 15:41:25 +02:00 committed by Craig Elder
parent d50d5b8f24
commit 6ce0dbf3b3
1 changed files with 1 additions and 1 deletions

View File

@ -28,7 +28,7 @@ class TestPitchRollCoupling(Test):
# figure out where each mode begins and ends, so we can treat auto and manual modes differently and ignore acro/tune modes
autoModes = ["RTL","AUTO","LAND","LOITER","GUIDED","CIRCLE","OF_LOITER","HYBRID"] # use NTUN DRol+DPit
manualModes = ["STABILIZE","DRIFT","ALTHOLD","ALT_HOLD"] # use CTUN RollIn/DesRoll + PitchIn/DesPitch
ignoreModes = ["ACRO","SPORT","FLIP","AUTOTUNE"] # ignore data from these modes
ignoreModes = ["ACRO","SPORT","FLIP","AUTOTUNE",""] # ignore data from these modes
autoSegments = [] # list of (startLine,endLine) pairs
manualSegments = [] # list of (startLine,endLine) pairs
orderedModes = collections.OrderedDict(sorted(logdata.modeChanges.items(), key=lambda t: t[0]))