|
Target Tracking PID Lag
Hi. I need some help implementing the x position from the camera into a PID to align the robot with the target. I already know how to use PID's and vision tracking. The problem is, obviously there is a lot of lag when it gives us our value, making it hard to set the gains on the PID. How can I compensate for this lag??? I've heard of someone on another thread that THEY compisated. I just don't know how.
Thanks!
__________________
FRC 441 Mentor 2012-2015
FRC 441 Alumni 2009-2012
FTC 4673 Alumni 2011-2012
FRC 1484 Alumni 2006-2008
|