Skip to content

Commit 56b603d

Browse files
committed
Update Robot.java
1 parent 44e832b commit 56b603d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/main/java/frc/robot/Robot.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -137,9 +137,9 @@ public void testPeriodic() {
137137
SmartDashboard.putNumber("Testing Flywheel RPM", current_RPM);
138138

139139

140-
// PIDController FlywheelPIDController = new PIDController(RobotInformation.PID_Values.flywheel.kP, RobotInformation.PID_Values.flywheel.kI, RobotInformation.PID_Values.flywheel.kD);
141-
// FlywheelPIDController.calculate(shooterFly.getSensorCollection().getIntegratedSensorAbsolutePosition());
142-
// FlywheelPIDController.close();
140+
PIDController FlywheelPIDController = new PIDController(RobotInformation.PID_Values.flywheel.kP, RobotInformation.PID_Values.flywheel.kI, RobotInformation.PID_Values.flywheel.kD);
141+
FlywheelPIDController.calculate(shooterFly.getSensorCollection().getIntegratedSensorVelocity());
142+
FlywheelPIDController.close();
143143
SmartDashboard.putNumber("Wrist Value", wrist.getSensorCollection().getIntegratedSensorAbsolutePosition());
144144
}
145145

0 commit comments

Comments
 (0)