diff --git a/src/main/java/frc/robot/subsystems/Intake.java b/src/main/java/frc/robot/subsystems/Intake.java index 5c3f611..8f00c90 100644 --- a/src/main/java/frc/robot/subsystems/Intake.java +++ b/src/main/java/frc/robot/subsystems/Intake.java @@ -64,7 +64,7 @@ public Intake() { pivotMotor = new CANSparkMax(RobotMap.INTAKE_PIVOT, MotorType.kBrushless); pivotMotor.setIdleMode(IdleMode.kBrake); pivotMotor.setInverted(true); - pivotMotor.setPeriodicFramePeriod(PeriodicFrame.kStatus5, 100); + pivotMotor.setPeriodicFramePeriod(PeriodicFrame.kStatus5, 10); pivotEncoder = pivotMotor.getAbsoluteEncoder(SparkAbsoluteEncoder.Type.kDutyCycle); pivotEncoder.setZeroOffset(0.206289); diff --git a/src/main/java/frc/robot/subsystems/Shooter.java b/src/main/java/frc/robot/subsystems/Shooter.java index f064c58..9b89f2b 100644 --- a/src/main/java/frc/robot/subsystems/Shooter.java +++ b/src/main/java/frc/robot/subsystems/Shooter.java @@ -92,7 +92,7 @@ public Shooter() { pivotMotor = new CANSparkMax(RobotMap.SHOOTER_PIVOT, MotorType.kBrushless); pivotMotor.setIdleMode(IdleMode.kBrake); - pivotMotor.setPeriodicFramePeriod(PeriodicFrame.kStatus5, 100); + pivotMotor.setPeriodicFramePeriod(PeriodicFrame.kStatus5, 10); indexMotor = new CANSparkMax(RobotMap.INDEXER, MotorType.kBrushless); indexMotor.setIdleMode(IdleMode.kBrake);