Commit 4aaa40b
Replace deprecated feedforward.calculate(velocity, acceleration) (2027) (#3179)
* Replace deprecated feedforward.calculate(velocity, acceleration) (#3117)
* Replace deprecated feedforward.calculate(velocity, acceleration)
Update ProfiledPIDController documentation to use the recommended
feedforward.calculate(currentVelocity, nextVelocity) overload instead
of the deprecated (velocity, acceleration) version.
This eliminates manual acceleration calculations and uses the newer
API that calculates acceleration internally from velocity change.
Fixes #2963
* Convert ProfiledPIDController feedforward example to use snippets
Replace inline code blocks with RLIs to snippets from allwpilib.
Java and C++ examples now reference compilable snippet code that
will be tested in every allwpilib build.
Python remains as inline code block since Python snippets are
maintained in robotpy repository.
Related: wpilibsuite/allwpilib#8280
* Manually update RLI
---------
Co-authored-by: sciencewhiz <[email protected]>
* Autofix RLIs
* Revert "Autofix RLIs"
This reverts commit 084297c.
* Use 2027 commit hash
* Use commit before reorg
* fix line-nos
Co-authored-by: Ryan Blue <[email protected]>
---------
Co-authored-by: Jason Daming <[email protected]>
Co-authored-by: github-actions <[email protected]>
Co-authored-by: Ryan Blue <[email protected]>1 parent 91057dc commit 4aaa40b
File tree
1 file changed
+25
-52
lines changed- source/docs/software/advanced-controls/controllers
1 file changed
+25
-52
lines changedLines changed: 25 additions & 52 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
84 | 84 | | |
85 | 85 | | |
86 | 86 | | |
87 | | - | |
88 | | - | |
89 | | - | |
90 | | - | |
91 | | - | |
92 | | - | |
93 | | - | |
94 | | - | |
95 | | - | |
96 | | - | |
97 | | - | |
98 | | - | |
99 | | - | |
100 | | - | |
101 | | - | |
102 | | - | |
103 | | - | |
104 | | - | |
105 | | - | |
106 | | - | |
107 | | - | |
108 | | - | |
109 | | - | |
110 | | - | |
111 | | - | |
112 | | - | |
113 | | - | |
114 | | - | |
115 | | - | |
116 | | - | |
117 | | - | |
118 | | - | |
119 | | - | |
120 | | - | |
121 | | - | |
122 | | - | |
123 | | - | |
124 | | - | |
125 | | - | |
126 | | - | |
127 | | - | |
128 | | - | |
129 | | - | |
130 | | - | |
131 | | - | |
132 | | - | |
133 | | - | |
134 | | - | |
135 | | - | |
136 | | - | |
137 | | - | |
138 | | - | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
139 | 112 | | |
140 | 113 | | |
141 | 114 | | |
| |||
0 commit comments