iCub-main
main.cpp
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2011 RobotCub Consortium
3  * Author: Sean Ryan Fanello
4  * email: sean.fanello@iit.it
5  * website: www.robotcub.org
6  * Permission is granted to copy, distribute, and/or modify this program
7  * under the terms of the GNU General Public License, version 2 or any
8  * later version published by the Free Software Foundation.
9  *
10  * A copy of the license can be found at
11  * http://www.robotcub.org/icub/license/gpl.txt
12  *
13  * This program is distributed in the hope that it will be useful, but
14  * WITHOUT ANY WARRANTY; without even the implied warranty of
15  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
16  * Public License for more details
17 */
18 
113 #include "stereoCalibModule.h"
114 #include <yarp/dev/Drivers.h>
115 
116 
117 int main(int argc, char * argv[])
118 {
119  Network yarp;
120  stereoCalibModule stereoModule;
121  ResourceFinder rf;
122  rf.setDefaultConfigFile("icubEyes.ini");
123  rf.setDefaultContext("cameraCalibration");
124  rf.configure(argc, argv);
125 
126  stereoModule.runModule(rf);
127  return 0;
128 }
bool configure(yarp::os::ResourceFinder &rf)
int main(int argc, char *argv[])
Definition: main.cpp:31
Copyright (C) 2008 RobotCub Consortium.