Jens Frank Jensen / Mbed 2 deprecated foc-ed_in_the_bot_compact

Dependencies:   mbed FastPWM3

Committer:
j_f_jensen
Date:
Tue Aug 17 19:22:43 2021 +0000
Revision:
253:a9bf7a9f7fbb
Parent:
220:ff69c230aa6d
test

Who changed what in which revision?

UserRevisionLine numberNew contents of line
bwang 220:ff69c230aa6d 1 #ifndef __CURRENT_MODEL_H
bwang 220:ff69c230aa6d 2 #define __CURRENT_MODEL_H
bwang 220:ff69c230aa6d 3
bwang 220:ff69c230aa6d 4 class CurrentModel {
bwang 220:ff69c230aa6d 5 public:
bwang 220:ff69c230aa6d 6 CurrentModel(float Lr, float Rr, float fsw);
bwang 220:ff69c230aa6d 7 float getFluxPosition(float id, float iq, float w);
bwang 220:ff69c230aa6d 8 private:
bwang 220:ff69c230aa6d 9 float _tauinv;
bwang 220:ff69c230aa6d 10 float _tsw;
bwang 220:ff69c230aa6d 11
bwang 220:ff69c230aa6d 12 float _im, _theta;
bwang 220:ff69c230aa6d 13 };
bwang 220:ff69c230aa6d 14
bwang 220:ff69c230aa6d 15 #endif