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.setVerbose();
38  rf.setDefaultConfigFile("emotions.ini");
39  rf.setDefaultContext("faceExpressions");
40  rf.setDefault("name", "/emotion");
41  rf.configure(argc, argv);
42  EmotionInterfaceModule eiModule;
43 
44  eiModule.configure(rf);
45 
46  return eiModule.runModule();
47 }
virtual bool configure(ResourceFinder &config)
STL namespace.
EmotionInterface Module class.
Copyright (C) 2008 RobotCub Consortium.
int main(int argc, char *argv[])
Definition: main.cpp:31