Skip to content

Commit

Permalink
added two motors in set volts
Browse files Browse the repository at this point in the history
  • Loading branch information
aaron345678 committed Mar 3, 2024
1 parent 8fe76e7 commit e00d3c1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
plugins {
id "java"
id "edu.wpi.first.GradleRIO" version "2024.1.1"
id "edu.wpi.first.GradleRIO" version "2024.3.1"
}

java {
Expand Down
1 change: 1 addition & 0 deletions src/main/java/org/carlmontrobotics/subsystems/Arm.java
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,7 @@ public void resetGoal() {
}
public void driveMotor(Measure<Voltage> volts) {
armMotorMaster.setVoltage(volts.in(Volts));
armMotorFollower.setVoltage(volts.in(Volts));
}
public void logMotor(SysIdRoutineLog log) {
log.motor("armMotorMaster")
Expand Down

0 comments on commit e00d3c1

Please sign in to comment.