![]() |
Re: 2015 Lessons Learned: The Negative
Quote:
In college you can likely expect to have to create the internals of the PID classes used in WPIlib (by which I mean programatically [or in some form of hardware] creating the feedback loop and designing the plant) necessitating full understanding of the system. WPILib makes it so that all you have to do for a basic loop is to just tweak k, i, and d values. |
Re: 2015 Lessons Learned: The Negative
Quote:
A year later, when a programming mentor joined, we hand wrote them, and never used WPI at all. And suddenly something clicked and I realized how simple it was. Just error, change in current value since last iteration, and a Riemann sum for the current and last value vs time. Plus the constants that you have to adjust. Maybe we just didn't look in the obvious places, but even adjusting the three constants is relatively time consuming and frustrating if you don't know which value you should be adjusting for which behavior - because in reality, they aren't completely independent of each other. |
| All times are GMT -5. The time now is 05:10. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi