shuffleboard icon indicating copy to clipboard operation
shuffleboard copied to clipboard

Record camera streams alongside NT

Open TheTripleV opened this issue 2 years ago • 1 comments

When recording data, visible camera streams should also be recorded and played back.

TheTripleV avatar Apr 10 '22 22:04 TheTripleV

This should already be handled by the plugin. Are mp4 files not getting created?


Implementation classes, in no particular order: https://github.com/wpilibsuite/shuffleboard/blob/main/plugins/cameraserver/src/main/java/edu/wpi/first/shuffleboard/plugin/cameraserver/data/LazyCameraServerData.java https://github.com/wpilibsuite/shuffleboard/blob/main/plugins/cameraserver/src/main/java/edu/wpi/first/shuffleboard/plugin/cameraserver/source/CameraStreamAdapter.java https://github.com/wpilibsuite/shuffleboard/blob/main/plugins/cameraserver/src/main/java/edu/wpi/first/shuffleboard/plugin/cameraserver/source/CameraStreamReader.java https://github.com/wpilibsuite/shuffleboard/blob/main/plugins/cameraserver/src/main/java/edu/wpi/first/shuffleboard/plugin/cameraserver/source/CameraStreamSaver.java

See Recorder.java and Serialization.java for the generic recording implementation.

SamCarlberg avatar Apr 13 '22 22:04 SamCarlberg