Skip to content

Commit 60e07b9

Browse files
cubix2raybraincore
authored andcommitted
change PID formula from gif to markdown math block
1 parent 3b03e67 commit 60e07b9

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,8 +78,9 @@ assert_eq!(output.d, -10.0);
7878
There are several different formulations of PID controllers. This library
7979
uses the independent form:
8080

81-
![PID independent form](
82-
https://latex.codecogs.com/gif.latex?C(t)&space;=&space;&space;K_p&space;\cdot&space;e(t)&space;+&space;K_i&space;\cdot&space;\int{e(t)dt}&space;-&space;K_d&space;\cdot&space;\frac{dP(t)}{dt})
81+
```math
82+
C(t) = K_p \cdot e(t) + K_i \cdot \int{e(t)dt} - K_d \cdot \frac{dP(t)}{dt}
83+
```
8384

8485
where:
8586
- C(t) = control output, the output to the actuator.

0 commit comments

Comments
 (0)