Skip to content
This repository has been archived by the owner on Feb 9, 2024. It is now read-only.

Commit

Permalink
log claw desiredspeed
Browse files Browse the repository at this point in the history
  • Loading branch information
PatribotsProgramming committed Nov 6, 2023
1 parent 906adfd commit 85de91b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/main/java/hardware/Claw.java
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
import com.revrobotics.CANSparkMaxLowLevel.PeriodicFrame;
import com.revrobotics.RelativeEncoder;
import edu.wpi.first.math.MathUtil;
import edu.wpi.first.wpilibj.smartdashboard.SmartDashboard;
import frc.robot.DriverUI;

public class Claw {
Expand Down Expand Up @@ -158,6 +159,7 @@ public void setDesiredSpeed(double speed) {
else {
this.desiredSpeed = speed;
}
SmartDashboard.putNumber("Claw/DesiredSpeed", desiredSpeed);
}

public void stopClaw() {
Expand Down

0 comments on commit 85de91b

Please sign in to comment.