View Single Post
  #4   Spotlight this post!  
Unread 15-07-2013, 14:26
autox_vette autox_vette is offline
Registered User
FRC #2451 (PWNAGE)
Team Role: Mentor
 
Join Date: Oct 2011
Rookie Year: 2011
Location: Oswego, Il
Posts: 32
autox_vette is on a distinguished road
Re: Setting/changing priorities

Quote:
Originally Posted by Joe Ross View Post
how did you determine it was timing that caused the instability and not a variation in your shooter response?
With the gyro initialization in the begin VI, the PID would become unstable around 20% of the time. With the gyro initialization disabled, the PID would never become unstable. The only resource that I can see in common between the two would be processing. Given the problems that were seen in the Einstein follow up from 2012 with gyro initialization hanging and using too much CPU, it was decided that it could be a similar issue. Note, this was only the gyro initialization code in the begin VI. The gyro was only read when a button was pressed (which was never occurring because we were in autonomous).

Last edited by autox_vette : 15-07-2013 at 14:47.
Reply With Quote