Quote:
Originally Posted by rrossbach
Does your code retry when getting the exception, or just give up without retrying? Last year we noticed that we'd occasionally get the UncleanStatusException at initialization of the first Jag, and as best we could tell seemed to do with sensitivities with all the inter-task communications - i.e. the WPI library calls FRC_NetworkCommunication, which in turn calls the plugin main task, which calls send/receive tasks.... - I'd have to check with the team to see exactly where the diagnosis led.
In any case, we solved it by wrapping the constructors in a try block, and putting that in a loop so that we kept retrying the initialization until successful. The first Jag would occasionally have to be tried a couple of times before success.
- Ron
Team #2607 controls mentor
|
Whoops, missed your post. Our code gives up without retrying--that's a good idea. I'll test that when I get there today.
Also, thanks for the hints, drakesword.