mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-07-14 01:30:34 +08:00
PosititionControl: fix integrator windup with invalid setpoint
This commit is contained in:
@@ -179,7 +179,7 @@ public:
|
||||
void getAttitudeSetpoint(vehicle_attitude_setpoint_s &attitude_setpoint) const;
|
||||
|
||||
private:
|
||||
bool _updateSuccessful();
|
||||
bool _inputValid();
|
||||
|
||||
void _positionControl(); ///< Position proportional control
|
||||
void _velocityControl(const float dt); ///< Velocity PID control
|
||||
|
||||
Reference in New Issue
Block a user