|
|
@ -4811,22 +4811,10 @@ class AutoTestCopter(AutoTest): |
|
|
|
"Test onboard compass calibration", |
|
|
|
"Test onboard compass calibration", |
|
|
|
self.test_onboard_compass_calibration), |
|
|
|
self.test_onboard_compass_calibration), |
|
|
|
|
|
|
|
|
|
|
|
("DynamicNotches", |
|
|
|
|
|
|
|
"Fly Dynamic Notches", |
|
|
|
|
|
|
|
self.fly_dynamic_notches), |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
("GyroFFT", |
|
|
|
|
|
|
|
"Fly Gyro FFT", |
|
|
|
|
|
|
|
self.fly_gyro_fft), |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
("RangeFinderDrivers", |
|
|
|
("RangeFinderDrivers", |
|
|
|
"Test rangefinder drivers", |
|
|
|
"Test rangefinder drivers", |
|
|
|
self.fly_rangefinder_drivers), |
|
|
|
self.fly_rangefinder_drivers), |
|
|
|
|
|
|
|
|
|
|
|
("MotorVibration", |
|
|
|
|
|
|
|
"Fly motor vibration test", |
|
|
|
|
|
|
|
self.fly_motor_vibration), |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
("ParameterValidation", |
|
|
|
("ParameterValidation", |
|
|
|
"Test parameters are checked for validity", |
|
|
|
"Test parameters are checked for validity", |
|
|
|
self.test_parameter_validation), |
|
|
|
self.test_parameter_validation), |
|
|
@ -5062,3 +5050,31 @@ class AutoTestHeli(AutoTestCopter): |
|
|
|
upload_logs=len(self.fail_list) > 0)) |
|
|
|
upload_logs=len(self.fail_list) > 0)) |
|
|
|
]) |
|
|
|
]) |
|
|
|
return ret |
|
|
|
return ret |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
class AutoTestCopterExtra(AutoTestCopter): |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
def log_name(self): |
|
|
|
|
|
|
|
return "ArduCopter" |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
def tests(self): |
|
|
|
|
|
|
|
'''return list of all tests''' |
|
|
|
|
|
|
|
ret = ([ |
|
|
|
|
|
|
|
("MotorVibration", |
|
|
|
|
|
|
|
"Fly motor vibration test", |
|
|
|
|
|
|
|
self.fly_motor_vibration), |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
("DynamicNotches", |
|
|
|
|
|
|
|
"Fly Dynamic Notches", |
|
|
|
|
|
|
|
self.fly_dynamic_notches), |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
("GyroFFT", |
|
|
|
|
|
|
|
"Fly Gyro FFT", |
|
|
|
|
|
|
|
self.fly_gyro_fft), |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
("LogDownLoad", |
|
|
|
|
|
|
|
"Log download", |
|
|
|
|
|
|
|
lambda: self.log_download( |
|
|
|
|
|
|
|
self.buildlogs_path("ArduCopter-log.bin"), |
|
|
|
|
|
|
|
upload_logs=len(self.fail_list) > 0)) |
|
|
|
|
|
|
|
]) |
|
|
|
|
|
|
|
return ret |
|
|
|