bb2info.cpp

00001 
00002 /***************************************************************************
00003  *  bb2info.cpp - Print BB2 to stdout
00004  *
00005  *  Created: Fri Nov 02 19:03:00 2007
00006  *  Copyright  2007  Tim Niemueller [www.niemueller.de]
00007  *
00008  ****************************************************************************/
00009 
00010 /*  This program is free software; you can redistribute it and/or modify
00011  *  it under the terms of the GNU General Public License as published by
00012  *  the Free Software Foundation; either version 2 of the License, or
00013  *  (at your option) any later version.
00014  *
00015  *  This program is distributed in the hope that it will be useful,
00016  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
00017  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00018  *  GNU Library General Public License for more details.
00019  *
00020  *  Read the full text in the LICENSE.GPL file in the doc directory.
00021  */
00022 
00023 #include <cams/bumblebee2.h>
00024 #include <fvutils/system/camargp.h>
00025 #include <stereo/triclops.h>
00026 
00027 using namespace std;
00028 using namespace firevision;
00029 
00030 int
00031 main(int argc, char **argv)
00032 {
00033 
00034   CameraArgumentParser *cap = new CameraArgumentParser("bumblebee2:Bumblebee2 BB2-03S2C");
00035 
00036   Bumblebee2Camera *bb2 = new Bumblebee2Camera(cap);
00037   bb2->open();
00038   bb2->print_info();
00039   bb2->close();
00040 
00041   delete bb2;
00042   delete cap;
00043 
00044   return 0;
00045 }
00046 

Generated on Tue Feb 22 13:32:17 2011 for Fawkes API by  doxygen 1.4.7