2015-07-14 20:37:52 -07:00
|
|
|
/*----------------------------------------------------------------------------*/
|
2018-01-02 09:20:21 -08:00
|
|
|
/* Copyright (c) 2008-2018 FIRST. All Rights Reserved. */
|
2015-07-14 20:37:52 -07:00
|
|
|
/* Open Source Software - may be modified and shared by FRC teams. The code */
|
2016-01-02 03:02:34 -08:00
|
|
|
/* must be accompanied by the FIRST BSD license file in the root directory of */
|
|
|
|
|
/* the 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;
|
|
|
|
|
}
|
|
|
|
|
|
2016-05-20 17:30:37 -07:00
|
|
|
PIDSourceType PIDSource::GetPIDSourceType() const { return m_pidSource; }
|