Fixed the thingie
This commit is contained in:
parent
ff6f0e9bcc
commit
07b7d86b5b
|
|
@ -46,8 +46,8 @@ public class TurretSubsystem extends TestableSubsystem {
|
||||||
hood = new Servo(Constants.ShooterConstants.HOOD_CHANNEL);
|
hood = new Servo(Constants.ShooterConstants.HOOD_CHANNEL);
|
||||||
hoodEncoder = new CANcoder(Constants.ShooterConstants.HOOD_ENCODER_ID);
|
hoodEncoder = new CANcoder(Constants.ShooterConstants.HOOD_ENCODER_ID);
|
||||||
currentState = TurretState.INIT;
|
currentState = TurretState.INIT;
|
||||||
limitNeg = Constants.ShooterConstants.LIMIT_NEG;
|
limitNeg = Constants.ShooterConstants.LIMIT_AXIMUTH_NEG;
|
||||||
limitPos = Constants.ShooterConstants.LIMIT_POS;
|
limitPos = Constants.ShooterConstants.LIMIT_AXIMUTH_POS;
|
||||||
turretGoingPos = false;
|
turretGoingPos = false;
|
||||||
targElev = edu.wpi.first.units.Units.Degrees.of(45);
|
targElev = edu.wpi.first.units.Units.Degrees.of(45);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue