|
Re: Enabling PIDController Crashes Windriver
Quote:
Originally Posted by CodeMonkeyMatt
With the help from one of my mentors (who I was having trouble reaching last night), I figured out the problem. The camera PIDSource was probably taking to long to calculate it, so I extended the time on the PIDController and hashed down the PIDGet() function to just return the value (had some debugging things in there like writing the color image and the binary image... woops).
|
THANK YOU for posting the fix rather than saying nothing. It's a great example of GP.
__________________
Silicon Valley Regional 2005, 2006 972
Silicon Valley Regional 2007 668 Xerox Creativity Award
Championship Event 2007 668
Portland Regional 2008 668
Silicon Valley Regional 2008 668, 972
Beta Test Team 2008 668 (with 100 & 254)
Silicon Valley Regional 2009 668 Regional Chairman's Award; 2643
Sacramento Regional 2009 668 Winning Alliance (thanks, 1717 & 2473!), 2010 Winning Alliance 3256
CalGames 2006, 2007, 2008, 2009, 2010, 2011 Field Tech
NorCal FTC Regional 2008, 2009 Inspector
Championship Event 2009
San Diego, Silicon Valley Regionals; Champ. Event 2010 668, 2643, 3256
Silicon Valley, Madera Regional 2012 2643
WRRF Programming Instructor 2006-2016
Regional Woodie Flowers Award 2014 2643 Utah Regional
|