icub-client
src
modules
reactiveLayer
allostaticController
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 "
allostaticController.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
43
AllostaticController
mod
;
44
ResourceFinder
rf
;
45
rf.setVerbose(
true
);
46
rf.setDefaultContext(
"allostaticController"
);
47
rf.setDefaultConfigFile(
"default.ini"
);
48
rf.configure( argc, argv);
49
return
mod.runModule(rf);
50
}
drive_control_gui.argv
argv
Definition:
drive_control_gui.py:6
std
STL namespace.
allostatic_plot.rf
rf
Definition:
allostatic_plot.py:237
yarp
main
int main()
Definition:
main.cpp:32
allostaticController.h
allostatic_plot.mod
mod
Definition:
allostatic_plot.py:236
os
AllostaticController
Definition:
allostaticController.h:86
Generated on Wed Feb 19 2020 23:45:25 for icub-client by
1.8.13