icub-client
src
modules
reactiveLayer
homeostasis
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
19
/*
20
21
Handle the integration of all sensors and reactions of the robot.
22
The robot is reacting to tactile stimuli, gestures, voice and joystick inputs.
23
It also includes the subscenarios of Pon, DJ, and Tic Tac Toe.
24
25
*/
26
27
#include <yarp/os/all.h>
28
#include "
homeostasisManagerIcub.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
HomeostaticModule
mod
;
43
ResourceFinder
rf
;
44
rf.setVerbose(
true
);
45
rf.setDefaultContext(
"homeostasis"
);
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
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
homeostasisManagerIcub.h
os
HomeostaticModule
Definition:
homeostasisManagerIcub.h:18
Generated on Wed Feb 19 2020 23:45:25 for icub-client by
1.8.13