ControlAllocator: fix confusion between thrust and torque

This commit is contained in:
Balduin
2026-01-26 11:51:21 +01:00
parent be95f00643
commit 361770cbe8
@@ -433,7 +433,7 @@ ControlAllocator::Run()
}
if (_vehicle_thrust_setpoint1_sub.copy(&vehicle_thrust_setpoint)) {
const Vector3f thrust_sp = battery_scale_torque_setpoint(vehicle_torque_setpoint, _battery_scaling_modes[1], _battery_scale);
const Vector3f thrust_sp = battery_scale_thrust_setpoint(vehicle_thrust_setpoint, _battery_scaling_modes[1], _battery_scale);
c[1](3) = thrust_sp(0);
c[1](4) = thrust_sp(1);
c[1](5) = thrust_sp(2);