View Single Post
  #5   Spotlight this post!  
Unread 12-03-2016, 23:11
The Lucas's Avatar
The Lucas The Lucas is offline
CaMOElot, it is a silly place
AKA: My First Name is really "The" (or Brian)
FRC #0365 (The Miracle Workerz); FRC#1495 (AGR); FRC#4342 (Demon)
Team Role: Mentor
 
Join Date: Mar 2002
Rookie Year: 2001
Location: Dela-Where?
Posts: 1,564
The Lucas has a reputation beyond reputeThe Lucas has a reputation beyond reputeThe Lucas has a reputation beyond reputeThe Lucas has a reputation beyond reputeThe Lucas has a reputation beyond reputeThe Lucas has a reputation beyond reputeThe Lucas has a reputation beyond reputeThe Lucas has a reputation beyond reputeThe Lucas has a reputation beyond reputeThe Lucas has a reputation beyond reputeThe Lucas has a reputation beyond repute
Send a message via AIM to The Lucas
Re: Problems with USB camera(Lifecam)

Quote:
Originally Posted by PredaFran View Post
Alan,
We tried what you said but we still are getting the following errors
  • For cam(0)
no matching function for call to 'USBCamera::USBCamera(int)'
Quote:
Originally Posted by codedr View Post
Shouldn't the USBCamera constructor called with cam0("cam0", true) ?
Only USBCamera constructor is
USBCamera (std::string name, bool useJpeg)
http://first.wpi.edu/FRC/roborio/rel...USBCamera.html

Are you just trying to view the cam on dashboard, or are you trying vision processing? If you just want to view on dashboard, it is probably easier to just use CameraServer.
http://first.wpi.edu/FRC/roborio/rel...eraServer.html
__________________
Electrical & Programming Mentor ---Team #365 "The Miracle Workerz"
Programming Mentor ---Team #4342 "Demon Robotics"
Founding Mentor --- Team #1495 Avon Grove High School
2007 CMP Chairman's Award - Thanks to all MOE members (and others) past and present who made it a reality.
Robot Inspector
"I don't think I'm ever more ''aware'' than I am right after I burn my thumb with a soldering iron"
Reply With Quote