iCub-main
Loading...
Searching...
No Matches
measuresConverter.h
Go to the documentation of this file.
1// -*- mode:C++; tab-width:4; c-basic-offset:4; indent-tabs-mode:nil -*-
2
3
4/* Copyright (C) 2012 iCub Facility, Istituto Italiano di Tecnologia
5 * Author: Valentina Gaggero
6 * email: valentina.gaggero@iit.it
7 * Permission is granted to copy, distribute, and/or modify this program
8 * under the terms of the GNU General Public License, version 2 or any
9 * later version published by the Free Software Foundation.
10 *
11 * A copy of the license can be found at
12 * http://www.robotcub.org/icub/license/gpl.txt
13 *
14 * This program is distributed in the hope that it will be useful, but
15 * WITHOUT ANY WARRANTY; without even the implied warranty of
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
17 * Public License for more details
18 */
19
20// update comment hereafter
21
38
39
40#include <vector>
41#include <yarp/dev/ControlBoardHelper.h>
42#include <yarp/dev/ControlBoardPid.h>
43
44#ifndef __measureConverterh__
45#define __measureConverterh__
46
48{
49public:
50 std::vector<double> angleToEncoder;
51 std::vector<double> dutycycleToPWM;
52 std::vector<double> ampsToSensor;
53 std::vector<double> newtonsToSensor;
54 std::vector<double> bemf2raw;
55 std::vector<double> ktau2raw;
56
57 measureConvFactors(int numofjoints);
58};
59
60#endif
std::vector< double > newtonsToSensor
std::vector< double > ampsToSensor
measureConvFactors(int numofjoints)
std::vector< double > bemf2raw
std::vector< double > angleToEncoder
std::vector< double > ktau2raw
std::vector< double > dutycycleToPWM