fix(mc_autotune): unregister torque setpoint callback on autotune stop

(cherry picked from commit 749cce11d4)
This commit is contained in:
Claudio Chies authored and Ramon Roche committed 2026-08-08 17:32:32 -07:00
1 parent 8871b5d5af
commit 9a81b02afa
1 file changed
-1
@@ -598,7 +598,6 @@ void McAutotuneAttitudeControl::saveGainsToParams()
void McAutotuneAttitudeControl::stopAutotune()
{
_vehicle_cmd_start_autotune = false;
_vehicle_torque_setpoint_sub.unregisterCallback();
}
const Vector3f McAutotuneAttitudeControl::getIdentificationSignal()