WPILib  2014.0
WPIRoboticsLibraryforFRC
 All Classes Functions Variables Pages
PIDSource.h
1 /*----------------------------------------------------------------------------*/
2 /* Copyright (c) FIRST 2008. 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 $(WIND_BASE)/WPILib. */
5 /*----------------------------------------------------------------------------*/
6 
7 #ifndef PID_SOURCE_H
8 #define PID_SOURCE_H
9 
15 class PIDSource
16 {
17 public:
18  typedef enum {kDistance, kRate, kAngle} PIDSourceParameter;
19  virtual double PIDGet() = 0;
20 };
21 
22 #endif
Definition: PIDSource.h:15