View Single Post
  #1   Spotlight this post!  
Unread 08-04-2005, 15:04
Plloyd Plloyd is offline
Registered User
no team
 
Join Date: Sep 2004
Location: Toronto
Posts: 6
Plloyd is an unknown quantity at this point
Intermittent Code Error

Every once in a while, (0-1 times per match) our robot disables itself and the code error light comes on... requiring the drivers to push robot reset to clear the error and continue playing. This has happened on more than one RC, so it probably is a problem with the code.

Now... this happened at a regional and the IFI representative there informed me that his scanner picked up an "Invalid CONTROL or CURRENT_MODE byte" error.

Looking at the code... the control and current_mode bytes are the last two bytes of txdata. However, I am not using them in the code at all... nor am I using the bytes immediately prior to them (essentially ruling out a runover memory leak).

This problem is not dehabilitating... but it has been nagging me for a while. Does anyone have any ideas/theories as to why this may be happening?

Thanks,
Plloyd