Skip to content

Commit 0d14a7b

Browse files
made note block for note about omitting pid constants work
1 parent 80c0d45 commit 0d14a7b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docs/section-7/feedback-control.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ 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:
84+
!!! note
8585
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.
8686
If P, PD, or PI controller works, leave it be. You should always implement the easiest solution to avoid bugs and confusion.
8787

0 commit comments

Comments
 (0)