iol
main.cpp
1 /*
2  * Copyright (C) 2013 iCub Facility - Istituto Italiano di Tecnologia
3  * Author: Sean Ryan Fanello
4  * email: sean.fanello@iit.it
5  * Permission is granted to copy, distribute, and/or modify this program
6  * under the terms of the GNU General Public License, version 2 or any
7  * later version published by the Free Software Foundation.
8  *
9  * A copy of the license can be found at
10  * http://www.robotcub.org/icub/license/gpl.txt
11  *
12  * This program is distributed in the hope that it will be useful, but
13  * WITHOUT ANY WARRANTY; without even the implied warranty of
14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
15  * Public License for more details
16 */
17 
115 #include "classifier.h"
116 
117 int main(int argc, char *argv[])
118 {
119  Network yarp;
120  if (!yarp.checkNetwork())
121  return 1;
122 
123  ResourceFinder rf;
124  rf.configure(argc,argv);
125 
126  Classifier classifier;
127  return classifier.runModule(rf);
128 }