Images grabbing example with the vp1394TwoGrabber class.
#include <visp/vpImage.h>
#include <visp/vp1394TwoGrabber.h>
#include <stdlib.h>
#include <stdio.h>
int main()
{
#ifdef VISP_HAVE_DC1394_2
try {
unsigned int ncameras;
for (unsigned int camera=0; camera < ncameras; camera ++) {
}
for ( ; ; ) {
for (unsigned int camera=0; camera < ncameras; camera ++) {
}
}
delete [] I;
return 0;
}
std::cout << "Catch an exception: " << e << std::endl;
return 1;
}
#endif
}