Skip to content

Commit

Permalink
Remove outdated comments, fix kicker voltage in amp tuning mode
Browse files Browse the repository at this point in the history
  • Loading branch information
aidnem committed Oct 23, 2024
1 parent 0498db3 commit cc6a6ee
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
4 changes: 2 additions & 2 deletions src/main/java/frc/robot/RobotContainer.java
Original file line number Diff line number Diff line change
Expand Up @@ -698,12 +698,12 @@ public void testInit() {
new InstantCommand(
() ->
scoringSubsystem.setOverrideKickerVoltsDirectly(
-12.0)))
12.0)))
.onFalse(
new InstantCommand(
() ->
scoringSubsystem.setOverrideKickerVoltsDirectly(
-12.0)));
0.0)));
break;
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -300,11 +300,7 @@ private void prime() {
private void ampPrime() {
// shooterIo.setShooterVelocityRPM(ScoringConstants.shooterAmpVelocityRPM);
// TODO: Test this out
aimerIo.setAimAngleRot(
ScoringConstants
.ampAimerAngleRotations); // This is actually in rotations and not radians,
// I really need to rename all
// of the aimer IO functions
aimerIo.setAimAngleRot(ScoringConstants.ampAimerAngleRotations);
if (action != ScoringAction.SHOOT && action != ScoringAction.AMP_AIM) {
state = ScoringState.IDLE;
} else if (action == ScoringAction.SHOOT) {
Expand Down

0 comments on commit cc6a6ee

Please sign in to comment.