Browse Source

LogAnalyzer: TestPitchRollCoupling add mode ""

- "" is a valid alias for AUTOTUNE
master
Markus Koetter 11 years ago committed by Craig Elder
parent
commit
6ce0dbf3b3
  1. 2
      Tools/LogAnalyzer/tests/TestPitchRollCoupling.py

2
Tools/LogAnalyzer/tests/TestPitchRollCoupling.py

@ -28,7 +28,7 @@ class TestPitchRollCoupling(Test): @@ -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]))

Loading…
Cancel
Save