AP_MotorsQuad: call normalise_rpy_factors in motor setup

This commit is contained in:
Leonard Hall 2016-02-04 20:49:05 +09:00 committed by Randy Mackay
parent 7ac4fc5569
commit 13ab3ecfea
1 changed files with 3 additions and 0 deletions

View File

@ -101,4 +101,7 @@ void AP_MotorsQuad::setup_motors()
add_motor(AP_MOTORS_MOT_3, -45, AP_MOTORS_MATRIX_YAW_FACTOR_CW, 4);
add_motor(AP_MOTORS_MOT_4, 135, AP_MOTORS_MATRIX_YAW_FACTOR_CW, 2);
}
// normalise factors to magnitude 0.5
normalise_rpy_factors();
}