FIRST Robotics Competition Discussions

cancel
Showing results for 
Search instead for 
Did you mean: 

readStatus_SystemActive false reasons

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.

0 Kudos
Message 1 of 2
(3,140 Views)

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.

0 Kudos
Message 2 of 2
(2,698 Views)