2020-12-26 14:12:05 -08:00
|
|
|
// Copyright (c) FIRST and other WPILib contributors.
|
|
|
|
|
// Open Source Software; you can modify and/or share it under the terms of
|
|
|
|
|
// the WPILib BSD license file in the root directory of this project.
|
2015-07-14 20:37:52 -07:00
|
|
|
|
2018-07-20 00:03:45 -07:00
|
|
|
#include "frc/PIDSource.h"
|
2015-07-14 20:37:52 -07:00
|
|
|
|
2016-11-01 22:33:12 -07:00
|
|
|
using namespace frc;
|
|
|
|
|
|
2015-07-14 20:37:52 -07:00
|
|
|
void PIDSource::SetPIDSourceType(PIDSourceType pidSource) {
|
|
|
|
|
m_pidSource = pidSource;
|
|
|
|
|
}
|
|
|
|
|
|
2020-12-28 12:58:06 -08:00
|
|
|
PIDSourceType PIDSource::GetPIDSourceType() const {
|
|
|
|
|
return m_pidSource;
|
|
|
|
|
}
|