Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
CurrentModel/CurrentModel.h@253:a9bf7a9f7fbb, 2021-08-17 (annotated)
- 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?
| User | Revision | Line number | New 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 |