27 cout <<
"Enumerating cameras..." << endl;
31 cout <<
"Found " << lstCams.size() <<
" cameras." << endl;
35 it != lstCams.end(); it++)
37 cout <<
"======= CAMERA =========" << endl;
38 cout <<
" GUID : " << it->guid << endl;
39 cout <<
" Unit : " << it->unit << endl;
40 cout <<
" Vendor: " << it->vendor << endl;
41 cout <<
" Model : " << it->model << endl;
46 int main(
int argc,
char** argv)
54 catch (std::exception& e)
56 std::cout <<
"MRPT exception caught: " << e.what() << std::endl;
61 printf(
"Another exception!!");
std::list< TCameraInfo > TCameraInfoList
static void enumerateCameras(TCameraInfoList &out_list)
Generates a list with the information on all the existing (Firewire) cameras in the system...
void TestEnumerate_1394()
Contains classes for various device interfaces.
This namespace contains representation of robot actions and observations.
const Scalar * const_iterator