View Single Post
  #5   Spotlight this post!  
Unread 15-04-2014, 23:30
JohnGilb JohnGilb is offline
Programming Mentor, Drive Mentor
FRC #0488
 
Join Date: Mar 2011
Rookie Year: 2003
Location: Redmond, WA
Posts: 114
JohnGilb has a spectacular aura aboutJohnGilb has a spectacular aura aboutJohnGilb has a spectacular aura about
Re: CPU spike to 100% - robot unresponsive

Are the motor safeties on a separate thread (and thus somewhat unaffected by a cpu usage spike)? I would hope that the watchdog is somehow resilient to some of our code demanding lots of cpu time.

joelg236, I'll see about packaging up our code.

Reproducing the failure has been the hardest part - we've only been able to get it to reproduce in matches. We ran the robot substantially in the pits to no effect.

We have a spare cRIO back at home that we can run code on, but it will be missing sensors/actuators.

Last edited by JohnGilb : 15-04-2014 at 23:37. Reason: add detail.
Reply With Quote