iCub-main
Loading...
Searching...
No Matches
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
9using namespace std;
10using namespace yarp::os;
11using namespace iCub::contrib;
12
31int 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);
42
43 eiModule.configure(rf);
44
45 return eiModule.runModule();
46}
bool configure(ResourceFinder &config) override
int main()
Definition main.cpp:67
Copyright (C) 2008 RobotCub Consortium.