Skip to content

Commit 84db255

Browse files
authored
Merge pull request #113 from strykeforce/rabsamu/log-cleanup
Remove print statements and unused command
2 parents 1406734 + 784d79b commit 84db255

File tree

3 files changed

+2
-6
lines changed

3 files changed

+2
-6
lines changed

src/main/java/frc/robot/commands/magazine/MagazineSmartFeedCommand.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ public void execute() {
3939
if (!isMoving()) {
4040
state = FeedStates.START_MAG;
4141
logger.info("Turret Done Moving - Starting Smart Feed again");
42-
} else System.out.println("MOVING!!!!");
42+
} else logger.info("MOVING!!!!");
4343
break;
4444
case START_MAG:
4545
MAGAZINE.runSpeed(Constants.MagazineConstants.kClosedLoopShoot);
@@ -52,7 +52,6 @@ public void execute() {
5252
> Constants.MagazineConstants.kArmTimeToShooterOn) {
5353
state = FeedStates.START_INTAKE;
5454
}
55-
System.out.println("Waiting");
5655
break;
5756
case START_INTAKE:
5857
INTAKE.runBoth(kIntakeShootSpeed, kSquidShootSpeed);

src/main/java/frc/robot/commands/shooter/ArmShooterCommand.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,6 @@ public boolean isFinished() {
3131
@Override
3232
public void end(boolean interrupted) {
3333
SHOOTER.setArmedState(true);
34-
System.out.println("Armed!!!");
34+
logger.info("Armed!!!");
3535
}
3636
}

src/main/java/frc/robot/controls/GameControls.java

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -95,9 +95,6 @@ public boolean get() {
9595
new JoystickButton(controller, Button.kB.value)
9696
.whenReleased(new StopIntakeAndMagazineCommandGroup());
9797

98-
// Vision Commands
99-
new JoystickButton(controller, Button.kBack.value).whenPressed(new GalacticSearchCmdGroup());
100-
10198
// Climb Commands
10299
new JoystickButton(controller, Button.kStart.value)
103100
.whenPressed(new ClimberUpCmdGroup(Constants.ClimberConstants.kFastUpOutput));

0 commit comments

Comments
 (0)