iCub-main
icub-main
src
core
emotionInterface
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
7
#include "
emotionInterfaceModule.h
"
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
}
iCub::contrib::EmotionInterfaceModule
EmotionInterface Module class.
Definition:
emotionInterfaceModule.h:71
iCub::contrib::EmotionInterfaceModule::configure
bool configure(ResourceFinder &config) override
Definition:
emotionInterfaceModule.cpp:85
emotionInterfaceModule.h
main
int main(int argc, char *argv[])
Definition:
main.cpp:31
iCub::contrib
Definition:
emotionInterface.h:18
scripting.argc
argc
Definition:
scripting.py:184
yarp
Copyright (C) 2008 RobotCub Consortium.
Definition:
DebugInterfaces.h:51
Generated on Mon Dec 9 2024 21:09:21 for iCub-main by
1.9.1