Project Home

Trackers

Source Code

File Releases

Documents

Wiki

Discussions

Reports

Project Info
Artifact artf4819 : CameraServer only sends single image Print Preview
Tracker:Bugs
Title:CameraServer only sends single image
Description:
The roboRIO sends a single image to the smart dashboard when the code starts. For every frame after, the following error
 is spammed on the driver's station until the code is restarted. The error is triggered in the capture() method of the 
CameraServer class.

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)

This is the camera we're attempting to use: http://www.amazon.com/180degree-Fisheye-1080p-Angle-Camera/dp/B00LQ854AG
The camera works fine connected directly to a windows computer. Might it have to do with the unusual size/shape of the 
images?  

Why is a single frame transmitted, but not the following ones?

We're willing to test any proposed fixes to get this camera to work. We really want to use this camera because of its 
wide angle lens.
Submitted By:Andrew Dickinson
Submitted On:02/10/2016 6:38 PM GMT
Last Modified:12/31/2016 8:04 PM GMT
Closed:12/31/2016 8:04 PM GMT

Active Tab Status / Comments Inactive Tab - left sideChange Log Inactive Tab - left sideAssociations Inactive Tab - left sideDependencies Inactive Tab - left sideAttachmentsInactive Tab - right side  
Java WPILib
Status
Planning Folder:*Java
3
Closed
None
Comments
#4Thad House: 12/31/2016 8:04 PM GMT
 Comment:
Closed because of new CameraServer for 2017. If you see this again after kickoff, please repost the isssue on GitHub.
 Action:Update
Closed set to 12/31/2016
Status changed from Open to Closed
#3Andrew Dickinson: 03/29/2016 3:12 PM GMT
 Comment:
We were able to get both of the Microsoft cameras we've received in the kit of parts to work with the same exact code.

For our final robot, we went with a co-processor for displaying this camera instead. However, it would be helpful to be 
able to use the roboRIO for this camera in the future.
 Action:Update
#2Brad Miller (WPI): 03/29/2016 3:36 AM GMT
 Comment:
Does the same code work with a different USB camera such as one of the Microsoft or Logitech devices. Just wondering if 
this is specific to that particular camera.
 Action:Update
#1Andrew Dickinson: 02/10/2016 6:38 PM GMT
 Action:Create