mirror of
https://github.com/iNavFlight/inav.git
synced 2025-07-23 16:25:26 +03:00
Remove PID iterm constrain for NAV PID controller
This commit is contained in:
parent
0cb3ce4ede
commit
d7fa48b2e6
3 changed files with 2 additions and 7 deletions
|
@ -1235,7 +1235,7 @@ groups:
|
|||
min: 0
|
||||
max: 255
|
||||
- name: nav_fw_pos_hdg_pidsum_limit
|
||||
field: pidSumLimitYaw
|
||||
field: navFwPosHdgPidsumLimit
|
||||
min: PID_SUM_LIMIT_MIN
|
||||
max: PID_SUM_LIMIT_MAX
|
||||
- name: mc_iterm_relax_type
|
||||
|
|
|
@ -150,7 +150,7 @@ typedef struct pidProfile_s {
|
|||
float antigravityAccelerator;
|
||||
uint8_t antigravityCutoff;
|
||||
|
||||
int navFwPosHdgPidsumLimit;
|
||||
uint16_t navFwPosHdgPidsumLimit;
|
||||
} pidProfile_t;
|
||||
|
||||
typedef struct pidAutotuneConfig_s {
|
||||
|
|
|
@ -1863,11 +1863,6 @@ float navPidApply3(pidController_t *pid, const float setpoint, const float measu
|
|||
}
|
||||
}
|
||||
|
||||
/*
|
||||
* Limit both output and Iterm to limit windup
|
||||
*/
|
||||
pid->integrator = constrain(pid->integrator, outMin, outMax);
|
||||
|
||||
return outValConstrained;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue