A more-current resource you might use is
our team's vision system for this year. It's not well-commented (yet -- I'm working on it), but it works on the same basic principles as Miss Daisy's system while also showing how you can make parameters that can be tweaked at runtime through SmartDashboard's properties window.