WPILib  2014.0
WPIRoboticsLibraryforFRC
 All Classes Functions Variables Pages
Public Types | Public Member Functions | List of all members
PIDSource Class Referenceabstract

#include <PIDSource.h>

Inheritance diagram for PIDSource:
Accelerometer AnalogChannel Encoder Gyro Ultrasonic

Public Types

enum  PIDSourceParameter { kDistance, kRate, kAngle }
 

Public Member Functions

virtual double PIDGet ()=0
 

Detailed Description

PIDSource interface is a generic sensor source for the PID class. All sensors that can be used with the PID class will implement the PIDSource that returns a standard value that will be used in the PID code.


The documentation for this class was generated from the following file: