grasp
Main Page
Modules
+
Namespaces
Namespace List
+
Namespace Members
All
Functions
+
Data Structures
Data Structures
+
Data Fields
All
Functions
+
Files
File List
•
All
Data Structures
Namespaces
Functions
Modules
precision-grasp
graspSynthesis
src
main.cpp
1
/* Copyright: (C) 2014 iCub Facility - Istituto Italiano di Tecnologia
2
* Authors: Ilaria Gori
3
* email: ilaria.gori@iit.it
4
* Permission is granted to copy, distribute, and/or modify this program
5
* under the terms of the GNU General Public License, version 2 or any
6
* later version published by the Free Software Foundation.
7
*
8
* A copy of the license can be found in the file LICENSE located in the
9
* root directory.
10
*
11
* This program is distributed in the hope that it will be useful, but
12
* WITHOUT ANY WARRANTY; without even the implied warranty of
13
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
14
* Public License for more details
15
*/
16
205
#include <yarp/os/Network.h>
206
#include <yarp/os/ResourceFinder.h>
207
208
#include "precisionGrasp.h"
209
#include <iCub/grasp/forceClosure.h>
210
211
int
main(
int
argc,
char
*argv[])
212
{
213
yarp::os::Network yarp;
214
215
if
(!yarp.checkNetwork())
216
return
1;
217
218
yarp::os::ResourceFinder rf;
219
rf.setVerbose(
true
);
220
rf.setDefaultContext(
"precision-grasp"
);
221
rf.setDefaultConfigFile(
"config.ini"
);
222
rf.configure(argc,argv);
223
224
PrecisionGrasp mod;
225
226
return
mod.runModule(rf);
227
}
228
Generated by
1.8.12