robotpy / robotpy-wpilib-utilities

Useful utility functions/objects for RobotPy
BSD 3-Clause "New" or "Revised" License
11 stars 19 forks source link

simple_watchdog: Call logger less #193

Closed auscompgeek closed 2 years ago

auscompgeek commented 2 years ago

A single logging call can be slower than one might expect on the roboRIO. The existing SimpleWatchdog logs aren't exactly super-readable in the console currently either.

This logs the epochs with a single info log call, instead of multiple info logs.

Also upgrade the Watchdog not fed log message to warning, to make it more noticeable.