File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -137,9 +137,9 @@ public void testPeriodic() {
137
137
SmartDashboard .putNumber ("Testing Flywheel RPM" , current_RPM );
138
138
139
139
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 ();
143
143
SmartDashboard .putNumber ("Wrist Value" , wrist .getSensorCollection ().getIntegratedSensorAbsolutePosition ());
144
144
}
145
145
You can’t perform that action at this time.
0 commit comments