Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Programming (http://www.chiefdelphi.com/forums/forumdisplay.php?f=51)
-   -   Invalid image exception after updating FRC libraries (http://www.chiefdelphi.com/forums/showthread.php?t=135415)

JacobD 03-03-2015 16:08

Invalid image exception after updating FRC libraries
 
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:

Code:

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?


All times are GMT -5. The time now is 01:42.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi