WPILib 2012
WPILibRoboticsLibraryforFRC
SpeedController.h
00001 /*----------------------------------------------------------------------------*/
00002 /* Copyright (c) FIRST 2008. All Rights Reserved.                                                         */
00003 /* Open Source Software - may be modified and shared by FRC teams. The code   */
00004 /* must be accompanied by the FIRST BSD license file in $(WIND_BASE)/WPILib.  */
00005 /*----------------------------------------------------------------------------*/
00006 
00007 #ifndef SPEED_CONTROLLER_H
00008 #define SPEED_CONTROLLER_H
00009 
00010 #include <vxWorks.h>
00011 
00015 class SpeedController
00016 {
00017 public:
00018         virtual ~SpeedController() {};
00025         virtual void Set(float speed, UINT8 syncGroup=0) = 0;
00031         virtual float Get() = 0;
00035         virtual void Disable() = 0;
00036 };
00037 
00038 #endif
00039 
 All Classes Functions Variables