Skip to content

Commit

Permalink
resetGoal finished?
Browse files Browse the repository at this point in the history
  • Loading branch information
stwiggy committed Mar 3, 2024
1 parent 555e0cc commit f3b27d0
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/main/java/org/carlmontrobotics/subsystems/Arm.java
Original file line number Diff line number Diff line change
Expand Up @@ -182,10 +182,8 @@ public void setArmTarget(double targetPos) {


public void resetGoal() {

armProfile = new TrapezoidProfile(TRAP_CONSTRAINTS);


double armPos = getArmPos();
setArmTarget(armPos);
}
public void driveMotor(Measure<Voltage> volts) {
armMotorMaster.setVoltage(volts.in(Volts));
Expand Down

0 comments on commit f3b27d0

Please sign in to comment.