Skip to content

Commit 80c0d45

Browse files
note about omitting PID constants
1 parent dfdaaa5 commit 80c0d45

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

docs/section-7/feedback-control.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,10 @@ To get those ideal constants... you kind of just guess and check. WPILIB provide
8181
### [Click here to try tuning a PID Controller. SCROLL TO "PURE FEEDBACK CONTROL", SKIP EVERYTHING ELSE](https://docs.wpilib.org/en/stable/docs/software/advanced-controls/introduction/tuning-flywheel.html)
8282
Follow the instructions and see if you can get the optimal tuning solution. The model simulates a flywheel shooter mechanism and halfway through the simulation it shoots a ball. **DO NOT SKIP THIS PRACTICE**
8383

84+
!!! note:
85+
Often times you don't actually have to use all the constants. In fact, it is generally advised not to use the I constant. When you omit the 'I' variable, the controller is called a "PD" rather than a "PID" controller. Similarly if you omit the 'I' and 'D' variable, the controller is called a P controller.
86+
If P, PD, or PI controller works, leave it be. You should always implement the easiest solution to avoid bugs and confusion.
87+
8488
## Other constants/terms
8589

8690
### kIz or "I-Zone"

0 commit comments

Comments
 (0)