SpeedController Class Reference
#include <SpeedController.h>
List of all members.
|
Public Member Functions |
virtual void | Set (float speed)=0 |
virtual float | Get (void)=0 |
Detailed Description
Pure virtual base class for speed controlling devices.
Member Function Documentation
virtual void SpeedController::Set |
( |
float |
speed |
) |
[pure virtual] |
Common interface for setting the speed of a speed controller.
- Parameters:
-
| speed | The speed to set. Value should be between -1.0 and 1.0. |
Implemented in Jaguar, and Victor.
virtual float SpeedController::Get |
( |
void |
|
) |
[pure virtual] |
Common interface for getting the current set speed of a speed controller.
- Returns:
- The current set speed. Value is between -1.0 and 1.0.
Implemented in Jaguar, and Victor.
The documentation for this class was generated from the following file:
- C:/WindRiver/workspace/WPILib/SpeedController.h