public interface ExtensionInterface
Modifier and Type | Method and Description |
---|---|
void |
disableCurrentLimit() |
void |
enableCurrentLimit() |
void |
enableExtensionPIDController()
Enables the PID Controller for extension
|
double |
getLengthInches()
Gets the current Extension length in absolute ticks with 0 at no extension.
|
int |
getLengthTicks() |
void |
initDefaultCommand() |
boolean |
isForwardLimitPressed() |
boolean |
isReverseLimitPressed() |
void |
setCurrentLimit(int current)
Sets the peak current limit for the elbow motor.
|
void |
setMotionMagicSetpointInInches(double extensionSetpointInInches)
Setup for movement and Motion Magic
|
void |
setOutput(double output) |
void |
setPIDControllerSetpointInInches(double setpointInInches)
Modifies the setpoint for the PID Controller
|
void |
setQuadratureEncoder(double encoderValue)
Sets the SensorCollection encoder value to encoderValue (use this to reset the encoder when at a known position)
|
void setCurrentLimit(int current)
current
- Current in ampsvoid enableCurrentLimit()
void disableCurrentLimit()
void setOutput(double output)
double getLengthInches()
void enableExtensionPIDController()
void setPIDControllerSetpointInInches(double setpointInInches)
void initDefaultCommand()
boolean isReverseLimitPressed()
int getLengthTicks()
boolean isForwardLimitPressed()
void setQuadratureEncoder(double encoderValue)
void setMotionMagicSetpointInInches(double extensionSetpointInInches)