mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-20 00:51:42 +00:00
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:
committed by
Peter Johnson
parent
55493b0c18
commit
63775362fe
@@ -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(); }
|
||||
Reference in New Issue
Block a user