mirror of https://github.com/ArduPilot/ardupilot
PID: Remove unused method get_pid_4500
This commit is contained in:
parent
19713200e5
commit
51bf638ad3
|
@ -111,12 +111,6 @@ float PID::get_pid(float error, float scaler)
|
|||
return output;
|
||||
}
|
||||
|
||||
int16_t PID::get_pid_4500(float error, float scaler)
|
||||
{
|
||||
float v = get_pid(error, scaler);
|
||||
return constrain_float(v, -4500, 4500);
|
||||
}
|
||||
|
||||
void
|
||||
PID::reset_I()
|
||||
{
|
||||
|
|
|
@ -41,9 +41,6 @@ public:
|
|||
///
|
||||
float get_pid(float error, float scaler = 1.0);
|
||||
|
||||
// get_pid() constrained to +/- 4500
|
||||
int16_t get_pid_4500(float error, float scaler = 1.0);
|
||||
|
||||
/// Reset the PID integrator
|
||||
///
|
||||
void reset_I();
|
||||
|
|
Loading…
Reference in New Issue