robot

Dependencies:   FastPWM3 mbed

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers CurrentModel.h Source File

CurrentModel.h

00001 #ifndef __CURRENT_MODEL_H
00002 #define __CURRENT_MODEL_H
00003 
00004 class CurrentModel {
00005 public:
00006     CurrentModel(float Lr, float Rr, float fsw);
00007     float getFluxPosition(float id, float iq, float w);
00008 private:
00009     float _tauinv;
00010     float _tsw;
00011     
00012     float _im, _theta;
00013 };
00014 
00015 #endif