View Single Post
  #3   Spotlight this post!  
Unread 06-02-2009, 10:43
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,113
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: glitch with analog input on cRIO

Quote:
Originally Posted by eugenebrooks View Post
The glitch value does vary, but appears to be
identical on a given powerup.
That's a symptom of overstepping array boundaries. I looked at your code, and there are a couple of places where it would be possible for that sort of error to occur, but it looks like everything is correctly handled. Maybe someone else with sharper C++ eyes than mine will notice something we both missed.