Quote:
Originally Posted by PredaFran
Alan,
We tried what you said but we still are getting the following errors
no matching function for call to 'USBCamera::USBCamera(int)'
|
Quote:
Originally Posted by codedr
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