08-11-2013 08:51 PM
The ChipObject/tWatchdog.h file includes a method called readStatus_SystemActive that returns a bool. I've seen that it's false if the watchdog has died, and also false if the driver station is in a disabled state. But we're encountering situations where it is false when neither of those two conditions are true. We're seeing our robot freeze up momentarily and are trying track this down to understand what's happening.
Could you please list all of the other conditions that would make readStatus_SystemActive false?
-Bruce, software mentor, FRC team 4769.
08-12-2013 10:53 AM
The system watchdog will also trip if there is a communciation interruption. I don't know what that particular method returns, but that seems reasonable. You can use the charts tab on the driver station and the Driver Station Log Viewer to look at the wireless roundtrip time and lost packets as well as logs of watchdog trips.