AP_MotorsOcta: call noramlise_rpy_factors in motor setup

This commit is contained in:
Leonard Hall 2016-02-04 20:47:37 +09:00 committed by Randy Mackay
parent 733b89cf3c
commit e182c10625

View File

@ -62,4 +62,7 @@ void AP_MotorsOcta::setup_motors()
add_motor(AP_MOTORS_MOT_7, -67.5f, AP_MOTORS_MATRIX_YAW_FACTOR_CW, 7);
add_motor(AP_MOTORS_MOT_8, 112.5f, AP_MOTORS_MATRIX_YAW_FACTOR_CW, 3);
}
// normalise factors to magnitude 0.5
normalise_rpy_factors();
}