icub-client
src
modules
reactiveLayer
behaviorManager
src
main.cpp
Go to the documentation of this file.
1
/*
2
* Copyright (C) 2011 ICUBCLIENT Consortium, European Commission FP7 Project IST-270490
3
* Authors: Stephane Lallee
4
* email: stephane.lallee@gmail.com
5
* website: https://github.com/robotology/icub-client/
6
* Permission is granted to copy, distribute, and/or modify this program
7
* under the terms of the GNU General Public License, version 2 or any
8
* later version published by the Free Software Foundation.
9
*
10
* A copy of the license can be found at
11
* $ICUBCLIENT_ROOT/license/gpl.txt
12
*
13
* This program is distributed in the hope that it will be useful, but
14
* WITHOUT ANY WARRANTY; without even the implied warranty of
15
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
16
* Public License for more details
17
*/
18
27
#include <yarp/os/all.h>
28
#include "
behaviorManager.h
"
29
30
using namespace
std
;
31
using namespace
yarp::os
;
32
33
int
main
(
int
argc,
char
*
argv
[])
34
{
35
srand(time(NULL));
36
yarp::os::Network
yarp
;
37
if
(!yarp.checkNetwork())
38
{
39
yError()<<
"YARP network seems unavailable!"
;
40
return
1;
41
}
42
BehaviorManager
mod
;
43
ResourceFinder
rf
;
44
rf.setVerbose(
true
);
45
rf.setDefaultContext(
"behaviorManager"
);
46
rf.setDefaultConfigFile(
"default.ini"
);
47
rf.configure( argc, argv);
48
return
mod.runModule(rf);
49
}
drive_control_gui.argv
argv
Definition:
drive_control_gui.py:6
BehaviorManager
Definition:
behaviorManager.h:12
std
STL namespace.
allostatic_plot.rf
rf
Definition:
allostatic_plot.py:237
yarp
main
int main()
Definition:
main.cpp:32
allostatic_plot.mod
mod
Definition:
allostatic_plot.py:236
behaviorManager.h
os
Generated on Wed Feb 19 2020 23:45:25 for icub-client by
1.8.13