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 }
main
int main(int argc, char *argv[])
Definition: main.cpp:31
iCub::contrib::EmotionInterfaceModule::configure
bool configure(ResourceFinder &config) override
Definition: emotionInterfaceModule.cpp:85
emotionInterfaceModule.h
iCub::contrib
Definition: emotionInterface.h:18
iCub::contrib::EmotionInterfaceModule
EmotionInterface Module class.
Definition: emotionInterfaceModule.h:70
yarp
Copyright (C) 2008 RobotCub Consortium.
Definition: DebugInterfaces.h:51
scripting.argc
argc
Definition: scripting.py:184