|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SpeedController
Interface for speed controlling devices.
Method Summary | |
---|---|
void |
disable()
Disable the speed controller |
double |
get()
Common interface for getting the current set speed of a speed controller. |
void |
set(double speed)
Common interface for setting the speed of a speed controller. |
void |
set(double speed,
byte syncGroup)
Common interface for setting the speed of a speed controller. |
Methods inherited from interface edu.wpi.first.wpilibj.PIDOutput |
---|
pidWrite |
Method Detail |
---|
double get()
void set(double speed, byte syncGroup)
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.void set(double speed)
speed
- The speed to set. Value should be between -1.0 and 1.0.void disable()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |