shuffleboard
shuffleboard copied to clipboard
Automatically enable/disable recording based on FMSInfo
Recordings are currently a pain to use while debugging because they don't actually match up with when we're using our robot.
With the FMSInfo widget, would it be possible to do the following?
- Automatically start a recording when a competition match begins
- Automatically end the recording when the match ends
- Name the file based on the event and match number
Recordings will be controllable from robot code (wpilibsuite/allwpilib#1414). Having it be controlled dashboard-side by reading values from NetworkTables is unreliable, since loss of comms or robot reboots can mess with it.
It may be possible to do this by reading the DriverStation stream, but that only works for Shuffleboard instances running on the driverstation computer