iCub-main
main.cpp
Go to the documentation of this file.
1 // -*- mode:C++; tab-width:4; c-basic-offset:4; indent-tabs-mode:nil -*-
2 
3 // yarp
4 #include <yarp/os/Network.h>
5 
6 // iCub
8 
9 using namespace std;
10 using namespace yarp::os;
11 using namespace iCub::contrib;
12 
31 int main(int argc, char *argv[]) {
32 
33  Network yarp;
34 
35  //resource finder initialization.
36  ResourceFinder rf;
37  rf.setDefaultConfigFile("emotions.ini");
38  rf.setDefaultContext("faceExpressions");
39  rf.setDefault("name", "/emotion");
40  rf.configure(argc, argv);
41  EmotionInterfaceModule eiModule;
42 
43  eiModule.configure(rf);
44 
45  return eiModule.runModule();
46 }
bool configure(ResourceFinder &config) override
int main(int argc, char *argv[])
Definition: main.cpp:31
Copyright (C) 2008 RobotCub Consortium.