Skip to content

Commit bac2f77

Browse files
logged voltage applied to motors
1 parent d535a52 commit bac2f77

File tree

1 file changed

+3
-0
lines changed
  • src/main/java/org/carlmontrobotics/subsystems

1 file changed

+3
-0
lines changed

src/main/java/org/carlmontrobotics/subsystems/Arm.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -193,6 +193,9 @@ public void periodic() {
193193
// }
194194
SmartDashboard.putNumber("Master RPM", armMotorMaster.getEncoder().getVelocity());
195195
SmartDashboard.putNumber("Follower RPM", armMotorFollower.getEncoder().getVelocity());
196+
SmartDashboard.putNumber("Actual Master Arm Volts", armMotorMaster.getBusVoltage() * armMotorMaster.getAppliedOutput());
197+
SmartDashboard.putNumber("Actual Follower Arm Volts", armMotorFollower.getBusVoltage() * armMotorFollower.getAppliedOutput());
198+
196199

197200

198201
// when the value is different

0 commit comments

Comments
 (0)