Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
rtc
ThermoEstimator
MotorHeatParam.h
Go to the documentation of this file.
1
// -*- C++ -*-
10
#ifndef MOTOR_HEAT_PARAM_H
11
#define MOTOR_HEAT_PARAM_H
12
13
14
// </rtc-template>
15
class
MotorHeatParam
16
{
17
public
:
18
// Tnew = T + (P - ((T - Ta) / R) * dt) / C
19
// = T + ((Re*K^2/C) * tau^2) + ((1/RC) * (T - Ta) * dt)
20
// * P = Re * I^2 = Re * (K * tau)^2
21
22
double
temperature
;
// current temperature
23
double
currentCoeffs
;
// Re*K^2/C
24
double
thermoCoeffs
;
// 1/RC
25
26
MotorHeatParam
(){
27
defaultParams
();
28
}
29
30
// default params for motor heat param
31
void
defaultParams
(){
32
temperature = 30.0;
33
currentCoeffs = 0.00003;
34
thermoCoeffs = 0.001;
35
}
36
37
};
38
39
#endif // MOTOR_HEAT_PARAM_H
MotorHeatParam::temperature
double temperature
Definition:
MotorHeatParam.h:22
MotorHeatParam::MotorHeatParam
MotorHeatParam()
Definition:
MotorHeatParam.h:26
MotorHeatParam
Definition:
MotorHeatParam.h:15
MotorHeatParam::currentCoeffs
double currentCoeffs
Definition:
MotorHeatParam.h:23
MotorHeatParam::thermoCoeffs
double thermoCoeffs
Definition:
MotorHeatParam.h:24
MotorHeatParam::defaultParams
void defaultParams()
Definition:
MotorHeatParam.h:31
hrpsys
Author(s): AIST, Fumio Kanehiro
autogenerated on Thu May 6 2021 02:41:50