View Single Post
  #1   Spotlight this post!  
Unread 29-01-2015, 20:30
RushAHead RushAHead is offline
Registered User
FRC #3103 (Iron Plaid)
 
Join Date: Jan 2015
Rookie Year: 2014
Location: Texas
Posts: 6
RushAHead is an unknown quantity at this point
C++ USB Camera Errors

Hello!
My team is attempting to use the Microsoft LifeCam HD-3000 USB camera on our robot; however, we are encountering error messages in the driver station. We have tried to use the Simple Vision example code (unaltered), but it isn't working.
We have verified that we can see the camera on the web based configuration page and that we are using the correct name in the code (we are). The code builds fine, but as soon as we upload to the robot, we are receiving the error message:

"Error on line 188 of CameraServer.cpp: Incompatible State: The operation cannot be completed: Choose "USB Camera HW" on the dashboard at CameraServer::Serve()"

We program in C++ and use the C++ SmartDashboard. We did add a USB Webcam Viewer object to SmartDashboard, but it only shows the standard gray background with an "ERROR" pink strip at the bottom in its area.

Any fixes/ ideas?
Reply With Quote