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.
This commit is contained in:
cclauss 2017-09-29 07:21:28 +02:00 committed by Peter Barker
parent d7638389ce
commit c6aaa12e94
5 changed files with 9 additions and 5 deletions

View File

@ -1,5 +1,6 @@
from LogAnalyzer import Test,TestResult from LogAnalyzer import Test, TestResult
import DataflashLog import DataflashLog
from VehicleType import VehicleType
# from ArduCopter/defines.h # from ArduCopter/defines.h
AUTOTUNE_INITIALISED = 30 AUTOTUNE_INITIALISED = 30

View File

@ -1,8 +1,8 @@
from __future__ import print_function from __future__ import print_function
from LogAnalyzer import Test,TestResult from LogAnalyzer import Test, TestResult
import DataflashLog import DataflashLog
from VehicleType import VehicleType
class TestPerformance(Test): class TestPerformance(Test):
'''check performance monitoring messages (PM) for issues with slow loops, etc''' '''check performance monitoring messages (PM) for issues with slow loops, etc'''

View File

@ -1,5 +1,6 @@
from LogAnalyzer import Test,TestResult from LogAnalyzer import Test,TestResult
import DataflashLog import DataflashLog
from VehicleType import VehicleType
import collections import collections

View File

@ -1,7 +1,8 @@
from __future__ import print_function from __future__ import print_function
from LogAnalyzer import Test,TestResult from LogAnalyzer import Test, TestResult
import DataflashLog import DataflashLog
from VehicleType import VehicleType
class TestThrust(Test): class TestThrust(Test):

View File

@ -1,7 +1,8 @@
from __future__ import print_function from __future__ import print_function
from LogAnalyzer import Test,TestResult from LogAnalyzer import Test, TestResult
import DataflashLog import DataflashLog
from VehicleType import VehicleType
import numpy import numpy