Modifier and Type | Method and Description |
---|---|
double |
getAngleInDegrees() |
double |
getOutputCurrent()
Returns the output current
|
boolean |
isForwardLimitPressed()
Sets the SensorCollection encoder value to encoderValue (use this to reset the encoder when at a known position
|
boolean |
isReverseLmitPressed() |
void |
setClimbingCurrentLimit()
Sets the current limit for when the robot begins to climb
|
void |
setCurrentControl(int current)
Sets the elbow to Current-based PID Control
|
void |
setMotionMagicSetpointAngle(double elbowSetpointAngle) |
void |
setNormalCurrentLimit()
Resets the currnet limit to its normal value
|
void |
setOutput(double output)
Sets the output for the elbow motor
|
void |
setQuadratureEncoder(double encoderValue)
Sets the SensorCollection encoder value to encoderValue (use this to reset the encoder when at a known position)
|
void setMotionMagicSetpointAngle(double elbowSetpointAngle)
double getAngleInDegrees()
void setOutput(double output)
output
- the desired outputdouble getOutputCurrent()
void setClimbingCurrentLimit()
void setNormalCurrentLimit()
boolean isForwardLimitPressed()
boolean isReverseLmitPressed()
void setQuadratureEncoder(double encoderValue)
void setCurrentControl(int current)
current
- The current to control to. Positive means it will move forward, negative will move reverse.