mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-19 23:28:32 -04:00
36e480483f
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,
18 lines
506 B
Python
18 lines
506 B
Python
from LogAnalyzer import Test,TestResult
|
|
import DataflashLog
|
|
|
|
|
|
class TestPitchRollCoupling(Test):
|
|
'''test for divergence between input and output pitch/roll, i.e. mechanical failure or bad PID tuning'''
|
|
|
|
def __init__(self):
|
|
self.name = "Pitch/Roll"
|
|
|
|
def run(self, logdata):
|
|
self.result = TestResult()
|
|
self.result.status = TestResult.StatusType.PASS
|
|
|
|
# TODO: implement pitch/roll input/output divergence testing -
|
|
|
|
# note: names changed from PitchIn to DesPitch at some point, check for both
|
|
|