Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
TheExoneratedManiac committed Mar 6, 2024
2 parents f871c65 + a6697b8 commit 20a4463
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/main/java/frc/robot/Robot.java
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,7 @@ private void configureButtonBindings() {
.andThen(drive.sysIdDynamic(Direction.kReverse))
.andThen(drive.sysIdQuasistatic(Direction.kReverse)));
new JoystickButton(driverController, PS4Controller.Button.kCircle.value).whileTrue(intake.spinReverseCommand());
new JoystickButton(driverController, PS4Controller.Button.kR3.value).whileTrue(shooter.ampCommand());
}

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ public double getTurnVoltage() {
return turningSparkMax.getAppliedOutput();
}
private SwerveModuleState targetState = new SwerveModuleState(0, Rotation2d.fromDegrees(0));

@Override
public void setDrivingMotorVoltage(Measure<Voltage> v) {
drivingSparkMax.setVoltage(v.in(Volts));
Expand Down

0 comments on commit 20a4463

Please sign in to comment.