Modified Motor Driver Firmware to include Flash + Thermal
Dependencies: FastPWM3 mbed-dev-STM-lean
loops.cpp@36:d88fd41f60a6, 2018-03-02 (annotated)
- Committer:
- benkatz
- Date:
- Fri Mar 02 15:24:00 2018 +0000
- Revision:
- 36:d88fd41f60a6
- Parent:
- 24:58c2d7571207
updated mbed-dev to latest version, fixing 16-bit spi issues
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
benkatz | 22:60276ba87ac6 | 1 | #include "loops.h" |
benkatz | 24:58c2d7571207 | 2 | #include "foc.h" |
benkatz | 24:58c2d7571207 | 3 | |
benkatz | 24:58c2d7571207 | 4 | void pd1(float p_des, float v_des, float kp, float kd){ |
benkatz | 24:58c2d7571207 | 5 | |
benkatz | 24:58c2d7571207 | 6 | } |
benkatz | 24:58c2d7571207 | 7 | void pd2(float p_des, float kp, float kd); |
benkatz | 24:58c2d7571207 | 8 | |
benkatz | 24:58c2d7571207 | 9 | void torque(float t){ |
benkatz | 24:58c2d7571207 | 10 | } |