|
|
|
@ -82,7 +82,7 @@ void Sub::motordetect_run()
@@ -82,7 +82,7 @@ void Sub::motordetect_run()
|
|
|
|
|
// Force all motors to stop
|
|
|
|
|
for (uint8_t i=0; i <AP_MOTORS_MAX_NUM_MOTORS; i++) { |
|
|
|
|
if (motors.motor_is_enabled(i)) { |
|
|
|
|
!motors.output_test_num(i, 1500); |
|
|
|
|
motors.output_test_num(i, 1500); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
// wait until gyro product is under a certain(experimental) threshold
|
|
|
|
|