Skip to content

Commit d89f10c

Browse files
committed
final
1 parent df3d052 commit d89f10c

5 files changed

Lines changed: 11 additions & 8 deletions

File tree

src/main/java/frc/robot/commands/DrivetrainCommand.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@ public void execute() {
7979
.withRotationalRate(
8080
-rightX.getAsDouble()
8181
* MaxAngularRate)); // Drive counterclockwise with negative X
82+
// System.out.println("Drivetrain: Teleop");
8283
break;
8384

8485
// (Needs check) Mode for when shots are from a still position

src/main/java/frc/robot/commands/FlywheelCommand.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,20 +35,20 @@ public void execute() {
3535
// Spins flywheels at proper speed for shooting from hub
3636
case HUB_SHOT:
3737
subsystem.shoot(FlywheelConfig.FLYWHEEL_HUB_SHOT_SPEED);
38-
// System.out.println("Flywheel: Hub Shot");
38+
// System.out.println("Flywheel: Hub Shot");
3939
break;
4040

4141
// Spins flywheels at proper speed for shooting from tower
4242
case TOWER_SHOT:
4343
subsystem.shoot(FlywheelConfig.FLYWHEEL_TOWER_SHOT_SPEED);
44-
// System.out.println("Flywheel: Tower Shot");
44+
// System.out.println("Flywheel: Tower Shot");
4545
break;
4646

4747
// Spins flywheels at estimated speed given distance from hub
4848
case CALCULATED_SHOT:
4949
subsystem.shoot(
5050
ShotCalculator.calculateFlywheelShot(drivetrain.getState().Pose.getTranslation()));
51-
// System.out.println("Flywheel: Calculated Shot");
51+
// System.out.println("Flywheel: Calculated Shot");
5252
break;
5353

5454
// Determines if robot should be prepared to shoot (if during active period or 5 seconds
@@ -59,7 +59,7 @@ public void execute() {
5959
subsystem.shoot(
6060
ShotCalculator.calculateFlywheelDefaultShot(
6161
drivetrain.getState().Pose.getTranslation()));
62-
// System.out.println("Flywheel: Default Shot");
62+
// System.out.println("Flywheel: Default Shot");
6363
break;
6464

6565
// Runs flywheels in outtake direction in case of jam

src/main/java/frc/robot/commands/HopperCommand.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,11 @@ public void initialize() {
3131
// (Needs check) If hopper already extended, retract, and if hopper retracted, extend
3232
case EXTEND_RETRACT:
3333
if (isExtended) {
34-
System.out.println("Hopper: Retracting");
34+
// System.out.println("Hopper: Retracting");
3535
subsystem.move(HopperConfig.HOPPER_RETRACT_ROTATION);
3636
isExtended = false;
3737
} else {
38-
System.out.println("Hopper: Extending");
38+
// System.out.println("Hopper: Extending");
3939
subsystem.move(HopperConfig.HOPPER_EXTEND_ROTATION);
4040
isExtended = true;
4141
}
@@ -44,12 +44,12 @@ public void initialize() {
4444
// (Needs check) Retracts then extends hopper back to original position to push balls into
4545
// kicker for shooting
4646
case SHOOT_RETRACT:
47-
System.out.println("Hopper: Shoot Retracting");
47+
// System.out.println("Hopper: Shoot Retracting");
4848
subsystem.slowMove(HopperConfig.HOPPER_RETRACT_ROTATION);
4949
break;
5050

5151
case SHOOT_EXTEND:
52-
System.out.println("Hopper: Shoot Extending");
52+
// System.out.println("Hopper: Shoot Extending");
5353
subsystem.move(HopperConfig.HOPPER_EXTEND_ROTATION);
5454
break;
5555

src/main/java/frc/robot/commands/IntakeCommand.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ public void initialize() {
2929
// Runs intakeDutyCycleOut
3030
case INTAKE:
3131
subsystem.intake(IntakeConfig.INTAKE_INTAKE_SPEED);
32+
System.out.println("Intake: Intaking");
3233
break;
3334

3435
// Runs intakeDutyCycleOut in outtaking direction

src/main/java/frc/robot/commands/KickerCommand.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ public void execute() {
2828
// Intakes balls to shooter
2929
case INTAKE:
3030
subsystem.intake(KickerConfig.KICKER_INTAKE_SPEED);
31+
// System.out.println("Kicker: Intaking");
3132
break;
3233

3334
// Pushes balls out of shooter area to hopper area

0 commit comments

Comments
 (0)