mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-11-27 10:00:25 +08:00
fix(mc_autotune): unregister torque setpoint callback on autotune stop
(cherry picked from commit 749cce11d4)
This commit is contained in:
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()
|
||||
|
||||
Reference in new issue
Block a user