|
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.
|