Skip to content

Commit 6cd29fd

Browse files
cleaned up the unessesary motors being used
Co-Authored-By: Justinpham17386769 <244249272+Justinpham17386769@users.noreply.github.com>
1 parent 1ea4364 commit 6cd29fd

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

src/main/java/frc/robot/commands/states/Shooting.java

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,6 @@
44

55
package frc.robot.commands.states;
66

7-
import java.lang.Thread.State;
8-
9-
import edu.wpi.first.wpilibj.RobotController;
107
import edu.wpi.first.wpilibj2.command.Command;
118
import frc.robot.RobotContainer;
129
import frc.robot.constants.ConstMotion;
@@ -30,10 +27,9 @@ public void initialize() {
3027
// Called every time the scheduler runs while the command is scheduled.
3128
@Override
3229
public void execute() {
33-
RobotContainer.rotorsInstance.isFlyWheelAtSpeed(ConstRotors.FLYWHEEL_TOLERANCE);
3430
RobotContainer.rotorsInstance.setTransferRollersSpeeds(ConstRotors.INTAKE_TRANSFER_SPEED);
3531
RobotContainer.rotorsInstance.setSerializerRollersPercentOutput(ConstRotors.SERIALIZER_SHOOTING_SPEED);
36-
RobotContainer.rotorsInstance.setFlywheelSpeeds(ConstRotors.FLYWHEEL_SHOOTING_SPEED);
32+
3733
}
3834

3935
// Called once the command ends or is interrupted.

0 commit comments

Comments
 (0)