PID Help

Hello All. I am trying to write a PID loop library for my high school robotics team. However, there is not a lot of good example code. Using the equations, I wrote a PID loop. However, I am not 100% sure my math is correct. Can anyone offer insight?

submitted by /u/xman4242
[link] [comments]