mixer_multirotor: fix comment thrust_gain -> thrust_scale

Added in 262d9c790bf0d3cd652.
This commit is contained in:
Beat Küng 2018-02-19 15:03:56 +01:00 committed by Roman Bapst
parent 0d9693347f
commit f21ab05f48

View File

@ -207,8 +207,8 @@ MultirotorMixer::mix(float *outputs, unsigned space)
// Otherwise, a scaler is computed to make the distance between the two extrema exacly 1.0 and the boost
// value is computed to maximize the roll-pitch control.
//
// Note: thrust boost is computed assuming thrust_gain==1 for all motors.
// On asymmetric platforms, some motors have thrust_gain<1,
// Note: thrust boost is computed assuming thrust_scale==1 for all motors.
// On asymmetric platforms, some motors have thrust_scale<1,
// which may result in motor saturation after thrust boost is applied
// TODO: revise the saturation/boosting strategy
if (delta_out_max <= 1.0f) {