Thread: CPU at 100%
View Single Post
  #4   Spotlight this post!  
Unread 26-02-2014, 16:34
pastelpony's Avatar
pastelpony pastelpony is offline
Programmer/Electrical
AKA: Zach M
FRC #3525 (Nuts and Bolts of Fury)
Team Role: Programmer
 
Join Date: Feb 2014
Rookie Year: 2013
Location: Waterbury, Connecticut
Posts: 152
pastelpony will become famous soon enough
Re: CPU at 100%

Try and see if there any devices that are programmed onto the bot but not in actual use (i.e. a solenoid or compressor.) For example, our bot's cRio completely crashed during a match because we forgot to take out references to a solenoid that was not actually on the bot and so the cRio was maxing out it's usage while trying to find it. Also, disable any safety configs that may be hooked up to devices in your code. Sometimes, an incorrect loop in Periodic Tasks can cause a cRio to max out.

Last edited by pastelpony : 26-02-2014 at 16:41.
Reply With Quote