Skip to content

Commit

Permalink
Made it so it changes the state whenever you input a new setpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
Mixmix00 committed Jul 18, 2023
1 parent b41a5b9 commit b589b22
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,8 @@ public void setSetpoint(double position){
}

setPointPosition = position;

theState = PIDSTATE.PID;
}

public void stop(){
Expand Down

0 comments on commit b589b22

Please sign in to comment.