Loading [MathJax]/extensions/tex2jax.js
iCub-main
Toggle main menu visibility
Main Page
Related Pages
Topics
Namespaces
Namespace List
Namespace Members
All
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
y
z
Functions
a
c
d
e
f
g
i
l
m
n
o
p
q
r
s
t
u
v
w
y
Variables
a
b
c
d
e
h
i
j
l
m
n
p
r
s
t
w
z
Typedefs
Enumerations
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
p
q
r
s
t
u
v
w
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
Enumerations
a
b
c
e
g
i
l
n
p
r
s
t
u
Enumerator
a
b
c
d
e
f
g
i
l
m
p
r
s
t
u
Properties
Related Symbols
a
b
c
g
i
l
o
q
r
s
t
w
Files
File List
File Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
u
v
w
z
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
v
w
x
y
z
Typedefs
Enumerations
Enumerator
_
a
c
d
e
g
j
m
n
p
s
Macros
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Modules
Pages
Loading...
Searching...
No Matches
icub-main
src
libraries
icubmod
embObjMotionControl
measuresConverter.cpp
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
* Authors: Valentina Gaggero
6
* CopyPolicy: Released under the terms of the LGPLv2.1 or later, see LGPL.TXT
7
*
8
*/
9
10
#include "
measuresConverter.h
"
11
12
13
14
measureConvFactors::measureConvFactors
(
int
numofjoints)
15
{
16
angleToEncoder
=
new
double
[numofjoints];
17
dutycycleToPWM
=
new
double
[numofjoints];
18
ampsToSensor
=
new
double
[numofjoints];
19
newtonsToSensor
=
new
double
[numofjoints];
20
bemf2raw
=
new
double
[numofjoints];
21
ktau2raw
=
new
double
[numofjoints];
22
}
14
measureConvFactors::measureConvFactors
(
int
numofjoints) {
…
}
23
24
measureConvFactors::~measureConvFactors
()
25
{
26
if
(
angleToEncoder
)
delete
[]
angleToEncoder
;
27
if
(
dutycycleToPWM
)
delete
[]
dutycycleToPWM
;
28
if
(
ampsToSensor
)
delete
[]
ampsToSensor
;
29
if
(
newtonsToSensor
)
delete
[]
newtonsToSensor
;
30
if
(
bemf2raw
)
delete
[]
bemf2raw
;
31
if
(
ktau2raw
)
delete
[]
ktau2raw
;
32
33
angleToEncoder
=
nullptr
;
34
dutycycleToPWM
=
nullptr
;
35
ampsToSensor
=
nullptr
;
36
newtonsToSensor
=
nullptr
;
37
ktau2raw
=
nullptr
;
38
bemf2raw
=
nullptr
;
39
}
24
measureConvFactors::~measureConvFactors
() {
…
}
40
measureConvFactors::newtonsToSensor
double * newtonsToSensor
Definition
measuresConverter.h:52
measureConvFactors::ktau2raw
double * ktau2raw
Definition
measuresConverter.h:54
measureConvFactors::measureConvFactors
measureConvFactors(int numofjoints)
Definition
measuresConverter.cpp:14
measureConvFactors::~measureConvFactors
~measureConvFactors()
Definition
measuresConverter.cpp:24
measureConvFactors::angleToEncoder
double * angleToEncoder
Definition
measuresConverter.h:49
measureConvFactors::bemf2raw
double * bemf2raw
Definition
measuresConverter.h:53
measureConvFactors::dutycycleToPWM
double * dutycycleToPWM
Definition
measuresConverter.h:50
measureConvFactors::ampsToSensor
double * ampsToSensor
Definition
measuresConverter.h:51
measuresConverter.h
Generated on Tue May 6 2025 15:42:05 for iCub-main by
1.9.8