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 
114 #include "stereoCalibModule.h"
115 #include <yarp/dev/Drivers.h>
116 
117 
118 int main(int argc, char * argv[])
119 {
120  Network yarp;
121  stereoCalibModule stereoModule;
122  ResourceFinder rf;
123  rf.setDefaultConfigFile("icubEyes.ini");
124  rf.setDefaultContext("cameraCalibration");
125  rf.configure(argc, argv);
126 
127  stereoModule.runModule(rf);
128  return 0;
129 }
bool configure(yarp::os::ResourceFinder &rf)
int main(int argc, char *argv[])
Definition: main.cpp:31
Copyright (C) 2008 RobotCub Consortium.