Skip to content

Commit

Permalink
deleted timer
Browse files Browse the repository at this point in the history
  • Loading branch information
BrandonS09 committed Mar 3, 2024
1 parent d30dc08 commit ff59c77
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/main/java/org/carlmontrobotics/subsystems/Arm.java
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,6 @@ public class Arm extends SubsystemBase {
private final SparkPIDController armPID2 = armMotorFollower.getPIDController();

private TrapezoidProfile armProfile = new TrapezoidProfile(TRAP_CONSTRAINTS);
private Timer armProfileTimer = new Timer();
TrapezoidProfile.State goalState = new TrapezoidProfile.State(0,0);//TODO: update pos later

// rad, rad/s
Expand Down Expand Up @@ -125,7 +124,7 @@ public void periodic() {

//smart dahsboard stuff
//SmartDashboard.putBoolean("ArmPIDAtSetpoint", armPID1.atSetpoint());
SmartDashboard.putBoolean("ArmProfileFinished", armProfile.isFinished(armProfileTimer.get()));
// SmartDashboard.putBoolean("ArmProfileFinished", armProfile.isFinished(armProfileTimer.get()));
//posToleranceRad = SmartDashboard.getNumber("Arm Tolerance Pos", posToleranceRad);
//velToleranceRadPSec= SmartDashboard.getNumber("Arm Tolerance Vel", velToleranceRadPSec);

Expand Down

0 comments on commit ff59c77

Please sign in to comment.