AP_MotorsOctaQuad: call normalise_rpy_factors in motor setup

This commit is contained in:
Leonard Hall 2016-02-04 20:48:46 +09:00 committed by Randy Mackay
parent e182c10625
commit 7ac4fc5569

View File

@ -70,4 +70,7 @@ void AP_MotorsOctaQuad::setup_motors()
add_motor(AP_MOTORS_MOT_7, 135, AP_MOTORS_MATRIX_YAW_FACTOR_CCW, 4);
add_motor(AP_MOTORS_MOT_8, -135, AP_MOTORS_MATRIX_YAW_FACTOR_CW, 6);
}
// normalise factors to magnitude 0.5
normalise_rpy_factors();
}