Remove SynchronousPID class (#1429)

PR #1300 supersedes it, but won't be merged until the 2020 season. Since
SynchronousPID hasn't been used during a season, it would be best to
just remove it to avoid breakage when we deprecate and remove it again.
This commit is contained in:
Tyler Veness
2018-11-15 19:25:31 -08:00
committed by Peter Johnson
parent 55493b0c18
commit 63775362fe
3 changed files with 0 additions and 147 deletions

View File

@@ -1,22 +0,0 @@
/*----------------------------------------------------------------------------*/
/* Copyright (c) 2018 FIRST. All Rights Reserved. */
/* Open Source Software - may be modified and shared by FRC teams. The code */
/* must be accompanied by the FIRST BSD license file in the root directory of */
/* the project. */
/*----------------------------------------------------------------------------*/
#include "frc/SynchronousPID.h"
using namespace frc;
SynchronousPID::SynchronousPID(double Kp, double Ki, double Kd,
PIDSource& source, PIDOutput& output)
: SynchronousPID(Kp, Ki, Kd, 0.0, source, output) {}
SynchronousPID::SynchronousPID(double Kp, double Ki, double Kd, double Kf,
PIDSource& source, PIDOutput& output)
: PIDBase(Kp, Ki, Kd, Kf, source, output) {
m_enabled = true;
}
void SynchronousPID::Calculate() { PIDBase::Calculate(); }