Skip to content
Snippets Groups Projects
Commit f21ab05f authored by Beat Küng's avatar Beat Küng Committed by Roman Bapst
Browse files

mixer_multirotor: fix comment thrust_gain -> thrust_scale

Added in 262d9c79.
parent 0d969334
No related branches found
No related tags found
No related merge requests found
......@@ -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) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment