Now you can download a copy of these docs so you can use them offline!
Download now
#include <SpeedController.h>
|
virtual void | Set (float speed, uint8_t syncGroup=0)=0 |
|
virtual float | Get ()=0 |
|
virtual void | Disable ()=0 |
|
virtual void | PIDWrite (float output)=0 |
|
Interface for speed controlling devices.
Definition at line 16 of file SpeedController.h.
virtual void SpeedController::Disable |
( |
| ) |
|
|
pure virtual |
virtual float SpeedController::Get |
( |
| ) |
|
|
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 CANJaguar, Jaguar, Talon, and Victor.
virtual void SpeedController::Set |
( |
float |
speed, |
|
|
uint8_t |
syncGroup = 0 |
|
) |
| |
|
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. |
syncGroup | The update group to add this Set() to, pending UpdateSyncGroup(). If 0, update immediately. |
Implemented in CANJaguar, Jaguar, Talon, and Victor.
The documentation for this class was generated from the following file: