Hi, after updating all of the FRC java libraries, we’re getting this error when we call the startAutomaticCapture() method on an instance of a CameraServer:
found mode 12: 320 x 240 JPEG 30.00 fps
Error when getting image from the camera: invalid image: could not find jpeg end 199999 at edu.wpi.first.wpilibj.CameraServer.capture(CameraServer.java:212)
edu.wpi.first.wpilibj.CameraServer$2.run(CameraServer.java:182)
Apparently it can’t find the end of the jpeg images the camera is sending? The camera worked perfectly before we updated the libraries. We’re using a logitech USB camera.
The error isn’t fatal but it prevents us from opening up the java smart dashboard. Any ideas?