mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-07-01 16:00:34 +08:00
FlightModeManager: fix integral reset on ground
This information could also be used for yaw and integral resets of the lower level controllers.
This commit is contained in:
committed by
Daniel Agar
parent
7de288877a
commit
fafbb687d8
@@ -454,7 +454,7 @@ void FlightModeManager::generateTrajectorySetpoint(const float dt,
|
||||
// set yaw-sp to current yaw
|
||||
setpoint.yawspeed = 0.f;
|
||||
// prevent any integrator windup
|
||||
// _control.resetIntegral(); TODO
|
||||
constraints.reset_integral = true;
|
||||
}
|
||||
|
||||
_trajectory_setpoint_pub.publish(setpoint);
|
||||
|
||||
Reference in New Issue
Block a user