test
Dependencies: mbed-dev-f303 FastPWM3
Config/motor_config.h@20:bf9ea5125d52, 2017-03-02 (annotated)
- Committer:
- benkatz
- Date:
- Thu Mar 02 15:31:23 2017 +0000
- Revision:
- 20:bf9ea5125d52
- Child:
- 22:60276ba87ac6
Compact version works.;
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
benkatz | 20:bf9ea5125d52 | 1 | #ifndef MOTOR_CONFIG_H |
benkatz | 20:bf9ea5125d52 | 2 | #define MOTOR_CONFIG_H |
benkatz | 20:bf9ea5125d52 | 3 | |
benkatz | 20:bf9ea5125d52 | 4 | #define R_PHASE 0.1f |
benkatz | 20:bf9ea5125d52 | 5 | #define L_D 0.00003f |
benkatz | 20:bf9ea5125d52 | 6 | #define L_Q 0.00003f |
benkatz | 20:bf9ea5125d52 | 7 | |
benkatz | 20:bf9ea5125d52 | 8 | #define R_TOTAL 1.5f*R_PHASE |
benkatz | 20:bf9ea5125d52 | 9 | #define NPP 21 |
benkatz | 20:bf9ea5125d52 | 10 | |
benkatz | 20:bf9ea5125d52 | 11 | |
benkatz | 20:bf9ea5125d52 | 12 | #endif |