Interface IRampRateController
-
- All Known Implementing Classes:
MixedMotorCollection
,SparkCollection
,TalonSRXCollection
,VictorSPXCollection
public interface IRampRateController
A common interface for devices with configurable output ramp rates
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
enableRampRateLimiting(boolean enabled)
Set if ramp rate limiting should be enabled for the controllerdouble
getRampRate()
Get the configured ramp ratevoid
setRampRate(double secondsToFull)
Set the controller ramp rate.
-
-
-
Method Detail
-
setRampRate
void setRampRate(double secondsToFull)
Set the controller ramp rate.- Parameters:
secondsToFull
- Minimum desired time to go from neutral to full output.
-
getRampRate
double getRampRate()
Get the configured ramp rate- Returns:
- Configured rate in seconds
-
enableRampRateLimiting
void enableRampRateLimiting(boolean enabled)
Set if ramp rate limiting should be enabled for the controller- Parameters:
enabled
- Should enable limiting?
-
-