public abstract class BaseWrist extends RotatingSubsystem implements WristInterface
Constructor and Description |
---|
BaseWrist(TalonSRX rotatorTalon,
double arbitrary_feedforward_constant,
int forward_soft_limit,
int reverse_soft_limit,
boolean timeout,
int QUAD_ENCODER_MIN,
int QUAD_ENCODER_MAX,
int CONTINUOUS_CURRENT_LIMIT,
int PEAK_CURRENT_LIMIT,
int offsetFromEncoderZero) |
Modifier and Type | Method and Description |
---|---|
abstract double |
getForwardSoftLimitAngle() |
abstract double |
getReverseSoftLimitAngle() |
void |
initDefaultCommand() |
clearSetpoint, enableBrakeMode, enableCoastMode, getAngleInDegrees, getMotionMagicSetpoint, getTimeout, moveByPercentOutput, setMotionMagicSetpointAngle, stop, updateArbitraryFeedForward
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
disableCurrentLimit, enableCurrentLimit, getAngleInDegrees, isForwardLimitPressed, isReverseLimitPressed, setOutput, setQuadratureEncoder
public BaseWrist(TalonSRX rotatorTalon, double arbitrary_feedforward_constant, int forward_soft_limit, int reverse_soft_limit, boolean timeout, int QUAD_ENCODER_MIN, int QUAD_ENCODER_MAX, int CONTINUOUS_CURRENT_LIMIT, int PEAK_CURRENT_LIMIT, int offsetFromEncoderZero)
public abstract double getForwardSoftLimitAngle()
public abstract double getReverseSoftLimitAngle()
public void initDefaultCommand()
initDefaultCommand
in interface WristInterface