mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-05 23:48:31 -04:00
19 lines
515 B
Python
19 lines
515 B
Python
from LogAnalyzer import Test,TestResult
|
|
import DataflashLog
|
|
|
|
|
|
class TestBalanceTwist(Test):
|
|
'''test for badly unbalanced copter, including yaw twist'''
|
|
|
|
def __init__(self):
|
|
self.name = "Balance/Twist"
|
|
self.enable = False # TEMP
|
|
|
|
def run(self, logdata, verbose):
|
|
self.result = TestResult()
|
|
self.result.status = TestResult.StatusType.PASS
|
|
|
|
if logdata.vehicleType != "ArduCopter":
|
|
self.result.status = TestResult.StatusType.NA
|
|
|
|
# TODO: implement copter test for unbalanced or twisted copter frame |