Browse Source

mixer_multirotor: fix comment thrust_gain -> thrust_scale

Added in 262d9c790b.
sbg
Beat Küng 7 years ago committed by Roman Bapst
parent
commit
f21ab05f48
  1. 4
      src/lib/mixer/mixer_multirotor.cpp

4
src/lib/mixer/mixer_multirotor.cpp

@ -207,8 +207,8 @@ MultirotorMixer::mix(float *outputs, unsigned space) @@ -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) {

Loading…
Cancel
Save