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
handIKModule
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
79
#include <iostream>
80
#include <fstream>
81
#include <sstream>
82
#include <vector>
83
#include <stdio.h>
84
#include <stdlib.h>
85
#include <yarp/os/Time.h>
86
#include <yarp/os/ResourceFinder.h>
87
#include <yarp/sig/all.h>
88
#include <iCub/ctrl/math.h>
89
#include "handIKModule.h"
90
91
using namespace
std
;
92
using namespace
yarp::os
;
93
using namespace
yarp::sig
;
94
using namespace
yarp::math
;
95
using namespace
iCub::ctrl
;
96
97
int
main(
int
argc,
char
*argv[])
98
{
99
yarp::os::Network yarp;
100
if
(!yarp.checkNetwork())
101
return
1;
102
103
yarp::os::ResourceFinder rf;
104
rf.setVerbose(
true
);
105
rf.setDefaultContext(
"handIK"
);
106
rf.setDefaultConfigFile(
"contactPoints_fitness1.ini"
);
107
rf.configure(argc,argv);
108
109
HandIKModule mod;
110
mod.runModule(rf);
111
112
return
0;
113
}
114
115
math
ctrl
std
os
sig
Generated by
1.8.12