allwpilib icon indicating copy to clipboard operation
allwpilib copied to clipboard

Send robot loop time data in DS packet and store in the DS log

Open virtuald opened this issue 2 years ago • 3 comments

Is your feature request related to a problem? Please describe. Teams don't really know what their loop times are, and we have the watchdog now... but really, people ignore that.

Describe the solution you'd like Send robot loop time data in DS packet and store in the DS log. Maybe the DS warns the user if it's too high with some widget when they're driving.

virtuald avatar Apr 06 '23 04:04 virtuald

And similar to the old control system, if loop times are over 20 ms for X amount of time (5 packets in a row?), light up the radio LED.

PeterJohnson avatar Apr 06 '23 04:04 PeterJohnson

If we do this, and provide a different way to collect/examine the details, we could remove the print message entirely, which would decrease log noise quite a bit.

PeterJohnson avatar Apr 06 '23 04:04 PeterJohnson

Could also only create log noise when FMS isn't connected, which would lead to the weirdest CD posts ever:

URGENT: My robot only lags when it's NOT connected to FMS

virtuald avatar Apr 06 '23 04:04 virtuald