blob: 167a7a2ed96bbc649c81f7b6bb711cba35fee104 [file] [log] [blame]
Brian Silvermanf7f267a2017-02-04 16:16:08 -08001/*----------------------------------------------------------------------------*/
2/* Copyright (c) FIRST 2008-2017. All Rights Reserved. */
3/* Open Source Software - may be modified and shared by FRC teams. The code */
4/* must be accompanied by the FIRST BSD license file in the root directory of */
5/* the project. */
6/*----------------------------------------------------------------------------*/
7
8#include "PIDSource.h"
9
10using namespace frc;
11
12/**
13 * Set which parameter you are using as a process control variable.
14 *
15 * @param pidSource An enum to select the parameter.
16 */
17void PIDSource::SetPIDSourceType(PIDSourceType pidSource) {
18 m_pidSource = pidSource;
19}
20
21PIDSourceType PIDSource::GetPIDSourceType() const { return m_pidSource; }