PID: Remove unused method get_pid_4500

This commit is contained in:
Fernandes Pinheiro, Daker 2016-07-05 17:04:57 -03:00 committed by Randy Mackay
parent 19713200e5
commit 51bf638ad3
2 changed files with 0 additions and 9 deletions

View File

@ -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()
{

View File

@ -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();